CustomItems
What is Custom Items?
With custom items you can create items with custom names , recipe, abilities , lores, enchantments and name colors. For example, sword with high damage , instant kills or both. There are many abilities that you can attach on your item. Create a bow with teleport or with explosion on hit. You can combine everything and create very good item. Every item has its permission, permission is optional. You can use this on many things, vip, as reward etc.
Commands
Command | Permission node | Description |
---|
/ci create <item name> <player> | custom-items.create | Gives custom item to the player. |
/ci info | custom-items.info | Shows info about item in hand. |
/ci reload | custom-items.reload | Reloads config and items. |
/ci help | custom-items.help | Shows all commands. |
Create new item
Every item has 11 values: Name,ID,UseRecipe,UseCustom,UsePermission,DisplayName,Lore,Color,Abilities,Enchantments and EnchantmentsLevel.
- We must register new item to items.yml
RegisteredItems: - NewItem
- Now we add whole item with informations about it
Items: NewItem: ID: 276 // 276 is diamond sword DisplayName: "New Item" UsePermission: false //if permissions are needed to use item Abilities: // item abilities - Poison - Lighting - Death Lore: - This is lore - This is another lore Color: "§6" UseRecipe: false UseCustom: true Enchantments: - KNOCKBACK EnchantmentsLevel: KNOCKBACK: 2
- ID - Minecraft item id.
- DisplayName - Displays name of item.
- UsePermission - If permission is required to use item.
- Abilities - List of item´s abilities.
- Lore - Item´s lore. (Under item´s name)
- Color - DisplayName color. (List of colors here)
- UseRecipe - Item can be created by recipe.
- UseCustom - Every item has in lore one line of item´s name, this will remove that line if its set to false, but plugin then wont know that is custom item, so abilities wont work.
- Enchantments - List of item´s enchantments. (List of all enchantments here)
- EnchantmentsLevel - List of item´s enchantments level.
- Note: Color codes are here link.
- Restart server or use /ci reload
- Item is now completed! You can add it in game by /ci create NewItem yourname
Custom recipes
- To use custom recipe you must set UseRecipe on item to true
- Then you must write recipe into recipes.yml
Write every slot in this format : 'slot number': material id.
Example
Recipes: BowExample: '1': 0 '2': 0 '3': 0 '4': 1 '5': 1 '6': 1 '7': 0 '8': 0 '9': 0
- And this is how it looks like.
Abilities
- Lighting - Strikes lighting from the sky.
- SuperFortune - This is like enchant fortune but 3x more powerfull.
- Death - Instantly kills the target.
- SuperHit - Hit is 3x bigger.
- Break - Breaks any block instantly. (except Bedrock)
- Teleport - Teleports to clicked location. (With bow, this location is where arrow fell on ground)
- Poison - Poisons the target.
- Disorient - Disorients the target.
- Explosion - Creates explosion when you click or hit something.
- LifeSteal - Converts damage to life.
- Blind - Blinds the target.
- Fire - Sets clicked block to fire / Sets hit target to fire.
Permission
Every item can have permission, if you want it to have one, then set UsePermission on item to true. Permission will be custom-items.ItemName
For developers
To do list
- Items can have enchantments with high levels.
- Items can have ID with data.
FAQ
- Q: There is item name in lore, is it a bug?
- A: No, this one line of lore must be there because its only one way to know that is custom item.
Current version v1.6.0
Support:
- 1.5.1
- 1.5.0
- 1.4.7 R1.0
- 1.4.6 R0.3
Waiting for approval versions
- None.
In development versions
- 2.0.0
Could you possibly make a "slow" enchantment for bows and swords? Im looking for a plugin that does this with bows, but to no avail. They are all outdated and broken. I'm sure a slow enchant would raise the popularity of the plugin by a lot, considering it would be very useful. Thank you!
Just a idea can u set it up so allocate mob drops or block drops?
like if you created a specil gold sword can u set it up so that zombiepigmen drop them rarely?
Can you make it so that these items have durability values?
That'd be awesome too, thanks :)
Edit: Also, can we not create custom items such as sticks with enchants/abilities on them? I just tried and got item not found :(
The main problem is that they do not walk the protective items, such as: helmets, armor, boots, does not the protection to these items. Please Actualicenlo to 1.5.2
== Why doesnt it create the files for me? i restarted and reloaded the server 5 times! ==
Plz help me how to make colors on item name ? :( the Example Bow and Sword havent colors too ;/
Umm, i like to use this plugin with "Lore Attributes" setting the lore "+10 Health" to an armor (To craft a Reforced diamond chest), but i can't delete all abilities from the config... it crashes the plugin.
Foe me colors doesnt work ;/ when i did Color: §6 the item wont appear ;/
You should add a wither ability, just take the same code from the wither effect
* Hello, im having problems with the plugin, the items show up in the cafting table without puting anything inside:
Recipes:
BowExample:
'1': 0
'2': 0
'3': 0
'4': 261
'5': 322
'6': 261
'7': 0
'8': 0
'9': 0
GodSword:
'1': 0
'2': 0
'3': 0
'4': 276
'5': 322
'6': 276
'7': 0
'8': 0
'9': 0
ScubaHelmet:
'1': 0
'2': 326
'3': 0
'4': 310
'5': 322
'6': 310
'7': 0
'8': 0
'9': 0
Thanks Linkoboy
(Join My sever: MBCraft.tk
Could you change it to store the items in meta? I need to use the items in kits.
Are you going to make it possible to apply enchantments for non-armor/sword/bows? I really want to make the following item but it doesn't seem to be possible to apply an enchantment to glass...
please tune up yur plugin i have lots of issues like world guard, poeple are lighting my spawn on fire with Fire, lightning ability armor has a strange name when crafted and there are no ability's for it error when no ability is selected in confiq on startup thx for yur time
Question: Is there a way to give Custom Items through the /kit command?
You should add some more abilities!! This pl is amazing!<3
Lighting XDDDDDD
Are you still developing this?
This plugin does not seem to work for me here is what the consol says please help:
18:05:04 [SEVERE] Error occurred while enabling CustomItems v0.0.2 (Is it up to date?) java.lang.NoClassDefFoundError: com/goncalomb/bukkit/Utils$SplitType at com.goncalomb.bukkit.customitems.api.CustomItem.applyConfig(CustomItem.java:105) at com.goncalomb.bukkit.customitems.items.GenericBomb.applyConfig(GenericBomb.java:35) at com.goncalomb.bukkit.customitems.items.BatBomb.applyConfig(BatBomb.java:32) at com.goncalomb.bukkit.customitems.api.CustomItemConfig.configureItem(CustomItemConfig.java:60) at com.goncalomb.bukkit.customitems.api.CustomItemManager.registerNew(CustomItemManager.java:208) at com.goncalomb.bukkit.customitems.CustomItems.onBetterEnable(CustomItems.java:25) at com.goncalomb.bukkit.betterplugin.BetterPlugin.onEnable(BetterPlugin.java:58) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:301) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:280) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:240) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: com.goncalomb.bukkit.Utils$SplitType at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 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) ... 18 more
@bloodofdoor
well i dont really care you cant allways get what you want its a desent plugin and it does what i want with every plugin you have to work around it so it's integrated in yur mechanics there are some thing that could be better lets hope he take's time for it someday for the rest more comunication would be nice
The developer of this plugin is ignorant and will not accept ideas submitted by the comments. I looked through them, the most popular idea was to make the ability part optional, but the developer said nothing of it at all. Here are a list of idea we want.
- Abilities optional or atleast more of them - More customization of items, like how many hearts of damage would the item do - Potion effects work on items - Change the command so that it doesn't interfere with essentials - Possibly create durability for any items - Listen to the ideas given because they are valuable
I'm just saying, and not to be offensive, but you really need to step up your game.
Here are some ideas on how you could make this work:
1. Allow abilities to be left blank 2. Add HitDamage, like this:
HitDamage: 4
And this would do 4 hearts of damage
3. Create a seperate line for this or allow enchantments to do this also 4. /citems 5. I don't know if this is possible, that's for you to decide 6. Your fans ideas are the only way you're going to survive. Listen to them.