ZNameColor Plugin
A Minecraft plugin that allows players to customize their name colors with an easy-to-use command system.
Features
- Change player name colors using predefined colors or hex codes
- Permission-based color access
- Real-time color changes
- Tab completion for commands and colors
- Admin commands for managing player colors
Commands
/namecolor [color] |
Change your name color |
znamecolor.set |
/namecolor reset |
Reset your name color |
znamecolor.set |
/namecolor info |
Check your current name color |
znamecolor.set |
/namecolor set <player> <color> |
Set a player's name color |
znamecolor.admin |
/namecolor list |
List all available colors |
znamecolor.admin |
/namecolor reload |
Reload plugin configuration |
znamecolor.admin |
Permissions
znamecolor.set |
Allows changing name color |
true |
znamecolor.set.* |
Access to all colors |
op |
znamecolor.set.hex |
Allows using hex colors |
op |
znamecolor.admin |
Access to admin commands |
op |
Color Options
- Predefined colors: red, dark_red, gold, yellow, green, dark_green, aqua, dark_aqua, blue, dark_blue, light_purple, dark_purple, white, gray, dark_gray, black
- Hex colors (if enabled): #RRGGBB format (e.g., #FF5733)
Configuration
The plugin's configuration can be found in
:
Code (Text):
# Allow hex color codes (#RRGGBB)
allow-hex-colors: true
# Default name color
default-name-color: "WHITE"
# List of predefined colors
predefined-colors:
- "RED"
- "BLUE"
- "GREEN"
# Add more colors as needed
Building
Code (Text):
mvn clean package
The compiled plugin will be available in the
directory.
Installation
- Place the
Code (Text):
ZNameColor.jar
file in your server's
folder
- Restart your server
- Configure permissions and settings as needed
Requirements
- Minecraft 1.8+
- Java 8 or higher
- Bukkit/Spigot/Paper server