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

Toggle /pay modifiers in config #5495

Open
AjMaacc opened this issue Aug 26, 2023 · 0 comments · May be fixed by #5638
Open

Toggle /pay modifiers in config #5495

AjMaacc opened this issue Aug 26, 2023 · 0 comments · May be fixed by #5638
Labels
type: enhancement Features and feature requests.

Comments

@AjMaacc
Copy link

AjMaacc commented Aug 26, 2023

Feature description

I am suggesting adding a config line to enable/disable the /pay modifiers for 1 thousand, 1 million, 1 billion, and 1 trillion.
I already have this tested and ready to pr, but I read that this feature had to be requested first.

How the feature is useful

This would, in my case, prevent players from scamming each other by convincing them that you can pay another currency to a player by adding the currency name afterwards.
For example. Our second currency is gems, so when a player runs /pay 1gem then they would pay the player 1,000,000 because the pay command checks for the last character and compares it with the available modifiers.
My PR would also fix this by checking for the first char after the number instead of the last.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
1 participant