Knokko's Custom Items
Note: this plug-in requires a different installation procedure than most other plug-ins. You really need to check the installation section or one of the tutorials.
Description
This plug-in allows the owners and developers of servers to create custom items with their own textures. (It requires a server resource pack.) Everyone who would like to use this plug-in needs to download the Editor and use that to create their own custom item set.
Installation
- Download and run the Editor. Editor.jar can be found in the Files section. If you have a working Java installation, you can just download and double-click this file. If not, you can either install Java or download a native version of the Editor from https://github.com/knokko/custom-items-gradle/releases
- Put this plug-in (CustomItems.jar) in your plug-ins folder
- Configure the items and textures you want (in the Editor)
- Click on the Export... button, and follow the steps (in the Editor)
If you need more detailed information about these steps, you can ask for help on the Discord server.
Discord server
Invite link: https://discordapp.com/invite/bmF3Zvu
New tutorials:
https://www.youtube.com/watch?v=GsC-pNlBjwg
Old basic tutorials:
Text: https://knokko.github.io/custom%20items/index.html
Video: https://www.youtube.com/playlist?list=PLcc-tPs9PuADC-shEBRynL9s2j6slSWCa
Old advanced tutorials:
Custom containers (video): https://knokko.github.io/custom%20items/tutorials/containers/index.html
Wands and guns (text): https://knokko.github.io/custom items/tutorials/wands and guns/index.html
Troubleshooting
If you can, use /kci debug
If that doesn't work, check whether CustomItems is listed in /plugins
Features
-Custom items with their own display name, lore, attribute modifiers and textures
-Custom tools with their own damage and durability
-Custom bows with their own damage, speed and durability
-Custom armor with their own armor value and other attribute modifiers, unfortunately without model texture.
-Crafting recipes that can use vanilla ingredients and custom items (or combined)
-Block & mob drops for custom items
-Custom containers (like a custom furnace, but much more powerful, unfortunately without block texture)
-Custom projectiles with custom wands to launch them
-Custom blocks (but still in beta)




Check the wiki for more information.
Source code (programmers only)
-
View User Profile
-
Send Message
Posted May 11, 2019In reply to Haxabur26273:
Managing item flags for custom items is definitely something that can be solved, but it will require a little time. For now, you can edit the lang.yml in the CustomItems folder in your plugins folder for things related to the durability and unbreakable (you could hide unbreakable by making it empty for instance). Also, you could for now use the lore to 'add' information until I make a proper way to implement that.
Since there are a lot of requests at the moment (and I have homework and other things I like), not everything will be fixed within 24 hours. If nothing weird happens, they should be done in some weeks.
-
View User Profile
-
Send Message
Posted May 11, 2019In reply to knokko:
I don't expect you to do every suggestion, I think this is more of a "Quality of Life" change to the plugin that I'd like because I feel it'd just be useful to everyone not just myself, and trust me, you can spend as long as you want! Like I said, just a suggestion, nothing serious, so take your time with life and creating this.
-
View User Profile
-
Send Message
Posted May 10, 2019Hello Knokko! Since I really enjoy your plugin and I think that this is something you are capable of - Can you somehow do that this plugin will work with the plugin "Ultra Chests"? The problem is on the side of the Ultra Chests plugin - it just does not know how to read the "somewhat broken durability" items. In the Ultra Chests config, the sword that I made in CustomItems and named "Dagger", and it is a wooden Dagger, is simply named WOOD_SWORD:1. With that name, the Ultra Chests plugin just does not work. When I change the name to WOOD_SWORD, it works, but no longer it is the dagger that I wanted to have. Can you actually do something about this, that the name in the config somehow displays differently so it will work, or should I ask the Ultra Chests author, to make it read your items?
- Thanks, Tony!
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
Hello Tony,
I have taken a look at the Ultra Chests plug-in, and it seems to use CommonCoreLib (you also have that plug-in, right?). I didn't do very much research, but it looks like you can define items in the config of CommonCoreLib. See this: https://dev.bukkit.org/projects/commoncorelib/pages/config-settings
To register custom items, you need to set the 'damage' of the item to register to the 'internal item damage' of the custom item and the 'unbreakable' to true. Also, you should add the necessary lore, attribute modifiers (CommonCoreLib seems to use attribute modifiers, although they are not shown in the tutorial in the config settings).
Since the method I suggested above is a bit complicated, I will look into a nicer way to do that. Luckily, his code is public and has a nice license, so I can create a modified version that will allow custom items more easily. However, this will take some time, so you will need the approach above in the meantime.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to knokko:
Hello and thank you for your again fast reply! I will look into it, and no, I didn't have commoncorelib installed before. It wasn't needed to have the Ultra Chest plugin working properly, so that's maybe why it wasn't really working. Thanks, will get back here if I succeed or not.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
Alright, so I tried your method of putting the amount of damage the item has taken in the config. I have put 1 damage of the item I want to use in Ultra Chest (Because I have 1 Internal Damage in custom items plugin) and a wooden sword ( Because I used Wooden sword too in customitems ). Now... it should work, right? Nope. The texture is the same as a wooden sword - and the durability is now UNBREAKABLE. It does not even work as a normal wooden sword now, cause its unbreakable. Technically - If the "amount of damage the item has taken" worked, the durability still would be unbreakable... Just because your plugin ( CustomItems ) cant read the item that Ultra Chest "rolled" in the "Loot Box". It would be a Weapon, that has the right texture from customitems, but would be unbreakable, with the same Lore: Durability x/x - The lore of durability from your plugin, but it wouldnt change just because it cannot be read anymore by your plugin, and the attributes like movement speed and something like that would not be on the item too. I hope you get what am saying.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
It was worth a try, but the plug-in didn't work exactly as I expected. And actually, if it did work, it would be readable by my plug-in because it simply assumes every unbreakable item that has taken damage to be a custom item (sounds like a fair assumption to me).
Then you will have to wait until I modify the plug-in.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to knokko:
100% I will wait! It is worth waiting. :) Good luck and thanks for even trying!
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
Ok, it looks like I did it.
You need to download my modified UltraChest from https://github.com/knokko/minecraft-plugins/blob/master/UltraChest.jar
and download my new Custom Items and Textures from https://github.com/knokko/Custom-Items/blob/master/Custom%20Items%201.12%20and%201.14%204.6.jar
When you register an item to the config of UltraChest, you should no longer set 'unbreakable' and 'damage', but instead set 'CustomItemName' to the name of the custom item as given in the editor (NOT the display name, but the name). Everything else ('name', 'material'... will then be ignored and thus can be left empty).
I will upload the new version of my plug-in, but that will need to wait for approval of the forum staff and I will contact the author of UltraChest and ask him to publish the modified version on his page since he deserves the credits and downloads.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to knokko:
Alright! I will look into it tomorrow. Today I have a "Free Evening" :) Thanks tho, knokko!
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
Hey knokko and thank you for somewhat trying to make this possible, but the plugin does not even work normally like before - when I open the ultra chest, nothing is behind the revealed "GLASS". I can even stack the glass and put it in my inventory, which it shouldn't work like that... It was not doing this before. Can you look into it?
EDIT - Another problem. The command /ultrachest register says, that the item ID was registered to config, but there is nothing. Hmm.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
I didn't notice the problems you are describing now. Could you zip your entire plugins folder and mail it to knokogator@hotmail.com?
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to knokko:
Hey! I already resolved the problem - I just had to remove the UltraChest folder so there would be new, folder that worked "almost" perfectly. Now, everything is running smooth - the only problem is.. that the texture does not work. And the durability mechanism does not work too. It is just again, a normal wooden sword, with a name from Custom Items ( Which actually is the same name, that I put in Custom Items, so at least that works ) and lore "Durability 150/150". I am sending you plugins: "Custom Items", "Custom Armor", "Knokko Core" and "UltraChest". That is all I think you'll need to see the problem yourself. ( I am including the resource pack you'll need to see with the texture of an item )
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to Forge_User_22778490:
For some reason, I did not receive an e-mail. Are you sure you spelled it correctly?
Also, don't forget to include your config of UltraChest and the .cis file as that will be required as well.
-
View User Profile
-
Send Message
Posted May 10, 2019In reply to knokko:
Hello! I had breakfast and I forgot to post it before it. It should be there now! Sorry.
-
View User Profile
-
Send Message
Posted May 11, 2019In reply to Forge_User_22778490:
Ah, you misunderstood how to use the new config.
You used:
items:
drevena_dyka:
name: 'Drevena Dyka'
material: WOOD_SWORD
amount: 1
lore:
- 'Durability 150 / 150'
- ''
enchantments:
item_flags:
- 'HIDE_UNBREAKABLE'
But you should use this instead:
items:
drevena_dyka:
CustomItemName: "drevena_dyka"
(The spaces seem to have been broken upon copying, but I hope you see what I mean.)
-
View User Profile
-
Send Message
Posted May 11, 2019In reply to knokko:
Oh yeah! Crap. Well, I did that before, and it gave me the bug I was talking about.. but I left the other information ( Like material, damage and stuff ) there. So that is why it wasnt working maybe. But now it works! Thanks again, knokko! :)
-
View User Profile
-
Send Message
Posted May 9, 2019Hello. I've got a question, I'm probably just doing something very dumb, or it's some general minecraft error that I'm unaware of, but I've created a whole set of armor everything works perfectly fine other than one thing- it has the same value as diamond, no matter what I make the armor value, when I equip multiple pieces of the set I have created my armor bar goes down and the damage I take goes up. So as far as I know it's not just a visual thing. Even though the armor pieces should be increasing my armor it decreases no matter what. Lastly the armor is actually dyed leather, so I don't know if that is effecting something. If anyone could help it would be greatly appreciated because I'm very confused. Thanks!
(Using 1.14 latest version and 1.14 Knokko Core)
-
View User Profile
-
Send Message
Posted May 9, 2019In reply to Haxabur26273:
Hello,
It looks like the bug you found indeed occurs in minecraft 1.14, I will investigate this...
-
View User Profile
-
Send Message
Posted May 9, 2019In reply to Haxabur26273:
Alright, I resolved the problem.
I uploaded a new version of Knokko Core where the bug doesn't occur (Knokko Core 1.14 2). It will probably available after 13 hours (it needs approval by forum staff first).
If you don't like waiting and trust me, you can download it right away from https://github.com/knokko/Core-Plugin-1.14/blob/master/Knokko%20Core%201.14.jar
All previously created armor pieces still won't work, but new pieces made by /ci give should work when you start using the improved Knokko Core.