Home›Java›Mods›NameColors
ModsJava

NameColors

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
NameColors
Easily allow people to change the color of their Minecraft name, and allow server OP's to set prefixes for players. The colors available are what Minecraft allows for text colors, you can see the full list here. I did my best to add aliases to the colors that make sense (that is, orange, gold, and dark yellow all point back go the "gold" Minecraft color).

NameColors allows you to restrict command usage between the players on the server and ops however you like in the config.

There are plenty of plugins that can add colors to names, and maybe even prefixes, I'm sure, but the point of this plugin is to be simple, and come with no extra garbage or overhead.

Here is an example of this plugin in in-game chat:
[​IMG]

NameColors also allows you to define and set an arbitrary number of prefixes for players. The default setting in the config reflects IRC prefixes, but they can be any string of characters. The color of the prefix can also be set to any Minecraft color.

Colored names can be useful for deciphering a complicated chat-box, and the prefixes can allow you to differentiate between differently ranked players on the server.

NameColors can optionally auto-prefix OP's, as well as optionally auto-prefix new players for a length of time determined by the config.

For any non-plugin updates (i.e. config changes) you can just run "/namecolors reload".

Change Log

v1.4.3
  • Fixed a problem when sorting players with uppercase and lowercase names
  • Fixed an issue where the tab list wouldn't always color when a player joins
  • Fixed a bug where OP's would see console messages about player's teams being removed
v1.3.3
  • Added tab-complete support for all commands
  • Fixed an issue where non-prefixed players wouldn't sort
  • Player's name color can now be changed from the console
v1.2.5
  • Added translation support
  • Fixed a bug in the /namecolors reload command
  • Modifed AnnotatedConfig to produce more formatted YAML files
  • Added support for coloring the player list
  • Added support for coloring the player tag names via scoreboards
v1.1.4
  • Changed syntax for the /namecolor command when changing another player's color
  • Added /renameprefix command
  • Added dynamic permissions for each command in the config
  • Moved to md_5's AnnotatedConfig for dynamic config updates
v1.0.1
  • Initial release
Click to expand...
Command Reference
/namecolor
Alias: /namecolour
Click to expand...
Usage: /namecolor <color>
Click to expand...
The <color> part of the command can be most common colors, or the actual color codes in Minecraft. For colors that are not present in the Minecraft chat color palette, NameColors will use aliases to determine a "best fit match." Otherwise, it will return an error.
Usage: /namecolor player:<playername> <color>
Click to expand...
Everything is still the same for <color>, make sure to include the "player:" part. There is an example:
Code (Text):
/namecolor player:DemonWav gold
Click to expand...
Click to expand...

​
/setprefix
Usage: /setprefix <playername> <prefix>
Click to expand...
<playername> can be the name of a player that is online or offline, but they must have played on the server before.
<prefix> is the name of the prefix you want to give the player. The prefixes and their names are defined in the config.yml, the list of prefixes can be changed, added to, and removed from.
Click to expand...
Click to expand...

​

/moveprefix
Usage: /moveprefix <oldprefix> <newprefix>
Click to expand...
<oldprefix> the prefix you want players to be moved from
<newprefix> the prefix you want players to be moved to
This should be used to move all players on one prefix to another. This will change the actual in-game prefix of the players to whatever new prefix you give it.

Both given prefixes must be valid.
Click to expand...
Click to expand...

​
/renameprefix
Usage: /renameprefix <oldname> <newname>
Click to expand...
<oldname> the name of the prefix you want to rename
<newname> the name you want the prefix to be changed to
This will not change the value of the prefix, that is, the in-game prefix will not be modified by this command. This command will update the config and the database automatically as well. A plugin reload is not needed after using this command.
Click to expand...
Click to expand...

​
/namecolors
Alias: /namecolours
Click to expand...
Usage: /namecolors reload
Click to expand...
This command only has one purpose right now, which is to reload the plugin with the updated config on disk, but more functionality may be added in the future.
Click to expand...
Click to expand...
Click to expand...

​
Source
The source code and build instructions for this plugin is available here.

Credits

Contact
If you want to contact me for any reason, feel free to PM "DemonWav" on "irc.spi.gt", or PM me here.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NameColors is a free Minecraft Java mod. Downloaded 1,450 times (via Spigot). Download it and open it directly in the game.

Explore more