LuckPerms

LuckPerms

41.4k Downloads

Can't add prefixes/suffixes with a period from the web editor

Turbotailz opened this issue ยท 1 comments

commented

Try add a prefix in the web editor prefix.100."test.prefix" then apply the edits, the period will be escaped like "test\.prefix"

If you try to add the prefix in a command then it works fine /lp group <group> meta setprefix 100 "test.prefix"

The data returned from the web editor does not include an escaped period.

commented



Seems to be working as intended - the escaping is performed by LuckPerms on the plugin side, but it accepts input from the web editor in a non-escaped format too.

For prefixes it is not a big deal, since the weight section cannot contain a . anyway - it's more important for meta nodes...

  • meta.magic.property.yes --> key: magic, value: property.yes
  • meta.magic\.property.yes --> key: magic.property, value: yes
  • meta.magic.property\.yes --> key: magic, value: property.yes