Gives those with permission admin status on connect and/or on command

Supported Games
GameServerKingsGameServerKings

Admin Status Toggle with allow players with a permission to be given admin flags, admin group, a higher auth level, and "admintime 12" upon connecting. There is also a seperate permission to toggle this on and off at will.

Permissions

  • adminstatusmanager.auto - Allows players with permission to automatically recieve admin details.
  • adminstatusmanager.use - Allows players with permission to use the commands. Valid commands can be changed in config.

Commands

  • /(admin/toggle) - Allows you to turn toggle admin status on or off.

Configuration

{
  "Valid Commands": [
    "toggle",
    "admin"
  ],
  "Automatically Give Admin": false,
  "Default Time for Admins When Joining": 12.0
}

Localization

{
  "ToggledOn": "Admin permissions toggled <color=green>ON</color>. Turn off with ({commands})",
  "ToggledOff": "Admin permissions toggled <color=red>OFF</color>. Turn on with ({commands})",
  "NotClient": "This command is meant to be run from a client, not the console.",
  "NoPerm": "You don't have the permissions to use this command."
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.