RecipeManager
RecipeManager 2
Complex recipes made easy !
Features
NOTE: I will refer to some .html files in here, those files can be found in your /plugins/RecipeManager/ folder after you load the plugin the first time. The html files will also be updated automatically on new versions.
- Add new recipes (or remove existing ones):
- Shaped or shapeless recipes with optionally multiple results
- Furnace (+ Blast Furnace and Smoker) recipes with optional custom cook time and optional special fuel
- Fuel recipes with custom burning time or even random time from specified range
- Anvil, Brewing, Campfire, Stonecutting, and Compost recipes
- NEW: Grindstone and Cartography recipes with configuration for disabling default functionality
- See 'basic recipes.html' for more info.
- Making recipes more special with flags, featured flags:
- @permission to limit a recipe (or result) to specific permission node(s)
- @remove, @restrict and @override to remove/restrict/override existing recipes, including Minecraft recipes.
- @ingredientcondition to make extra requirements from ingredients like enchantments, ranged data values, stack amounts, etc
- @keepitem to keep an ingredient from using up and optionally damaging it in the process
- @modmoney/@reqmoney and their experience and level counterparts to require/give/take money/exp/level from crafter
- @cooldown to limit the usage of the recipe
- And a lot more, see 'recipe flags.html' for all of them including documentation.
- Flags can also be added to results to make them more special, some featured result flags:
- @cloneingredient to clone an ingredient's features over to the result, like data value, amount, enchantments, etc
- @itemname and @itemlore to edit a result's display name and description with colors
- @potionitem and @fireworkitem to design your custom potions and fireworks
- @getrecipebook to get a RecipeBook as result, ones generated by this plugin with recipes in them
- And a lot more, see 'recipe flags.html' for all of them including documentation.
- Flexible recipe files to add your recipes in:
- You can use any kind of spacing and letter casing you want in recipe files, also supports comments
- Design your file names and folder structure as you want in the 'recipes' folder
- Auto-generated recipe books with high customization:
- Pick which recipes to be added and to what volume
- Re-arrange them as you like
- Books that players have are automatically updated when edited by admin and reloaded
- For more information see 'recipe books.yml' file.
- Other features:
- Local documentation files for ease, the .html files that will be generated the first time you run the plugin
- Customizable settings, messages and item/data/enchant aliases in their respective YML files
- Supports Vault for economy and permission groups
- API for plugin developers, custom events and utility methods for most features
Installing or updating
- Download the latest version of the plugin
- Place the RecipeManager.jar file in the plugins folder and start/restart the server
- Now the plugins/RecipeManager/ folder is created which contains configuration files (.yml) and documentation files (.html)
Using the plugin
- Run the plugin at least once to allow the .html files to be generated, then start with 'basic recipes.html'.
- Plugin settings can be configured in "plugins/RecipeManager/config.yml"
- When you're done editing, type rmreload in server console to reload everything without a server restart.
- Commands and permissions can be found in 'commands & permissions.html' file.
Changelog
In the jar file, auto-extracted when first ran to plugins/RecipeManager/changelog.txt and on GitHub.
Having problems, found bugs ?
If you have any issues or found some bugs, please create a ticket. But first you should check other tickets if the issue has already been reported and then check out the Discord server below to ask for help.
Note: I don't support any previous versions other than the absolute latest, so if you used an older version, update and test again.
Source code
Source code is on github, feel free to look at it, improve on it and provide feedback: https://github.com/haveric/RecipeManager2 If you need, you can use code from my project but please provide credits to haveric and THDigi.
Support project
If you find my plugins useful and want to help support future development and faster updates, please consider donating and fueling my need for coffee:
How do we use ingredientcondition for fuel recipes? I don't want people using custom blaze powder as fuel.
smelt UncommonDustSmelt
sugar % 20
= ink_sack:4
@name §9Uncommon Dust
@lore §7Craft with Armor or Tools
@lore §7To make an unidentified §9Uncommon §7Item
@lore §7Smelt 3 with Blaze Powder
@lore §7to Upgrade to §dRare §7Dust
@Lore §7Blaze powder needed:§6 2
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item | amount 3
fuel UncommonDustSmelt
blaze_powder % 10
@ingredientcondition blaze_powder | name Blaze Powder
This also doesn't work
fuel UncommonDustSmelt
@ingredientcondition blaze_powder | name Blaze Powder
blaze_powder % 10
In reply to Milk_milk:
When I add 3 pieces of dust at one time or side by side the recipe works but if I add them on top of each other 1 by 1 nothing happens.
craft
sugar + sugar + sugar
= ink_sack:4
@name §9Uncommon Dust
@lore §7Craft with Armor or Tools
@lore §7To make an unidentified §9Uncommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
combine
sugar + sugar + sugar
= ink_sack:4
@name §9Uncommon Dust
@lore §7Craft with Armor or Tools
@lore §7To make an unidentified §9Uncommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item
craft
sugar
= ink_sack:4
@name §9Uncommon Dust
@lore §7Craft with Armor or Tools
@lore §7To make an unidentified §9Uncommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item | amount 3
combine
sugar
= ink_sack:4
@name §9Uncommon Dust
@lore §7Craft with Armor or Tools
@lore §7To make an unidentified §9Uncommon §7Item
@ingredientcondition sugar | name §fCommon Dust | lore §7Craft with Armor or Tools | lore §7To make an unidentified §fCommon §7Item | amount 3
In reply to Milk_milk:
SMELT [recipe name]
<material>:[data] % [time]
smelt
clay_brick % 300
@ingredientcondition clay_brick | name §7Test | lore §8Test
= clay_brick
Smelt time doesnt work. (v. 1.12.2)
In reply to Adurath:
Smelting potion doesn't work for me. How can I fix this? For example:
smelt
potion
= stick:0:1
I also can't remove leather helmet:
craft
@remove
leather:0 + leather:0 + leather:0
leather:0 + air + leather:0
= leather_helmet:0:1
In reply to SoSeDiK:
In reply to haveric:
Great plugin, been using it on and off for a little while on a personal server. Currently, however, I'm trying to do something super specific. I have a feeling it might not be possible, and that the area I'm having trouble with is as much or more a result of lack of features in vanilla minecraft's commands, but I figured I'd ask here in case I was missing an obvious solution.
What I'm trying to do is have a player craft something with a written book and have that player receive nothing in return. Meanwhile, a copy of that book is deposited elsewhere in the world (always the same spot). I can live without it, but having the contents of the book preserved in the new location would help me tremendously.
So far, what I have is this:
I know some of that is superfluous, and that other parts just plain won't work, I've just been experimenting with this for a while.
In reply to onwardprogress:
In reply to haveric:
In reply to onwardprogress:
In reply to haveric:
Can I add item attributes to result items?
I know I can modify the name with @itemname <name> and lore with @itemlore <lore>, or do the attributes just go in the data section of the "name:data:amount" part?
Any help would be apreciated!
In reply to Grubbae:
Is it possible to have multiple recipes that use and create the same item?
I want to have socket gems on my server
So coming 4 emerald socket gems upgrade to the higher socket gem and then 4 of those combine to the one above that.
In reply to Milk_milk:
i dont know if this plugin already has this feature, but i wrote a recipes search plugin, with localized searches and some additional features
https://dev.bukkit.org/projects/recipe-search
In reply to AT_HE: