Group add/del/set permission nodes
jfernandz opened this issue · 8 comments
I think the commands
pex user <user> group add <group> [world] [lifetime]
pex user <user> group remove <group> [world]
pex user <user> group set <group> [world]
Should be managed by different permission nodes, or at least add
/remove
should be different node of set
. I'm using an invitation system so my citizens users can set new people in Citizens group, but in this way also they can remove them, that could be problematic if the citizens fight between them. My idea is what citizens can add their friends if they enter the server for first time but a moderator intervention be required to remove the user from citizens group.
One way what I've thought to workaround the issue is create visitor group and use promote
/demote
commands but that's much more messy to people, who should performance several commands.
What do you think? thank you for the interest.
The very blunt answer is: Don't give out admin-level commands to non-admins.
You're actually better off using plugins like AutoRank to let users promote themselves without having any access to PEX commands. AutoRank will let users see what they need to do to be promoted to the next rank and they can use an AutoRank command to accomplish their own promotion once they qualify.
You can choose from an almost limitless number and variety of requirements for the user to be promoted.
For example, I required users to have played on the server for a month (not including AFK time), voted 30 times, and they had to have a stack of gold blocks (which they could acquire in multiple ways— like mining, nether farming, buying gold nuggest/ingots/blocks from the admin shop) to promote themselves to "Noble" (where they could then own land and start their own town) on my server.
It's still valid, because citizens cannot promote to citizens the people in visitors default group.
This has already been suggested multiple times and is on the list of things @zml2008 might do if he gets bored.
@Stormbow what do you recommend me to manage this?
@Stormbow thank you so much :)