Codebase rewritten, including the use of a newer event for anvils
Added
Hex color code support. Both 6-digit and 3-digit hex codes are supported (Thank you to Spigot user Kikisito for the implementation patch on the previous version!)
New permission, coloredanvils.color.hex - allows the user to use hex colors
Configurable filter message (Thank you Spigot user NoChanceSD for the implementation patch on the previous version!)
Fixed
Memory leak due to persisting Bukkit tasks fixed due to no longer being used
Possibly other things since the plugin was rewritten
Filtering - You can now add words in the config that will prevent players from naming an item that contains that word. To enable, set the 'Filter_Enabled' option in the config to true and add words to the list under 'Filter'.
Fixed an issue where items would flash from formatted to unformatted if the player was repairing (but no renaming) an item that had colors that he/she did not have permissions for.
Code optimization
Added
New config option: Use_Permissions_If_Not_Changing_Name. For those updating, this will be added in to your config with a default value of 'false'. What this option does is it allows you to configure whether or not items that are not being renamed require permissions to keep their color. E.g. Player has no permissions for coloring items and they are repairing an item with the name "Super Sword" (uses the &2 color code). If this option is set to true, it will make the name "&2Super Sword" after repair because the player does not have permission for the &2 color code. With the option set to false, it will make the sword named "Super Sword" as long as no other changes are made to the item name, even though the player does not have permission to the &2 color code.
Fixed an issue where the item would flash formatted/unformatted when repairing an already colored name that you do not have permission to color (either partial or fully).
* permissions (coloredanvils.*, coloredanvils.color.*) should now work properly with all permissions plugins
Items should no longer have a chance of not being colored properly. Before, if you timed you're click right, it was possible to get the unformatted display name of the item.
Permissions now accept coloredanvils.color.&{color code} (this will be undocumented on main page, this is just to prevent people from making a mistake).