Custom Recipes and Crafting Plugin (1.19.4, 1.18.2) – Spigot
With Custom Recipes and Crafting Plugin (1.19.4, 1.18.2), you can effortlessly create and disable any recipe within the game using intuitive GUIs. It’s a straightforward process.
Features:
- Craft with your custom items.
This means you can add recipes with enchantments, custom names, durability, potions or anything you can think of that exists in the game.
- Full GUI support.
Editing recipes, creating recipes, viewing recipes and ordering the recipes in the viewer GUI are all possible through inventory GUIs.
- Middle click to edit.
Opening the editor for a recipe is not done through a command but through a simple middle mouseclick on a recipe in the recipe viewer. This does require permission.
- Set permissions for a recipe.
In order to completely let server owners be owners of their servers, permissions for the custom recipes exist. People that don’t have the permission for a custom recipe, can’t craft or see it. The ‘seeing’ part can be configured.
- Hide recipes but still make them craftable.
You can hide recipes for the players that don’t have the ‘bypass’ permission for it. They’ll still be able to craft the recipes if they have permissions for the recipe.
- Disable vanilla recipes
There’s a GUI that you can use to disable all the vanilla recipes you want. No more overpowered, cheap diamond/netherite armor! (that’s how I use it)
- Edit items in-game.
To make cool recipes an item editor is needed. This item editor allows users to set colored lore, set colored names, set the durability, add enchantments, add itemflags or even set the localizedname of items. And for the record: item flags are the things that allow you to hide enchantments or attributes on items!
- Tab completion support!
I personally think this is an obligated feature to have since the 1.13 update of Minecraft. No more remembering all commands, just the first few letters of a few basic ones.
Commands:
These are the commands related to custom recipe creation and viewing.
- /ceh
Use tabcompletion on this! - /recipes
Open the recipe viewer GUI. - /ceh createrecipe [key] [perms] Create a recipe with the specified key and permission. If no arguments are given it’ll generate a key for you and let the recipe require not permission.
- /ceh specs [key] Show the specs of the recipe with the specified key. The specs only include the permission currently.
- /ceh setpermission [key] [perms] Change the permission of the recipe with the specified key to new_permission.
- /ceh changekey [key] [newKey] This command allows users to change the key of the recipe with the specified key.
- /ceh cleanitemfile
When creating recipes, your custom items get saved to an “items.yml” file. When recipes get altered, the items don’t get removed. Use this command to remove unused items. - /ceh reload
Reloads the whole plugin!
These are the commands related to item editing.
- /edititem
This is the basic command for editing items. Please use tab completion on this. - /edititem name [name] Edit the name of the item in your main hand.
- /edititem durability [1-100] Set the durability of the item in your main hand to [1-100]% of it’s max durability.
- /edititem enchant [enchantment,clear] [level] [… etc.] Set your specified enchantments to your held item. It removes all enchants (will not remove old enchants, any more) and then adds the specified ones. Please let me know if this is weird and needs modification. For clear old enchants use clear instead of the enchantment name.
- /edititem itemflag [itemflag] [itemflag] [… etc.] Toggle the specified itemflags on your held item.
- /edititem lore [line_number] [lore] Set the specified line of the lore of your held item to be the specified tekst. The tekst section can be left empty if an empty line needs to be added.
Permissions:
- craftenhance.edit
/ceh createrecipe, /ceh cleanitemfile, /ceh reload, /ceh setpermission, /ceh specs, /ceh changekey. This is also the permission required to middleclick recipes to open the editor. - craftenhance.view
/ceh viewer, /recipes - craftenhance.edititems
All commands that start with /edititem. - craftenhance.edit_categorys
Give you option to edit category’s, so you can move recipes from this category,remove category,change category name and change the display item.
How to install:
- Download a plugin of your choice.
- Place the .jar and any other files in your plugin’s directory.
- Run the server and wait for it to fully load.
- Type stop in your Minecraft server console to bring the server to a clean stop.
- Run the server.
- All done! Your plugin should be installed and ready to be used.