Hook into LuckPerms to fix duplicate permission keying for better stack_permission_limits handling #542
Labels
type: feature request
This issue is about a new feature or request
type: hook
This issue relates to an internal plugin hook
My setup
All players start with
huskhomes.max_homes.10
and they can improve their account by doing many tasks.The problem
There would be more than one in-game reward granting +1 home limit to the player;
LuckPerms will ignore duplicated permission nodes, so having two entries of
huskhomes.max_homes.1
will not do the trickMy solution
Named bonuses! We define it the
config.yml
or in another file, your preference;It would work as follows:
Then we grant the player
huskhomes.bonuses.<eventName>
:So i would have more flexibility to plan player limits
Note
I just found out that doing
![image](https://private-user-images.githubusercontent.com/89689590/293485626-7975e665-0cd7-4047-a168-9cc3c02e4671.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNjYyNzEsIm5iZiI6MTcyMDA2NTk3MSwicGF0aCI6Ii84OTY4OTU5MC8yOTM0ODU2MjYtNzk3NWU2NjUtMGNkNy00MDQ3LWExNjgtOWNjM2MwMmU0NjcxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA0MDYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYxYThiMTVjYzIzOThjY2I0ZmRjNjFiZTE0NjQzMmMxOWVjMWI4YTVjYjA4NDY1Nzc2MDQ1MzM2OGU5YmU5NmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.l8nEalnBYv_nkV7NvVZIK5TIUebvkRjeY2FEik80SO8)
works as i need it working, but not very classy nor organizated.
I appreaciate this plugin very much, i want to thank you again for making possible to bulk delete from specific worlds!
The text was updated successfully, but these errors were encountered: