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
@RainbowAdvenger
That's what appened to me.... just some wrong custom item in the items.yml
Can I disable the safe enchantments? I want to make a chest (link with plugin) and it need some rare enchantments like efficiency and fortune
Siemka, mam dwa problemy: 1. Kiedy mam zamiar zrobić custom item niemoge użyć np. id patyka, aby patyk był tym Custom Itemkiem. 2. Czy [znasz/jest opcja] zrobiena sklepu z Custom Item? Mianowicie chodzi o to, aby Custom Item dzialal w ChestShop, lub miał wlasne ID, to by ulatwilo sprawe wielu osobom. Jesli znasz plugin ktory obsluguje takie Custom Itemy, prosze napisz.
PS. Plugin SignShop poznaje bronie lecz niewiem jak sie kożysta z signshopa.
Hello, I have a bug, whenever I go to craft an item, one of my custom items appears in the crafting table, can anyone tell me how or if you can fix this? I'm using 1.6.4
When custom enchantement ppear on this plugin? I really need it, i use enchant anything for the momemt, but i cant add color on the name....So i really need customitems ;)
When is the next update going to be available?
Hi I can't seem to get my custom item to work. Every time I run the server with my item it give me this [19:06:33] [Server thread/INFO]: [CustomItems] Enabling CustomItems v1.6.0 [19:06:33] [Server thread/INFO]: [CustomItems] Loading config and items... [19:06:33] [Server thread/ERROR]: Error occurred while enabling CustomItems v1.6.0 (Is it up to date?) java.lang.NullPointerException at org.jakub1221.customitems.ConfigDB.checkData(ConfigDB.java:607) [?:?] at org.jakub1221.customitems.ConfigDB.Reload(ConfigDB.java:420) [?:?] at org.jakub1221.customitems.ConfigDB.Startup(ConfigDB.java:278) [?:?] at org.jakub1221.customitems.CustomItems.onEnable(CustomItems.java:51) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] [19:06:33] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
Pleas Help
Is there a way that if you want to sold that certain item, it'll be just sold? Like on an item shop perhaps? Except using Command Blocks though. And is there also non-dropable items, and non-breaking items also?
the version for 1.5.1 works on 1.7.2 :)
Is there's any available versions for 1.7 ?
@phatfinger5
This is one of the features in CustomItems v2.0.0
Oh, I am also wondering if there is a way to make it so that there is percentage of a chance that poison/nausea will go on to the person when they are hit. I am not wanting the person hit to always get poisoned with poison 2 and die within a few hits, I want them to have say a 50-50 chance.
Can't wait for an answer!
@Jakub1221
Ok.... thanks for the help.
@phatfinger5
No, you cant now, but its nice thing to add in upcoming update :)
I have a question lots of us would like to know (I think). Are you able to change the poison level? Like from poison 2 to poison 1? I personally think it's a little.... op. I want the people against a person with it not be killed in two or three hits.
If you answer, or if anyone else does, Thanks!
Well, I'm not the best with plugins i'm currently trying to find out how to make it so it's not a 100% hit chance for the poison, blindness, stun, blast and ETC For example: When I try it out whenever I hit someone they always get poisoned with the poison sword I made so if anyone can help me out and tell me what to do to make it so Its like only a 2% chance to actually hit someone with poison I don't want it to always work so its fair for the members. Please reply as fast as you can thank you!
Update to 1.7.2 please!
@JoaoEstrella
Thank you haha
This is a great plugin! but I wanted to make a explosionbow that you can craft with wither skulls but is says: [WARNING] Recipe error - ID 23821 does not exist! and the ID of a wither skull is: 397:1 and of a bow is: 261!
p.s. I speak Dutch so my English is bad!
@Pantspot
? /ci create <item name> <player>