Description
CommandQueue is a plugin designed for staff members to execute a command on a certain player's join.
Features
[
+ ] Simplified commands & customize-able permissions
[
+ ] MySQL Support
[
+ ] Supports offline servers
[
+ ] Fast support (Sage#9591 on Discord)
[
+ ] API for developers
Commands
/CommandQueue <player> <command>
Permissions
commandqueue.admin - Main permission node
commandqueue.notify - Staff Notify permission node
Config
Spoiler: Config.yml
Code (YAML):
#Database details (Currently only supports MySQL
database :
type
: mysql
mysql :
host
: 127.0.0.1
port
: 3306
databasename
: 'CommandQueue'
user
: 'admin'
password
: 'pa$$w0rd'
sslenabled
: false
messaging :
notify-staff :
enabled
: true
format
:
"&e&lCQ» &f%command% &eran for &f%player%&e!"
player-not-online
:
"&e&lCQ» &c%player% is not online!"
command-success
:
"&e&lCQ» &aCommand added to the database!"
invalid-usage
:
"&e&lCQ» &cInvalid usage, try /commandqueue <player> <command>!"
permissions :
main
:
"commandqueue.admin"
notify-staff
:
"commandqueue.notify"
API
Spoiler: API
Code (Java):
//Adds entry to the database through external source
CommandQueueAPI.
addEntry
( player, admin, command
)
;