Add the file to your /plugins folder on all spigot servers
Restart the servers
BungeeCord - Proxy
Add the file to your bungeecord /plugins folder
Restart the bungeecord proxy
Note: When using BungeeCord either install on all spigot servers and NOT the proxy or ONLY the proxy
Default Config
Code (YAML):
settings: # Message prefix character: '@'
# Message format format: '&b
{NAME
}: {MESSAGE
}'
# Whether to replace papi placeholders in the {MESSAGE} part replaceplaceholdersinmessage: true
# Whether to send a plugin message to display on all servers sendmessagestoallservers: true
messages: # Command message prefix prefix: '&7StaffChat&8> &7'
# No permission message nopermission: '&cYou don''t have permission to do that'
# Player only command message playeronly: '&cPlayer only command'
# Config reloaded message reloaded: 'Reloaded the config file'
# Auto staffchat toggled toggled: 'You toggled auto staffchat
%s' # On and off strings onstring: 'on'
offstring: 'off'
discordsrv:
enable: false
channel: staffchat
minecraft-to-discord-format: '
{NAME
} »
{MESSAGE
}'
discord-to-minecraft-format: '&b
(Discord
){NAME
}: {MESSAGE
}'
Commands
/staffchat - Shows plugin info and subcommands
/staffchat toggle - Toggles auto-sending to staffchat without the prefix
/staffchat reload - Reloads the config file
Permissions
staffchat.use - default: OP
Send messages to the staffchat and use "/staffchat toggle".
staffchat.see - default: OP
See the staffchat messages
staffchat.command - default: all
Able to use "/staffchat" to view plugin info and subcommands
staffchat.reload - default: OP
Able to use "/staffchat reload" to reload the config