Plugin category: Mechanics, Misc Suggested name: ExamplePlugin What I want: I'd like to prevent all players from brewing certain potions, but they can still use the potion if they somehow gets their hands on one. Only one method is needed. Method 1: When certain ingredients are placed in the brewing stand, a message will pop up saying "You cannot brew this potion", and the product will not be made. Message is customizable. Method 2: If that is not possible, the potion is detected upon complete brewing it. The potion will be removed, and a message will pop up "You are not allowed to brew this potion. Potion removed!" Message is customizable. Ideas for config: If preventing ingredients: Code: config: blocked_ingredients: 1,2,3,4,5,6 #IDs of disallowed ingredients message: "You cannot brew this potion" #Message sent to player when attempting to brew a blocked potion If removing potions (when method one is not possible): Code: config: blocked_potions: 1:1,2:2,3:3,4:4 #IDs of blocked potions (I don't know how damage values work, you can change this if this way doesn't work) message: "You are not allowed to brew this potion. Potion removed!" #Message sent to player when removing a potion Ideas for commands: /stopbrew reload - Reload the config file Ideas for permissions: stopbrew.exclude - exclude this person from the plugin's effect When I'd like it by: Before October 29.
Ok Ill get to work on it! Hmm on second thought I think it would be better to wait until 1.4 craftbukkit What do you think? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
An existing plugin does something SIMILAR. You may be able to use it until you get a custom plugin done: http://dev.bukkit.org/server-mods/simpleitempermissions/ Users without the right permissions simply can't craft ANY potion, which I know isn't what you want, but may still be of help.
Hmm...Sure, if the 1.3.2 version gonna break when 1.4.2 comes out. There are some potion changes in 1.4.2, so if you think it gonna be easier to work in 1.4.2 version, then I will certainly wait for it. Thanks for the suggestion, but I only want certain potions to be prevented, ex: poison, harming potion, instant heal, etc. I will keep it in mind tho EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ya they havent added the features so you can hook into 1.4 stuff and I would constantly have to update the plugin plus 1.4 dev bukkit is pretty glitchey
Not really that I want to prevent only bad potions, but I want to prevent specific types of potion. What I'm going to use this plugin for is creating a RPG server that doesn't allow some unfair potions to be brewed. For example, fire resistance potion, instant heal potion, harming potion, and their branches. If you need to, I will give a list of the potions I want to prevent.