Placeholder that verify permission based on given world context
lucko opened this issue · 2 comments
lucko commented
Taken from LuckPerms/LuckPerms#838
It's possible to implement a PlaceHolder that verify permission giving a specific World context?
Example: %luckperms_check_permission_world%
I'm building a DeluxeMenu and this would make possible to hide some stuff based on permission that players may have multiple times in different worlds context, every permission in every world may be equal but it means different things for my logic on this menu that I'm building! Hence the need for World context placeholder!
lucko commented
There's no easy way to accept more than one argument within a single placeholder string.
I don't really like the idea of just adding more delimiters. :/