HomeJavaModsAnvils' Colors
Anvils' Colors
What it does:
Anvils Colors let you rename items in anvils with colors. It does also let you modify an item's name and lore with commands.

Usage:
Use the code in the config file (default: &) with the hex digit of the color following it in an anvil to make the name colored.
Spoiler: Colors
[​IMG]
It is the same use when using commands. However, commands need a "_" to make a space.

Furthermore, you can modify the messages sent to players in game when they use commands and prevent the use of certain words in edited names and lores through the configuration file.

Commands:
♦ /anvilscolors
Show your available commands.
Aliases: anvils, anv, colors, col
♦ /anvilscolors set <code>
Replace the color code.
Permission: anvilscolors.modify
♦ /anvilscolors show
Show the color code.
Permission: anvilscolors.show
♦ /anvilscolors item <name>
Rename the item in your hand with the color code. Use "_" for spaces.
Permission: anvilscolors.item
/anvilscolors lore <add/remove>
Add or remove a lore to the item in your hand. Use "_" for spaces.
Permissions:
- anvilscolors.lore.*
- anvilscolors.lore.add
- anvilscolors.lore.remove
/anvilscolors space (code)
Show (without using code) the space code or set (using code) it.
Permissions:
- anvilscolors.space.set
- anvilscolors.space.show
/anvilscolors reload
Reload the configuration file.
Permission: anvilscolors.reload
Permissions:
anvilscolors.*
anvilscolors.color.use
Use colors in anvils.
anvilscolors.color.[0-9, a-f, k-o, r] Prevent the use of a color.
anvilscolors.modify Modify the color code.
anvilscolors.show Show the color code.
anvilscolors.item Rename an item.
anvilscolors.lore.*
anvilscolors.lore.add
Add a lore to an item.
anvilscolors.lore.remove Remove a lore to an item.
anvilscolors.space.set Modify the space code.

anvilscolors.space.show Show the space code.
anvilscolors.reload Reload the configuration file.

Examples and usages (Screenshots):
Spoiler: Screenshots
Renaming in an anvil using the code "&":
[​IMG]

Showing available commands with /anvilscolors:
[​IMG]

Showing and modifying the code with "/anvilscolors show" and "/anvilscolors set"
[​IMG]

Usage example to rename an item using "/anvilscolors item"
[​IMG]

Result:
[​IMG]

Configuration file:
Spoiler: Configuration
Code (Text):
###################################
#                                 #
#    Anvils' Colors by zergui     #
#                                 #
###################################

# Anvils' Colors is a plugin to let players rename their items with colors
# using a specific string.  The color codes can be found online.

# The color code used in anvils.
# Every instance of it in the line will be replaced to: §
code: "&"

# The space code.
# Every instance of it in the rename will be replace to a space.
space: "_"

# Messages sent to players when using commands.
messages:

  # The message sent to players when the command is not entered correctly.
  # Use %%usage%% for the command's usage.
  error: "§cError! Usage: %%usage%%"

  # Use %%space%% for the space code.
  error with space: "§cError! Usage: %%usage%%. Use %%space%% for spaces."

  # The message sent when a player needs to have an item in the hand to perform the command.
  error item: "§cError! You need to have an item in your hand."

  # The message sent to players when they do not have the permission to execute the command.
  no permission: "§cYou do not have the permission to use this command."

  # When a player successfully modify the color code with the command /anvilscolors set.
  # Use %%code%% for the entered code.
  code modification: "§7Code successfully modified to: §6%%code%%"

  # When a player successfully show the color code with the command /anvilscolors show.
  # Use %%code%% for the showed code.
  code show: "§7The color code is: §6%%code%%"

  # When a players successfully modify the name of an item with the command /anvilscolors item <name>
  # Use %%name%% for the item's name.
  item name modification: "§7Name successfully changed to:§r %%name%%"

  # When a player successfully add a lore line to an item with the command /anvilscolors lore add <line>.
  # Use %%lore%% for the line.
  lore line added: "§7Lore line successfully added:§r %%lore%%"

  # When a player successfully remove a lore line to an item with the command /anvilscolors lore remove.
  lore line removed: "§7Lore line successfully removed."

  # When a player tries to remove a lore line but there is none.
  lore remove error: "§cError! There is no lore on this item."

  # When a player successfully modify the space code with the command /anvilscolors space <code>.
  # Use %%code%% for the entered code.
  space modification: "§7The new space code is: §b%%code%%"

  # When a player successfully show the space code with the command /anvilscolors space.
  # Use %%code%% for the showed code.
  space show: "§7The space code is: §b%%code%%"

  # When a player reloads this configuration file with the command /anvilscolors reload.
  reload: "§7The configuration file is reloaded."

  # The messages sent as help for each commands when a player use the command /anvilscolors.
  # Use %%usage%% for the commands' usage.
  # You can use %%space%% in "item" and "lore"
  help:
    set: "§e%%usage%% §fSet the color code."
    show: "§e%%usage%% §fShow the color code."
    item: "§e%%usage%% §fRename the item in your hand. Use %%space%% for spaces."
    lore: "§e%%usage%% §fAdd or remove a line to the lore of the item in your hand. Use %%space%% for spaces."
    space: "§e%%usage%% §fReplace the space code or show it."
    reload: "§e%%usage%% §fReload the configuration file."

# Blocked words in names and lores.
# Every blocked words will be replaced by a space.
# This is NOT case sensitive.
blocked:
  # Example:
  # - "fuck"
 

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.

Anvils' Colors is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 686 times (via Spigot). Download it and open it directly in the game.

Explore more