YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
98 stars 34 forks source link

[Suggestion] Permission or config to toggle payments #23

Closed TKwSni closed 3 years ago

TKwSni commented 3 years ago

Would it be possible to add a permission node or some config to deny players receiving money via /pay?

I'm trying to avoid players getting pay when they join the server for the first time until they reach some level.

YiC200333 commented 3 years ago

yes, you can remove the permission "xconomy.user.pay" to avoid player use the pay command

TKwSni commented 3 years ago

Yes but that node is for the command executor, I mean when layer1 executes "/pay player2 10" for example

xconomy checks if player2 has permission to receive money, if not, then not pay.

but if this breaks something because of offline checks of players and semi premium option, then better ignore this suggestion.

YiC200333 commented 3 years ago

u want to have a permission to limit players to receive money from other player?

TKwSni commented 3 years ago

Yes

YiC200333 commented 3 years ago

I will add this function at the next version

YiC200333 commented 3 years ago

This function may not complete, I do not how to check the permissions of offline players at present

YiC200333 commented 3 years ago

2.9.14 version will support this function, but it require to install Luckperms plugins