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
@SydMontague
No not yet, sorry.
Does this plugin work properly with 1.0.1?
@H4Mm3r19
Soon... ;)
Which means when Bukkit sort their crap out and release a new RB.
Any chance to see it updated ?
LOVE LOVE LOVE this idea.
I use PEX and ModifyWorld to define groups on my server. Players gain the ability to own increasingly valuable and durable items as they progress through the ranks. An unfortunate side effect of ModifyWorld is they can make the item but as soon as they try holding it they drop it. I could allow them to pick up disallowed items, place them in chests and just disallow the use but that would cause even more confusion I think.
Preventing the recipe to begin with is the perfect compliment to ModifyWorld!!!
Unfortunately I don't use Spout so I was glad to see your to do list :P Bookmarked.. I'll be one of the first to try this when it is independent of spout :D
@Zantom07
kk thanks^^
@p000ison
Furnace support is not possible with the current state of bukkit. I'll add data values.
@Zantom07
yep, I only wrote some personal plugin and skills for Heroes. I wanted to try to add support for Furnances and datavalues.^^
@p000ison
1) No, because it's too much hassle for me to put out the source code. I just can't find the time to spend another 10 minutes pushing all the files to github. 2) You aren't a developer. Can I see some of your work first before I go publishing all my code?
Also, I have to update it for the new RB anyway. If you just suggest the ideas I'll do em along with the update.
@Zantom07
Heyho, could you maybe release your sourecode? I only want to add a few things. Would be so great. Thanks in advance.
@Razherrt
Enchantments may be possible with the new recommended build. Potions - very unlikely unless bukkit actually listened to the ticket I put in to leaky.
hi, I was wondering if you can use this to prevent certain nodes to enchant certain enchants and make certain potions. Really looking for a plugin that will allow this.
heyho,
a great feature would be that you can list the items in the config wich you want to block/allow.
Maybe like this(like CraftGroup):
Global-Blacklist:
- -5 #Deny crafting of wood
- -* #Deny crafting of every item.
node1:
- 5 #Allow crafting again
node2:
- -280 #Deny crafting of a stick for this node
Then you can give someone the node banrecipe.node1 to allow wood or banrecipe.node2 to deny the crafting of a stick. This would make the plugin much more usefull and would help me with a problem with too much nodes. Here is the sourcecode of craftgroup, wich is outdated: https://github.com/FrozenBrain/CraftGroup
Thanks in advance! ;)
MfG p000ison
@joshua147
It's very strange the way PermissionsEx behaves. Thanks for the tip however! I'll see if I can get it added to the Permissions Setup page.
Also thanks for the compliment. Means a lot to me!
This plugin is great! I wish you had a donate button because this plugin has saved me a lot of trouble. One question though. It seems that with permissionsEx, I have to place the banned items before the banrecipe.* line, if not, it allows the player to build anything. Is that normal? Was not sure if all plugins read the permissions file top to bottom in that way,
Thanks Again!
@EstJoel
You could try this : ^banrecipe.46
Or you could update spout. Im not sure but seems like its spouts fault.
(http://getspout.org/)
@p000ison If you use bPermissions, that's great 'cause I use it too, but I can't get that plugin working :S Maybe you can help me: When I want to ban a recipe for a certain group and make a permissions node in the bPermissions' world.yml like this: ' banrecipe.46' then I get the error in the console 'Expected block end but found block mapping start...' or something similar. Even if I make the node like this '- -banrecipe.46' or '- - banrecipe.46' I still get the error... If I type in '- banrecipe.46' then I can't craft anything. What should I do? (I just used 46 (tnt) as an example, I think it also is banned for all by default)
@Zantom07 Hey great plugin.
atm its maybe the best crafting-restriction plugin, because craftgroup is outdated and doesnt work with Heroes and Incraftible doesnt support something like whitlist the items.
This plugin works great with Heroes.
I only miss 2 features:
- Data values like 35:8 or 263:1
- disable smithing
So I have no issues with this great plugin. Works great with bpermissions.
@Zantom07
up?
@KBKWilliamsson
Yes the user without permission would still be able to place it. This plugin prevents it from being crafted in the first place which would eliminate the griever even acquiring the materials, or an RPG style limitation system. The idea also is that you can then create places where they must be bought (e.g. GroupA cannot craft 5, GroupB can. GroupB make profit by selling 5 to GroupA), and if a person who is in a group which would normally not have the permission for 46, then it can be given to the them in an exception case.