[Mod] Ranking mod [rank]
The rank mod provides the ability to assign ranks to players with quick and easy commands. I made this mod to meet my own need on my server, and I thought it would be helpful to others, even in it's current state of simplicity.
Ranks in the context of this mod are basically just sets of privs that are applied to a player. The ranks are defined in a lua file used for configuration. The mod also has a sort of authorization system that allows only admins to grant high level ranks, but also allows lower ranked players to grant ranks lower than their own. In the default configuration there are three tiers of authority to grant ranks: the third tier which should only be given to admins/owners and allows any rank to be given, the second tier which is only given to subadmins allows assigning any rank except subadmin, and the first tier only allows upgrading a guest to a normal player.
It is important to note that there is no admin rank, that is accomplished to granting all privileges and is too easily accomplished by /grant player all to be part of the ranking system. Another very important concept with the ranking system is that only the admin should ever have the priv privilege (abillity to use /grant), because any other level of player having that would undermine the whole ranking system. The authority level is simply stored as a privilege, for example with the default configuration the authorization privs are lvl1, lvl2, and lvl3, with lvl3 being the highest tier. Another important thing to note is that only the highest lvl priv a player has will be taken into account by the mod.
I plan on extending it so that the mod keeps track of the assigned rank of each player and update the players privs if any change in made to the configuration file.
I will add a proper readme in the github repository later, but for now I'll just add the usage information here.
Commands:
/rank <player> <rankname> --- Set the rank of player to rank if you have proper permission
/ranks ---list all available ranks, required rank to assign and associated privileges.
The default ranks included are:
* annoyance
* guest
* normal
* plus
* builder
* moderator
* subadmin
Download at: https://github.com/fyregryph/rank
Licence: CC0 (why doesn't anyone here ever use this licence?)
Ranks in the context of this mod are basically just sets of privs that are applied to a player. The ranks are defined in a lua file used for configuration. The mod also has a sort of authorization system that allows only admins to grant high level ranks, but also allows lower ranked players to grant ranks lower than their own. In the default configuration there are three tiers of authority to grant ranks: the third tier which should only be given to admins/owners and allows any rank to be given, the second tier which is only given to subadmins allows assigning any rank except subadmin, and the first tier only allows upgrading a guest to a normal player.
It is important to note that there is no admin rank, that is accomplished to granting all privileges and is too easily accomplished by /grant player all to be part of the ranking system. Another very important concept with the ranking system is that only the admin should ever have the priv privilege (abillity to use /grant), because any other level of player having that would undermine the whole ranking system. The authority level is simply stored as a privilege, for example with the default configuration the authorization privs are lvl1, lvl2, and lvl3, with lvl3 being the highest tier. Another important thing to note is that only the highest lvl priv a player has will be taken into account by the mod.
I plan on extending it so that the mod keeps track of the assigned rank of each player and update the players privs if any change in made to the configuration file.
I will add a proper readme in the github repository later, but for now I'll just add the usage information here.
Commands:
/rank <player> <rankname> --- Set the rank of player to rank if you have proper permission
/ranks ---list all available ranks, required rank to assign and associated privileges.
The default ranks included are:
* annoyance
* guest
* normal
* plus
* builder
* moderator
* subadmin
Download at: https://github.com/fyregryph/rank
Licence: CC0 (why doesn't anyone here ever use this licence?)