Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new placeholder. #52

Open
samparotony228 opened this issue Sep 16, 2023 · 2 comments
Open

Adding a new placeholder. #52

samparotony228 opened this issue Sep 16, 2023 · 2 comments

Comments

@samparotony228
Copy link

samparotony228 commented Sep 16, 2023

Description

Hello dear developer. Currently there is a placeholder "%luckperms_meta_weight%" which displays the weight of the current group in number format. Is there a placeholder where I can specify a specific group name to check its weight?

Proposed Behaviour

For example, something like this: "%luckperms_meta_weight_{group}%"

Extra Details

If this does not exist yet, this will be a very useful thing for creating functions/commands where you can compare the weights of groups through conditions.

@BNTFryingPan
Copy link

when making commands, you should be using the api to make requests like this

@samparotony228
Copy link
Author

when making commands, you should be using the api to make requests like this

I make a command through a plugin, I don't create the plugin itself.

@lucko lucko transferred this issue from LuckPerms/LuckPerms Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants