LuckPerms

LuckPerms

41.4k Downloads

Suggestion: Placeholder that counts each permission

Yertled opened this issue ยท 2 comments

commented

Description

Hey! I would love to use a placeholder that counts how many players have X permission. I want to make a placeholder that counts how many players have a certain tag (tags.XXXX) permission.
So it would say like "81 players have XXXX tag!"
but the placeholder would be "%luckperms_count_permission_tags.XXXX%" or something.

Would love it <3

Proposed Behaviour

Look up

Extra Details

No response

commented

The repo for the PlaceholderAPI expansion is located at https://github.com/LuckPerms/placeholders

commented

its not really feesable to do this as it would require either loading every player to see if they have the node (which would be very expensive), or having a dedicated system for counting how many players have a node which could easily be inaccurate if you wantted to include temporary nodes

you are probably better off using a real tags plugin for tags than trying to use luckperms to do it