AdminTokens
Overview
This plugin allows you to create some AdminTokens with specific permissions or just op-rights. If somebody uses this AdminToken, he will get the permissions. There are two different types of AdminTokens: temporary and permanent. If you use a temporary AdminToken, you will have the permissions until you log out. If you use a permanent AdminToken, you will never loose your permissions.
Commands
Players
- /token - Shows general informations
- /token use - Use an AdminToken to get permissions from this AdminToken
Admins only
- /token create <random | ID> <temporary | permanent> <permission1;permission2;...> - Create a new AdminToken. Leave <permission...> for an OP-Token empty!
- /token remove <ID> - Remove an AdminToken
- /token show - Show all AdminTokens, which are not already used
- /token permission <ID> - Show the permissions, which you will get when you use this AdminToken
- /token type <ID> - Show the type of the AdminToken
Permissions
| Permission | Effect |
|---|---|
| at.* | Allows you to use 'Admins only' and 'Players' commands(Look at Commands) |
| at.use | Allows you to use an AdminToken |
| at.create | Allows you to create an AdminToken |
| at.remove | Allows you to remove an unused AdminToken |
| at.permission | Allows you to see the permissions of an AdminToken |
| at.type | Allows you to see the type of an AdminToken |
Config
Quote:Config:
enable the plugin(true)/disable the plugin(false)
enabled: true
Token:
length of AdminToken with argument random
automaticTokenLength: 16
minimal allowed length of custom AdminTokens
minimalTokenLength: 12
maximal allowed length of custom AdminTokens
maximalTokenLength: 24
MySQL:
host: localhost
port: '3306'
database: admintokens
user: root
password: password
Install Notes, IMPORTANT!
1.) This plugin needs MySQL! Make sure that the databse, which you've entered in the config.yml, exists and to have full access to the MySQL-database!
2.) Copy the Plugin into your plugins-folder
3.) Start the server and stop it
4.) Edit the AdminTokens-Config for your server, especially the MySQL-part!
5.) Start the server again
PS: Thanks for using my plugins :) And sorry for my bad english :P
Comments