LuckPerms

LuckPerms

981k Downloads

Suggestion: %luckperms_in_group% enhancement

Closed this issue ยท 3 comments

commented

Description

Implement a feature to support PAPI placeholder for %luckperms_in_group%

Example:
%luckperms_in_group_{luckperms_meta_guiSelection}%

Proposed Behaviour

Example (CommandPanels):

        has0:
          value0: "no"
          compare0: "%parseother_{{cp-player}}_{luckperms_in_group_{luckperms_meta_guiSelection}%"
          material: black_stained_glass_pane
        has1:
          value0: "yes"
          compare0: "%parseother_{{cp-player}}_{luckperms_in_group_{luckperms_meta_guiSelection}%"
          material: composter
          name: '&fClick to unset &7%luckperms_meta_guiSelection%'
          commands:
          - rightshift= console= lp user %cp-player% parent remove %luckperms_meta_guiSelection%
          - rightshift= console= lp user %cp-player% parent removetemp %luckperms_meta_guiSelection%
          - rightshift= console= lp user %cp-player% parent add default

Extra Details

Why Implement?
- Useful for configuring the PAPI placeholder for GUI plugin like DeluxeMenus/ComamndPanels and such

commented

there are PAPI expansions that let you do recursive parsing like this

commented

there are PAPI expansions that let you do recursive parsing like this

most of them doesn't do such a thing except ChangeOutput which allows manual task but still not a dynamic one

commented

just imagine some lazy ass even with ConditionalTextPlaceholder plugin or ChangeOutput expansion and they dw to do it manually, LuckPerms will be a good solution for them if placeholders works dynamically