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
Hey Jakub1221, your plugin is awesome but it blocks all tekkit lite crafting recipes, can u pls fix that bug? it will be great!
You should add a system cooldown, and also new skills, an ability to switch places with another player, such as the switcher mcpvp.
You should add it so that the custom items can be used in a recipes. So say I'm giving out custom items for voting, and then once you get all 3 items you can craft them together for a super special item.
This is a neat plugin, but I have a few suggestions for the next versiont to make it better.
1) Can you add potion effects so that using an item could trigger it?
2) Add support for custom food for hunger/healing/saturation
3) Make right-clicking with an item have one effect, and left clicking have another
If you plan to add such, I will support your plugin by using it and recommending it to others. If not, then this really is just a custom weapon thing, and won't fit my needs.
Hi. Thanks for your plugin. Does it work correclty for 1.6.2 ?
Ok i just see the message of TheShadbushe. Thanks
Poison Arrows dont work... like Indiviually crafted ones... Also after u take the items out there is a dupe item, very glitchy plugin
This plugin works perfectly fine with 1.6.2.
To all of you who either think a plugin needs to be the same version as the CB build you're using/having plugin problems:
1. I run several plugins that date back to 1.2.5 with my 1.6.2 server, and they all work perfectly fine. This plugin is no different.
2. If you cannot add items without the plugin not working, then you messed something up in one of the files/didn't synchronize the files (i.e. making an item use a crafting recipe and forgetting to add the recipe). Check your syntax (NO TABS) and file synchronization.
@Jakub1221
Will u update this?
Also is it possible to not add a lore?
Please update your plugin
when ever i add anything it the whole plugin doesnt work!!! please fix
RegisteredItems: - SwordExample - BowExample - MasterSlayer Items: SwordExample: ID: 276 DisplayName: Sword Example UsePermission: false Abilities: - Poison - Lighting - Death Lore: - This is lore - This is another lore Color: §6 UseRecipe: false UseCustom: true Enchantments: - KNOCKBACK EnchantmentsLevel: KNOCKBACK: 2 BowExample: ID: 261 DisplayName: Bow Example UsePermission: false Abilities: - Teleport Lore: - This is lore - This is another lore Color: §a UseRecipe: true UseCustom: true MasterSlayer: ID: 276 DisplayName: Master Slayer UsePermission: false Lore: - Donate For this God Sword Color: §6 UseRecipe: false UseCustom: true Enchantments: - FIRE_ASPECT - KNOCKBACK - DAMAGE_ALL - DAMAGE_UNDEAD - DAMAGE_ARTHROPODS - DURABILITY - LOOT_BONUS_MOBS EnchantmentsLevel: KNOCKBACK: 2 FIRE_ASPECT: 3 DAMAGE_ALL: 6 DAMAGE_UNDEAD: 10 DAMAGE_ARTHROPODS: 10 DURABILITY: 10 LOOT_BONUS_MOBS: 5
I run my server and I do /ci create SwordExample and it dose't give me the sword
Whenever I start up my server, the plugin suddenly doesn't work. Such as: whenever i excute a command, it just says /ci help in white letters. I can create or give myslef any of my items either! Please Update and fix this plugin. I think it has great potential!
Right now this doesn't work at all, it gets enabled but receipes dont work and you cant create items. Please I beg you update this to 1.6.1. This is a great plugin with a brilliant idea, and im not alone thinking it is-
Is it possible to use custom items in custom item's recipe? Please reply back!
What about potions and those kind of effects? You could make a switness potion use nausea and call it vodka, would be cool.
For your new version, if you even intend on doing a new version, you should try and add the support for "Heal" for a bility. For custom health-giving items.
well its not a bug they can craft it but they cant use it with abilities, at least it work like this on our server, but i have different idea as its problem for us : ppl atack other players with item abilities even n non pvp area. Can you add world guard support for this plugin ?
When i Set UsePermission to true and in my PEX permissions.yml i add to default - -custom-items.SwordExample but it doesn't block it and defaults can still craft it. Is this a bug??
@Olivierroi
You can only add enchantments to weapons/armor. (so you can't add sharpness to a stick)
Also, if you want to add lightning, you put 'Lighting' not 'Lightning'
As soon as I change the enchantments on the SwordExample, when I use the command ./ci create SwordExample Olivierroi, it says item doesn't exist? When I remove the enchantments I added, it works fine...!? Any1 could help me I would really appreciate!