MySQLNicks allows you to share nicknames across multiple servers with the aid of a MySQL database.
Features:
Colour codes support
Format codes support, with permission
All messages configurable
Prefix in front of nicknamed players
1.16 hex colour code support
Staff members can edit other players nicknames
Import nicknames from other plugins
Export nicknames to other plugins
Dependencies:
A MySQL Database
PlaceholderAPI
Essentials (optional)
CMI (optional)
Installation:
Stop your spigot server
Go to the plugins folder
Place the MySQLNicks.jar in there
Start the server
Commands:
/nick <nickname/off> Set your nickname or remove it mysqlnicks.nick mysqlnicks.nick.color mysqlnicks.nick.color.simple mysqlnicks.nick.color.hex mysqlnicks.nick.format mysqlnicks.nick.magic
/nick <player> <nickname/off> Edit another player's nickname mysqlnicks.staff
/importnicks Import nicknames from Essentials/CMI mysqlnicks.importnicks
/exportnicks Export nicknames to Essentials/CMI Placeholders:
Other Permissions:
mysqlnicks.bypass.limit Allows a player to bypass the character limit
mysqlnicks.bypass.nocolor Shows colors in the nocolor placeholder
Placeholders:
%mysqlnicks_nickname%
%mysqlnicks_nocolor%
Code (YAML):
mysql:
host: "X" port: 3306
database: "X" username: "X" password: "X" ## Don't change this unless the console is spamming errors about SSL. ssl: true
## Set to '' if you don't want a prefix. nickname-prefix: ''
## Max length for a nickname limit:
enabled: false
## Include colour codes in the count. include-color: false
length: 16
messages:
nick:
no-console: "&4Only players can use this command." no-permission: "&4You do not have permission to use this command." insufficient-arguments: "&4Please use the command like this &6/nick &e<nickname>" exceeds-limit: "&4Your desired nickname exceeds the limit. Please choose a shorter nickname." no-color: "&4You are not allowed to use color your nickname." no-codes: "&4You are not allowed to use color codes in your nickname." no-hex: "&4You are not allowed to use hex colour codes in your nickname." no-formatting: "&4You are not allowed to use code formatting in your nickname." no-magic: "&4You are not allowed to use magic in your nickname." invalid-player: "&4Unable to find a player with that name." error: "&4An error occurred while trying to set your nickname." set: "&aSuccessfully set your nickname to &e%nickname%" unset: "&aSuccessfully remove your nickname." staff:
error: "&4An error occurred while trying to set &e%player%&4's nickname." set: "&aSuccessfully set &e%player%&a's nickname to &e%nickname%" unset: "&aSuccessfully removed &e%player%&a's nickname." importnicks:
no-permission: "&4You do not have permission to use this command." no-dependency: "&4Unable to locate Essentials or CMI on the server." error: "&4An error occurred while trying to import nicknames from &e%plugin%" starting: "&aStarting import from &e%plugin%" finished: "&aSuccessfully imported nicknames from &e%plugin%" exportnicks:
no-permission: "&4You do not have permission to use this command." no-dependency: "&4Unable to locate Essentials or CMI on the server." error: "&4An error occurred while trying to export nicknames to &e%plugin%" starting: "&aStarting export to &e%plugin%" finished: "&aSuccessfully exported nicknames to &e%plugin%"