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
@Reddy360
What kind of stuff are you adding?
@uhh12345
Currently adding some new cool stuff to the plugin, update will be out when it's done. ;)
An Update Would Be Nice
Update 1.5 please ;')
Update Plz D:
I can't seem to make a potion have a duration of more than 9 seconds, no matter what I enter for the duration. I typed /cp jump 10 12000 (to make the potion last 10 minutes) but it still gave me jump boost for only 9 seconds. What am I doing wrong or is this a bug?
@Jones988
There is this one shop plugin that i believe could actually give you the ability to sell these custom potions. its called: Quick Shop. here's link: http://dev.bukkit.org/server-mods/quickshop/
Much better it would be really good and epic '!
@Theloluex
Maybe a feature in the next update. ;)
Too bad we can not create potions kit with because they do not have ID
<<reply hotshark4>>
Yup it does i have it, it's awesome!
@Pokeluigimon
I haven't been told of any of these bugs, I'll have to do some testing.
Remember people, if you find a bug, leave a ticket.
@_Wanderer
It doesn't seem to work in 1.5. I tried speed II potion with duration 10:00 and it only lasted a millisecond. It's pretty glitchy for me. Sounds like a great plugin, but it's not working for me. :/
@unon1100
And does it work w/ 1.5?
It would also be cool if you could combine things, like have a potion of Swiftness AND jump boost! :D Awesome mod!
Add the ability to sell potions?
I will be testing in 1.5
Fun facts about using this plugin:
In the command /cp <potion name> <strength> <duration>, the strength and duration terms are mixed up, so it's actually /cp <potion name> <duration> <strength>! :D
Also, duration is measured in seconds. The game automatically subtracts 1 second from whatever you set it to; e.g. "10" becomes "0:09" in the game display.
I think it would be awesome if you could add potion effects to any consumable item, like apples or milk. That way you could secretly poison apples to give your friends in MP or you could have a way to add potion effects discretely, so that the effects don't show on the tooltip.
Just my personal opinion, but this is all I can see this plugin needing, aside from modded potion compatability.
It would be wonderful if you added a way of changing the color of the custom potions. (Example: Change a custom potion with wither and poison from the default color to the color of another potion) Like /cp give <player name> <Color (potion name)> <isSplash(True or False)> <potion name>:<strength>:<duration>
or maybe something like /cp color (potion name) which changes the potion in hand to the color of the specified potion