SetNameColor is a Minecraft plugin that allows players to customize their name color in chat. It supports both named colors and hex color codes.
- Players can set their chat name color using a command
- Supports both predefined named colors and custom hex color codes
- Colors persist between server restarts
- Simple permission system to control who can change their name color
- Download
/build/libs/SetNameColor-v1.1.jar - Place the
.jarfile into thepluginsfolder of your Minecraft server - Restart the server to enable the plugin
| Command | Usage | Description |
|---|---|---|
/setnamecolor |
<color/#rrggbb> [playerName] |
Sets the player's name color in chat. Accepts named colors or hex codes |
/setnamecolor red→ Sets the player's name color to red/setnamecolor #ff5733→ Sets the player's name color to a custom hex color
| Permission | Description | Default |
|---|---|---|
setnamecolor.set |
Allows the player to set their name color. | true |
setnamecolor.setOther |
Allows the player to set other players name color. | op |
The plugin saves player colors in playerColors.yml located in the plugin's data folder. This file is automatically managed by the plugin
- Requires Minecraft
1.21+(API version1.21) - Uses Adventure API for text formatting
SetNameColor.java- Manages the plugin lifecycle and stores player colorsSetNameColorCommand.java- Handles the/setnamecolorcommandPlayerChatListener.java- Updates chat messages to display player colors
- Clone the repository
- Build using
./gradlew build - Place the compiled
.jarinto your server'spluginsfolder.
This plugin is provided as open-source. Feel free to modify and use it according to your needs.
Enjoy customizing your chat name colors! 🎨