Removed the mechanic where you have to use /role set!
It's in now more simple now, all you have to do is give the permission to the player and then use /duty!
But ATTENTION! If you already downloaded this make sure you delete the duty plugin's folder, because it now will generate a new!(It's recomended to save all the players to save their inventories!)
Added a new messages file, so now you can edit your messages!
Added NEW features in config file! (Gui edit)
Bug fixes
Fixed the bug where sometimes /duty didn't worked
More smooth
Fixed the bug (Added feature) where when a player had more group and used /duty it only gave 1 group back
Attention!
For this plugin you should have the Vault plugin installed!
This plugin only works with LuckPerms right now, and it won't work with any other group management plugin.
It's a duty plugin, good for survival, fullpvp, etc servers.
You can switch between your actual rank, and between the default rank, so you don't have to switch manually, and don't have to save your items in a chest because it saves them.
The plugin saves the following things:
Hunger
Saturation
Health
Experience
Invbentory
Armor slot
Potion effects (With the exact time)
Gamemode
Location
etc..
The old 'Read me!' - You don't have to use this anymore, only in the oler versions!
Read me!
When you first download the plugin, you should set it. It's automatically, in the game you just have to click a few.
First, the plugin will ask you the Default rank's name, and then what should the other duty-rank's name be.
The duty-rank is a newly created rank, that know exact the same as the Default rank on the server, except it has the /duty permission.
When the player leave from duty mode, he will get that rank, instead of the regular default rank, so he can use the command again.
For setting the role, you will use the /role command, instead of the editor or the regular command of the LuckPerms, because then it saves the data to a file. If you don't use this command, the plugin won't work.
After you set the role of a player, he will stay in default rank, and from then he can use /duty to enter in his/her Staff rank
Commands
/duty - Toggle duty on/off
Old /role command:
/role - You should set players rank with this command