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
I've recently added a few new swords and things into the items and I've done the recipes for the matching items, I've then saved the config and reloaded my server and when i come onto it i do the command: /ci it then says: /ci help in white in the chat bar. Please can you help me out? @Jakub1221
It would be cool if an item attacking a player to execute a console command to the player attacker and the victim. Another interesting thing will be if the item "X" entered the inventory system of the player something to happen, as the console execute another command or the player would have an effect or ability and when the item be thrown away or removed from the inventory system console and execute another command Indeed, ability to be together. thank you
Works with "EnchantMore" Plugin? My idea is that only one operator can create these items.
@dexevil
It works,i created a herobrine bow :D
You should add 2 more item abilities Hunger - makes the targets hunger be decreased by 1 Wither - its like the poison but does not keep the last half-heart
can this work with 1.6.4?
Is it possible to add the option to make an item consumable (one use)?
Please keep updating.
This Plugin Can Support RecipeManager????
ps my eng not good..
This Plugin deletes all Mod Items, can you fix this?
The poison effect isn't really working for me... Am I doing it wrong or is it a bug? Help ASAP.
It seems like the way to create a custom item is outdated or badly explained, if it is badly explaind, could you give me a more detailed version, becuse im just not able to create new items, only use the default ones...
@Dutch_Boy Anyone got the same problemen? §1 if use that the plugins says: Item does not exist! And if i use &a it shows &4 next to the item name. Your problem might be related with the name and so.
the "&a" do you use it on the itemname or Display name? if the first one, then there you go, where the problem is, if it is with the second, then, there might be a problem,
Colors work though.
@JawaMeat
This happens when one or more of your weapons are not well configurated, try this:
-make a txt backup of all your items, e -erease all of them except for the Example sword and example bow -Restart the server and try those out.
(Remember, the plugin is case sensitive, so its not the same Example and example)
if the plugin works, then, you know its one of your items the one that is "corrupting" the plugin. try them one by one.
I am having a problem Your plugin does not work at all when I try and do any commands It just tells me to type /ci help over and over and over everytime I type /ci help it tells me to type /ci help
@machado197328
I use it on my server (1.6.2)
@nimlux
name should be your name. If I was to spawn in the swordexample, I would type:
/ci create SwordExample ZombehPig2
that would give me swordexample.
Is it working for 1.5.2 or 1.6.2?
I use your Example-Item: /ci create SwordExample name
but he say: Item not exist.
Can i use this plugin for 1.6.2?