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:
@Hoot215
I have no ideea what that error's all about... what craftbukkit build are you using ? I built and tested it on the latest RB, #1337 and works just fine.
EDIT: actually, it's due to the java version, you need Java 7... I'll try to see if I can build it on Java 6 to skip this stupid error.
EDIT#2: I released a minor version :}
Unfortunately, there seems to be an error preventing the plugin from loading. Here it is:
http://pastebin.com/raw.php?i=BjFTKMdc
@THDigi
That's great! I'll test it out right away.
@Hoot215
Dynamic size recipes (from 1x1 to 3x3) have already been done in v1.1 which will be released once I finish all of it's features :P
This is a really great plugin, but do you think that you could design the formatting so that it accepts a shaped recipe that is smaller than 3x3? For example, this is my current recipe for grass:
shaped
SEEDS + AIR + AIR
DIRT + AIR + AIR
AIR + AIR + AIR
GRASS
And this is how I would like to be able to do it:
shaped
SEEDS
DIRT
GRASS
Because otherwise crafting a piece of grass like this:
AIR SEEDS
AIR DIRT
won't work, and it will instead be required to be crafted like this:
SEEDS AIR
DIRT AIR
I don't know much about Java, but I'm assuming that your plugin requires exactly 4 lines for a shaped recipe. Instead, maybe you could make it so that recipes have to be separated by at least 1 line, and the last line of a recipe is used as the result, and everything before it be used as the ingredients? And also that the lines don't have to have 3 ingredients (e.g. 1 or 2 instead)? As I said, I don't know much about Java, so I'm not sure if this would be hard to code, but I think that it would be a really great feature.
@Codex_Arcanum
It's SMOOTH_BRICK, it's bukkit's item enumeration... I should post a list.
PS: sorry for the delay, I don't really visit this site, I liked the forums more.