BanRecipe
BanRecipe
Block that Recipe!
Now with 100% more furnace support!
This plugin does NOT support Tekkit!
BanRecipe is a plugin designed to stop certain people from using certain recipes, stop certain people from enchanting certain things and stop people from smelting certain things. It is designed as an improvement over other plugins such as NoCraft, as this plugin allows you to block individuals using permissions.
Dependencies
A BukkitPerms Manager (e.g. PermissionsEx or PermissionsBukkit) - Not required, but greatly improves functionality
Features
- Allows items listed in the config to to be blocked from crafting!
- Items can have permissions that allow users to still be able to craft blocked items. Items can share permissions (that means less clutter in your permissions.yml)!
- Does not affect the ability to have or spawn the item, only craft it. Very useful for RP servers with group specific traits.
- Customisable message sent to user trying to craft.
- Allows specific enchantments to be blocked from use with customisable message!
- Permissions allows for control of enchantments too.
- No need for Spout or any other external plugin!
- Allow certain items to be blocked from smelting - stop people ever making gold ingots again!
Mods
I would like to make it clear that I do not officially support mods. While my plugin should work with most mods, some mods don't, the mods this plugin are not compatible with are included in the list below:
- Tekkit
How to use the Plugin
Make sure to read up on how to use the plugin before you download!
Server Owners:
- Config...
- Permissions...
- Only command is /banrecipe reload in order to reload config file.
(Enchantments are based in permissions, Craft Items and Furnace Items are based in the config.)
Planned Features
- Potion support (only possibly).
Changelog
Version 2.0
- FURNACES! FURNACES! YEAH! You can now block smelting items.
- Data value blocking! Now you can block individual wool colours etc.
- New command - /banrecipe reload. This allows you to reload the config without restarting server!
- Added new option to enable/disable enchantment blocking (default=true).
- MAKE SURE TO DELETE CONFIG BEFORE UPGRADING!
Version 1.0
- Big overhaul of code and config.
- Spout support dropped
- Enchantment blocking
- New method of recipe blocking
- BanRecipeHook API merged into code.
Version 0.4
- Changed from Permissions 3 to SuperPerms
Special Thanks
@Afforess and the rest of the @SpoutDev - Greatly helped with this project. Everyone else who helped in the thread I posted regarding help :p
Really need the Data value for dyes ! Good work !
@nethervvoid
My plugin does not officially support external mods. If it works, then great but if it doesn't (in your case) I apologise but I am not going to try to fix it.
I will add a section to the plugin description saying I do not support Tekkit.
First off I'm running a Tekkit 3 server (craft bukkit 1.2.5 r1.3). Your plugin is working great to prevent nano and quantum armor crafting etc, but the problem I'm having is I get a SEVERE error "could not pass event PrepareItemCraftEvent to BanRecipe" when I put a non-vanilla craft recipe in the crafting table. It doesn't give this message if it's a recipe I've disabled.
Any ideas? I'd rather not fill up my log with junk if possible. Also I've tried other plugins, and yours is the only one that seems to work, so thanks for that at least!
Oh, wow. Exactly what i needed :)
I tried using this today I found some wierd bug when you craft tnt and tnt is crafting is disabled what usually happen is tnt will blink then disappear then the message after that if you cancel it it will delete the sand while leaving gunpowder.
@Luxius96
Same D:
@Zantom07
@Luxius96
No, I cannot support mods or old craftbukkit versions. It should work but if it doesn't I can't do anything about it.
Can you add a support for Equivalent Exchange and Industrial Craft 2?? ... But need CB 1.1 R-4 because i use tekkit :(
@jhs232
I don't see why not, but there are no guarantees.
@Cyoll
That's very odd, there shouldn't be a limit. Does your console display any errors?
Hello,
In my config i put some restriction for IDs like :
ids: - 282=banrecipe.chasseur - 1=banrecipe.mineur - 44=banrecipe.mineur - 67=banrecipe.mineur
but, i have approximately 125 lines of restriction, and in my config, at the 28th line the craft restriction not working. From the 28th until the 125th restriction does not work. There's a limit? (Excuse me for my bad english)
Is it possible to block items from Guns+ ?
Is it possible to block Smelting?
@QBcrusher
Fixed for version 1.2.
4/20/2012 3:42:17 AM [SEVERE] java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String 4/20/2012 3:42:17 AM [SEVERE] at com.relick.banrecipe.BanRecipe.checkConfig(BanRecipe.java:68) 4/20/2012 3:42:17 AM [SEVERE] at com.relick.banrecipe.BanRecipe.onEnable(BanRecipe.java:47) 4/20/2012 3:42:17 AM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 4/20/2012 3:42:17 AM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) 4/20/2012 3:42:17 AM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 4/20/2012 3:42:18 AM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) 4/20/2012 3:42:18 AM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) 4/20/2012 3:42:18 AM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371) 4/20/2012 3:42:18 AM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358) 4/20/2012 3:42:18 AM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) 4/20/2012 3:42:18 AM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) 4/20/2012 3:42:18 AM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Can some1 help please?
@Neutss
Spout is completely unrequired ;)
Having it won't stop it working, nor will not having it.
If I install it without Spout , it will work ? And can I install Spout without all others features ?
@mastergalen
:O So it does! I've changed it now.
@Zantom07
Oh, right :P. Thanks for the reply.
@Zantom07
Ah thanks for your swift reply :)
You should change it in the sidebar to the right with the recent files it says:
"v0.4 for CB 1.1-R4"
@rellac
Delete your config and retry.