This idea came to me when discussing something with Wolftopia, and they mentioned that commands can be a risk when playing with some people, so you don't just want to give anyone Operator status. I'm sure this idea comes in lots of plugins but it seems like such a natural fit for managing servers I'm surprised it isn't in Vanilla. The command syntax is:
/rank <add/remove/modify/set> [additional information depending on which part of the command is used]
/rank add <name of rank> [commands and other settings for rank]
This is used to create a rank. You give it a name and you can list commands that can be used by that rank and other settings, like the gamemode for people in this rank. For example you can make a "Jail" rank that puts someone in Adventure mode, removes their ability to talk in chat or via private message, and things like that.
/rank remove <name of rank>
/rank modify <name of rank> [revised commands and other settings for rank]
For things like Gamemode, it updates to whatever you set it to. For commands, it cycles between adding and removing them. If /tp was disabled for a rank and you put it in the modify command, the rank will now be able to use it. If the rank can use /tp and you put it in the modify command, the rank loses the ability to use it.
Set a Player's Rank
/rank set <player> <name of rank>
Puts the player in whichever rank you tell it to.
All players would be put into a rank called "default" when joining a server. The /op command could be replaced with an "operator" rank with all commands. /ability, if implemented into Java Edition, could be rolled directly into this command.
This allows some players to have some command access without full operator commands, like if you want a player to be able to teleport players but you don't want them to be able to kill them (sure they could just teleport them really high but still).
Rollback Post to RevisionRollBack
Want some advice on how to thrive in the Suggestions section? Check this handy list of guidelines and tips for posting your ideas and responding to the ideas of others!
I don't know if this is all that necessary considering many server plugins already do this, and multiplayer never was meant to be the focus of the game. Still, this would be useful for less experienced server owners. I could also see this being used
Adds something useful, takes away nothing: Support
fishg's point about the functionality being available elsewhere is well taken, but I can see advantage in coding this into Vanilla as it means one less bit that can break due to mod-mod interaction. (Theoretically, all the mod writers would be aware of any requirements of a Vanilla version.)
Rollback Post to RevisionRollBack
WARNING: I have an extemely "grindy" playstyle; YMMV — if this doesn't seem fun to you, mine what you can from it & bin the rest.
Well, I support the idea (what I mean, is that I could be improved, as some people mentionned above), it would look quite simple... And, yeah, this way, you shouldn't have to add plugins to manage perms for simple use...
This would be perfect for small servers, and very useful if you just want to be able to /tp to your friend. It would also reduce the need for plug-ins, which is always great; it's easier to do something when it is in the vanilla game.
Would you be able to make certain ranked players unable to mine certain blocks or attack certain mobs? Also, would there be a way to make certain ranks only apply to players when they are in a specified area?