EssentialsX

EssentialsX

2M Downloads

Toggle /pay modifiers in config

AjMaacc opened this issue ยท 0 comments

commented

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.