Shorthand
ShockCharge opened this issue ยท 3 comments
Description
/lp user ShockCharge permission unset "example.{1-3}"
/lp user ShockCharge permission unset example.{1-3}
Reproduction Steps
N/A
Expected Behaviour
I give example.1 for blue, but there's 16 colors in minecraft, so another action gets triggered and it will give me example.2. However, example.1 and other example permissions will be cleared.
Server Details
git-Purpur-1171 (MC: 1.16.5)
LuckPerms Version
v5.4.46
Logs and Configs
N/A
Extra Details
Instead of the shorthand i tried using the unsightly way which is putting 16 commands of unset permission from example1 to example16, and runs another command which gives the example number based on the action. Then it had 1 small issue, which was the delay in running commands in Luckperms.
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.23 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.24 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.25 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.26 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.27 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.28 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.29 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.30 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.31 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.32 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.33 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.34 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.35 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.36 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.37 set in context server=true.
[05:26:29 INFO]: [LP] shockcharge does not have cmi.chatgroup.38 set in context server=true.
Seems like something else is expanding the shorthand? As shown in the wiki, you should just apply that node, and it will get expanded by LuckPerms when the permission check is made.
if im reading the issue correctly, the problem isnt setting permissions with shorthand, its unsetting them with shorthand.