ItemRenamer
ItemRenamer
This is another fun and cool plugin I have made! I think it would be amazing to rename items with commands and so I decided to code this plugin. This plugin also adds essentials colour support and chat formats (&k, &l, &n, &m, &r, &o)
Commands
- /anvil - Gives you a short description about this plugin and sends you the version of the current plugin.
- /anvil <name> - Renames the item in your hand.
- /giverenameditem <player> <itemid> <amount> <name> - Give a renamed item to a player!
- /setlore <lore> - Add lores to the item in your hand.
Aliases
- /rename <name> - Alias for /anvil
- /giveitem <player> <itemid> <amount> <name> - Alias for /giverenameditem
Permissions
itemrenamer.rename - Use /anvil (or aliases) and rename items!
itemrenamer.colour - Rename items/Add lores with essentials colour codes! For example if you want an item to be aqua type: /anvil &bKingFaris10
itemrenamer.format - Rename items/Add lores with essentials chat format codes (&k, &l, &n, &m, &r, &o) For example if you want an item to be bold type /anvil &lKingFaris10
itemrenamer.giveitem - Use /giverenameditem and give players renamed items!
itemrenamer.setlore - Use /setlore and add lores to items!
Thank you
If you have any suggestions post it below in the comments :)
If you like this plugin feel free to donate to: kingcraft123@hotmail.co.uk on PayPal!
Colour codes
&0 - Black
&1 - Dark Blue
&2 - Dark Green
&3 - Dark Aqua
&4 - Dark Red
&5 - Dark Purple
&6 - Gold
&7 - Grey
&8 - Dark Grey
&9 - Blue
&a - Light Green
&b - Aqua
&c - Red (Light Red)
&d - Light Purple (Pink)
&e - Yellow
&f - White
Chat formats
&l - Bold
&k - Magic (random changing letters)
&n - Underline
&m - Strike-through
&r - Resets all of the above so it goes back to white with no format
&o - Italics
-
View User Profile
-
Send Message
Posted Jul 17, 2013Just a heads up, data values won't work with the /giveitem command, unless I'm doing something wrong.
What I'm entering is: /giveitem <playername> 358:24 1 Voucher
I also tried this just to test: /giveitem <playername> 35:5 1 Lime
and it still didn't work.
-
View User Profile
-
Send Message
Posted Jul 16, 2013@KingFaris10
Hey when i use &r to remove italics, the color codes dont work? :(
-
View User Profile
-
Send Message
Posted Jul 2, 2013Does this work on 1.6.1?
-
View User Profile
-
Send Message
Posted Jun 20, 2013@RogueMeistaJones
Nope. Bukkit doesn't have an event called when an item is given using commands. It does however have an event that is called when an item is spawned.
@Rocketboy901
Use &r to remove italics =)
-
View User Profile
-
Send Message
Posted Jun 19, 2013I like this plugin but I don't want everything to be in italics, is there a way to fix this?
-
View User Profile
-
Send Message
Posted Jun 19, 2013Is there any way to permanently rename an item?
-
View User Profile
-
Send Message
Posted Jun 16, 2013@ryanthemagi
It's because in Anvils you can't use colour codes so the name is messed up when you put it an anvil. There's nothing you can do about this.
-
View User Profile
-
Send Message
Posted Jun 13, 2013Hey KingFaris,
A sever member of mine posted this on our forum. I'd like to bring it to your attention: http://i.imgur.com/TVeknsF.png
-
View User Profile
-
Send Message
Posted Jun 13, 2013@soysuva
No they aren't OP by default, but no one has permission by default. Although normally your permissions manager would allow OPS to have all permissions. The permission nodes are on this page.
-
View User Profile
-
Send Message
Posted Jun 6, 2013are all commands OP by default? I don't want people with out OP to use the commands.
-
View User Profile
-
Send Message
Posted May 31, 2013@Corsicaman
You must run the server using JRE7. All my plugins are built on Java 7.
-
View User Profile
-
Send Message
Posted May 28, 2013Doesn't work with 1.5.2. Using CB 1.5.2 R01 and ItemRenamer v1.0.6, error on start:
09:18:17 [GRAVE] Could not load 'plugins/ItemRenamer.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError net/bukkit/faris/itemrenamer/ItemRenamer : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.UnsupportedClassVersionError net/bukkit/faris/itemrenamer/ItemRenamer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
-
View User Profile
-
Send Message
Posted May 14, 2013@ok12Boss
Good idea.
-
View User Profile
-
Send Message
Posted May 14, 2013This is a great plugin...but i hope you can add a command which is (delete the lore)
-
View User Profile
-
Send Message
Posted May 4, 2013I added it Hitman4Hire.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Hitman4Hire
I'm thinking of making /addlore to add new lines to a lore but also keep /setlore At the moment, to make new lines you must use a semi colon.
-
View User Profile
-
Send Message
Posted Apr 29, 2013The ability to add new lines to lore would be amazing.
-
View User Profile
-
Send Message
Posted Apr 26, 2013@ButterEmperor Sorry not possible :/
-
View User Profile
-
Send Message
Posted Apr 23, 2013just what i was looking 4 easy to use and it supports essentials writing codes
-
View User Profile
-
Send Message
Posted Apr 22, 2013@ButterEmperor
I'll check for an event such as ItemSpawnEvent or something.