Custom Potions
General Description
If you have haven't had your head under a rock for the past month or so you would know that custom potions are now a reality thanks to custom NBT tags but what if you want to run a server game that required unlimited speed potions or even some not added into the game just yet without restarting the server to edit NBT and chests and inventories why can't we just spawn in the potion with NBT data, Well now you can!
Commands
/cp - Lists the Custom Potion Aliases
/cp <potion name> <strength> <duration> - Edits a potion/water bottle in your hand to add the specified potion effect
/cp <player name> <potion name> <strength> <duration> - Edits a potion/water bottle in another player's hand to add the specified potion effect
/cp give <player name> <isSplash(True or False)> <potion name>:<strength>:<duration> - Gives a player the a potion with the specified effects and you can do the '<potion name>:<strength>:<duration>' for as long as it lets you
/cp me <isSplash(True or False)> <potion name>:<strength>:<duration> - The same as /cp give <Your name> (Not working, need to redo the code)
Permissions
/cp - No Permission Node
/cp <potion name> <strength> <duration> - cp.transform
/cp <player name> <potion name> <strength> <duration> - cp.transform.others
/cp give <player name> <isSplash(True or False)> <potion name>:<strength>:<duration> - cp.give.pther
/cp me <isSplash(True or False)> <potion name>:<strength>:<duration> - cp.give
Quick Tutorial
Little Info
If you find any bugs or have any ideas you want implemented send a ticket and I'll answer
Donation Message
If you feel really nice today you can Donate to help the development of plugins like these my clicking my Donate button at the top-right of the page
Any chance of creating an API for the plugin so other plugins could hook into it. Thanks
He's cheating on your plugins!!! :O
vvv
@Valon750
That's not my plugin...
@ffaen123
Erm, unless I am misunderstanding the question, there are a lot of drug mods that make eatable food (reed, sugar, mushrooms) apply a certain potion effect.
Source(s) http://dev.bukkit.org/server-mods/drugmeup/ just search up drug under the server-mods category and you'll see a few other examples. ;)
@rogerin0
Nice idea! I am working on that right now.
@Faldonboy I do not think this is possible with the code currently implemented, however I'm not the coder :P
@rogerin0 Hmm seems interesting...
I'm not sure this is doable but I know for a fact that it would be a very welcomed addition and would definitely get more people interested in this plugin if you could expand it to allow adding potion effects to any edible or drinkable item. Also I know its not a potion effect but being able to set milks remove-all effect to a potion would be awesome too.
I'm suggesting this because a lot of servers I've been on since 1.4(mine included) have started making custom food items craftable (ex: 282:5 = vegetable soup) on my server. It would be cool to be able to add potion effects to these new food items.
Do you think it would be possible to add a command where a player gives himself the specified potion? I'd like to let some players spawn potions for themselves, but not for other players. Additionally, would it be possible to specify the quantity of potions given to the player?
Thanks in advance!
@graywolf336
Thanks!
Just got to say, this is down right awesome! :D Let's just say, if you combine Nausea, speed, and jump people think they're on drugs. :p haha thanks for making this, it made my day and a lot of my server's day ;)
@Reddy360
Thank You Easyer Map Makeing Like That I Got one More Thing To Ask You Cause f@ck the capital letters.I got another ideea look make a custom mob spawner so when you look at it you do /spawner zombie [Headgear] [chestplategear] [legging gears] [boots gear] [SwordGear] if you dont want hem to weare one of them you do like example i want head and diamond sword /spawner zombie ihelmet 0 0 0 DSword There another ideea just so you get it same command at the armour thingy /spawnmob zombie ihelmet 0 0 0 DSword it would be really nice dude!
@sception
To give a splash potion of blindness,
/cp give <name> true blind:<str>:<time>
If isSplash = true, the potion is a splash potion.
But juding by your other comment I guess you got it, have fun :)
Just tried it on my server, Works great!
made our Global War event really fun!
Nice job :)
Thanks
Could you give example of this command?
/cp give <player name> <isSplash(True or False)> <potion name>:<strength>:<duration> - Gives a player the a potion with the specified effects and you can do the '<potion name>:<strength>:<duration>
if i want to make the potion splash blind potion. How would i do it?
I am stuck in isSplash part.
@valeriu1998
Sounds like a good idea I'll add it to my list of things to do.
Hay If You Are Working On This It Would Be Woundefull! If You Would Also Make Zombies Wear Armour With Just A Command! But I Think Essentials Team Are Working On This.. But Still It Would Be Alot Awesome!
oki thanks :)
@sception
I'm waiting for Bukkit to review the file and allow it to be released.
so, where do we download this... ?
:D very cool i cant wait for the release