Version 1.1.2
17 downloads
True Staff Toggle
Highly customizable staff toggle plugin. With this plugin, you can allow players to switch between AuthLevel 0 and the AuthLevel they joined with. Additionally, each specific staff group can have a separate on-duty group attached to it. No more one on-duty group for everyone.
Chat Commands
/duty - Toggles OnDuty Status (Calls truestafftoggle.duty console command.)
/auth - Toggles AuthLevel Status (Calls truestafftoggle.auth console command.)
Console Commands
truestafftoggle.duty
truestafftoggle.auth
Permissions
truestafftoggle.useduty - Permission to use the /duty chat & console command.
truestafftoggle.useauth - Permission to use the /auth chat & console command.
Default Configuration
{
"Debug Mode": false,
"Steam User Icon ID": 0,
"Staff Groups - Should be 'maingroupname': 'maingroupname_onduty'": {
"groupname1": "groupname1_onduty",
"groupname2": "groupname2_onduty"
},
"Auto Auth On Duty - Bumps the staff up to their authlevel granted in the server config.": false,
"Log Duty Toggle": false,
"Log Auth Toggle": false
}
Localization
{
"AuthToggleOn": "You have been put into AuthLevel {0}",
"AuthToggleOff": "You have been taken out of AuthLevel",
"OnDuty": "You are now on duty.",
"OffDuty": "You are now off duty.",
"NoPermission": "You do not have permission to run this command!",
"NoAuthLevel": "You do not have any auth levels assigned to you."
}
WIP
I plan to add Discord Webhook support for logging status changes.
Currently in the testing phase is: Simple/Advanced Status Compatibility.