Sueta
RA

RankToggle

1.1.0

Allow the player to toggle a rank on and/or off.

·Plugin

RankToggle allows you to give a player a permission which allows them to add or remove a certain rank themselves. This is useful for a couple of scenarios. The first scenario is if you have a moderator that would like to play the game as a normal player. You would first make sure that they have the normal player rank. Then you give them the ranktoggle.use and ranktoggle.mod (assuming the moderator rank is called "mod") permissions. Now they can use "/rankoff mod" to remove their mod rank and play like a normal player. But then when they want to do moderation duties they can do "/rankon mod" and they will then have the mod rank again. The other scenario is if you want to test different ranks you have on your server this plugin allows you to change ranks quicker than typing out the whole permissions command. Just give yourself ranktoggle.use and the ranktoggle.<rankname> for each rank you want to test. Then you can toggle each rank as needed to test permissions for that rank as you do stuff. There are likely other ways that you could use it by adding certain ranks to other ranks allowing players to choose their own rank path.

Commands:

rankon:

description: Lets a player toggle a rank on.
usage: /<command> <rank>
aliases: ron
permission: ranktoggle.use and ranktoggle.<rankname>

rankoff:

description: Lets a player toggle a rank off.
usage: /<command> <rank>
aliases: roff
permission: ranktoggle.use and ranktoggle.<rankname>

Requirements:

Luckperms or PremissionsEx

Similar projects

Plugin →