AnvilColors
What is it?
AnvilColors is a plugin will let you rename items with color codes in anvils!
How to use it
When naming the item just use an '&' then put a color code listed below. To get your colored item, take it out of the anvil. To use it you must be OP or have the permission: anvilcolors.use
Commands
- /addlore <lore> - Adds a lore to an item.
- /removelore <line number> - Removes a lore from an item.
Permissions
- anvilcolors.* - Allows all commands
- anvilcolors.use - Allows you to use colors in anvils
- anvilcolors.lore.* - Allows you to add and remove lores.
- anvilcolors.lore.add - Allows you to add lores.
- anvilcolors.lore.remove - Allows you to remove lores.
- anvilcolors.color.* - Allows you to use all colors.
- anvilcolors.color.color - Allows you to use all colors (not including formatting codes).
- anvilcolors.color.formatting - Allows you to use all formatting codes.
- anvilcolors.color.<color> - Allows you to use a color where <color> is the color without an '&'.
Color Codes
- 0 - Black
- 1 - Dark Blue
- 2 - Dark Green
- 3 - Dark Aqua
- 4 - Dark Red
- 5 - Dark Purple
- 6 - Gold
- 7 - Gray
- 8 - Dark Gray
- 9 - Blue
- a - Green
- b - Aqua
- c - Red
- d - Light Purple
- e - Yellow
- f - White
- k - Obfuscated
- l - Bold
- m - Strikethrough
- n - Underline
- o - Italic
- r - Reset
Metrics
By default, this plugin uses metrics to collect anonymous statistics. If you want to disable metrics, go into your plugins folder and find a folder called PluginMetrics, then open the config.yml and replace the first 'true' with 'false'.
Credits
Plugin made by kylersmith7
Icon made by NuclearNarwhal - server ip: zealraid.com
works just as said on 1.20 on the newest update
Minecraft Color Codes, CHAT CODE, MOTD CODE, HEX CODE.
Formatting Codes Click Visit
dw i found it!
In what folder do i put it in (sry for late comment)
Please Update to Minecraft Version 1.11
Needs an update for 1.9!
Getting this in 1.9
[09:31:28 WARN]: Exception in thread "Craft Scheduler Thread - 5" [09:31:28 WARN]: org.apache.commons.lang.UnhandledException: Plugin AnvilColors v1.3.1 generated an exception while executing task 36 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyn cTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lor g/bukkit/entity/Player; at me.kylersmith7.anvilcolors.MetricsLite.postPlugin(MetricsLite.java:28 7) at me.kylersmith7.anvilcolors.MetricsLite.access$3(MetricsLite.java:280)
at me.kylersmith7.anvilcolors.MetricsLite$1.run(MetricsLite.java:175) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java :71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyn cTask.java:53) ... 3 more
What version of minecraft is this????
Works well in 1.8
First. I need a mod mod like this because while i try to make a map or something i always want to make my weapons or tools have colored names
@SandStormErik
Yes. I use it also on an 1.8 server and got not any problem :)
It's 1.8, right? It's just that I don't wanna take any risks.
Will you be updating the plugin to 1.8? I would love to add it to my server!
@61352151511
Sorry I took so long to respond, i'm looking into it.
Great plugin, I'm not sure why but I was looking through the logs and found this error, not sure if anything happened in-game though.
[00:11:38] [Server thread/ERROR]: Could not pass event InventoryClickEvent to AnvilColors v1.3.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:1364) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.PacketPlayInWindowClick.a(SourceFile:32) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.PacketPlayInWindowClick.handle(SourceFile:10) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] Caused by: java.lang.NullPointerException at me.kylersmith7.anvilcolors.AnvilColors.translateColors(AnvilColors.java:157) [?:?] at me.kylersmith7.anvilcolors.AnvilColors.onInventoryClick(AnvilColors.java:147) [?:?] at sun.reflect.GeneratedMethodAccessor864.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] ... 13 more
Lets have a closer look at this, thanks! :-)
edit: I 'like' it! :D
@NuclearNarwhal
Working on it right now, there should be an update soon.
Any chance you could separate the permissions for formatting codes and colour codes? Thanks in advance! :)
yesssssssssssssssssssssss
Better than NBTTTTTTT <3
This should totally be in vanilla Minecraft. Excellent idea!
Have yet to see any plugin like this. I like it! Another!