LuckPerms

LuckPerms

41.4k Downloads

Disallow empty permission node

benwoo1110 opened this issue ยท 0 comments

commented

Description

I have seen instances in support that ppl doing something like: (discord reformats the spacing so here is a screenshot)
image

Notice the 2 spaces between set and permnode? It results in setting an empty permission node with context server=permnode and world=true

Reproduction steps

  1. Run any permission set command like this: /lp user ben permission set permnode true
  2. And empty permission with weird context is set.

Expected behaviour

I suggest disabling the ability of setting an empty permission node.

Environment details

  • Server type/version: Paper 1.16.5 b560
  • LuckPerms version: v5.3.16

Any other relevant details

nil