You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: