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
So everybody knows, I just launched a forum where you can ask questions about Custom Items. I would prefer that you use it from now on to ask questions. As a reward to those who do, questions asked via the forum will be given the highest priority of all the questions I receive.
The forum can be accessed at one of the two following URLs:
https://www.theprogrammersworld.net/forum
https://www.theprogrammersworld.com/forum
@frankhribal
When creating a new custom item in "items.yml", the ID entry is not intended for what you want the new item's ID to be, but rather what the ID of the item you want to base your custom item off of is.
Consider this excerpt from the default "items.yml":
Since we want to base this item off of a diamond sword, we will set the ID equal to 276. Because Custom Items only allows you to base your items off of other items, separate IDs are not set for the items. This is an unfortunate limitation of server-side plugins, as it would be necessary for a client side modification to be installed in order to allow for items with new IDs to be added.
@DavidBBukkit
I guess you would know how to answer this: Does the new item have an id that I can call later?
So the default records have the id's 2256-2268, and there are some unused id's after. I put my custom song in assets/minecraft/sounds/custom/ and I can play it using the playsound command. Does that mean that it already has an id that I can call on?
Thanks!
If anyone is interested, I have revived this plugin here: https://www.theprogrammersworld.net/CustomItems/
This plugin is Extremly broken! do not use!
You cant create any custom items with it!
Hello, how so I can put items from customitem mobs to drop and mobarena reward? sorry bad english iam from indonesian :)
He and another called NBTEditor plug-ins conflict, configuration folder It is also the name of CustomItems, how to do,I am the 1.47 version
Please update to 1.8.1!
And change the command "/ci". It is just causing conflicts with ClearEverything and Essentials.
update to 1.8 Spigot
Using /ci is clearing my inventory.
Will you be adding a durability changer? Like say I wanted to give a player a life steal sword that you can use for 3 or so hit's then it breaks and so on. That or maybe a cool down on abilities? Thanks
Piggogade, from what I've seen, you can't. But there's got to be a good plugin for potion effects on items, you can just combine the two.
You should just be able to leave it blank, GuitarZachery. I don't think you have to remove the whole abilities line.
Hey. If I remove the "Abilities" Line it crashes and wont function anymore. I want to make Items without any Abilities. How can I dot that?
can you add potion effect if holding item or wearing it?
It keeps saying "item does not exist." I added it to "registereditems", but still nothing. Here's my item.yml file, for reference.
RegisteredItems:
- PartyWand
Items:
PartyWand:
ID: 280
DisplayName: "Party God's Party Wand"
UsePermission: false
Abilities:
- Break
- SuperFortune
Lore:
- A gift from the Party God. It strangely makes you want to...boogie?
Color: "§6"
UseRecipe: true
UseCustom: true
Enchantments:
- DURABILITY
- SILK_TOUCH
EnchantmentsLevel:
DURABILITY: 3
@PapiDimmi
Make sure you add the item name to the "RegisteredItems" in the top of the items.yml file.
@Triyon
I run a 1.7.10 server, and it works perfectly fine for me.
First of all - I LOVE this plugin... great job!
I got a small question: Is it/would it be possible to make the items stack? :) - Of course without stacking with normal items!
This would be amazing!
Update to 1.7.9 please