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
-
View User Profile
-
Send Message
Posted Dec 25, 2012@miner2557
Yeah xD
-
View User Profile
-
Send Message
Posted Dec 24, 2012Don't you mean its not 1.4.6 ready? @reddy360
-
View User Profile
-
Send Message
Posted Dec 21, 2012For all people having issues, I will have a testing session and bug fixing rave and get the bug fixed and polish the plugin some more!
-
View User Profile
-
Send Message
Posted Dec 20, 2012i cant give myself a splash potion it always gives me an error in the comand like this:
2012-12-20 16:16:08 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'cp' in plugin CustomPotions v2.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_5.CraftServer.dispatchCommand(CraftServer.java:504) at net.minecraft.server.v1_4_5.NetServerHandler.handleCommand(NetServerHandler.java:988) at net.minecraft.server.v1_4_5.NetServerHandler.chat(NetServerHandler.java:906) at net.minecraft.server.v1_4_5.NetServerHandler.a(NetServerHandler.java:861) at net.minecraft.server.v1_4_5.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_5.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_5.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.v1_4_5.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_5.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:597) at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.IllegalAccessError: tried to access method org.bukkit.craftbukkit.v1_4_5.inventory.CraftItemStack.<init>(Lorg/bukkit/inventory/ItemStack;)V from class me.reddy360.custompotions.nbt.CustomPotions at me.reddy360.custompotions.nbt.CustomPotions.addCustomEffect(CustomPotions.java:23) at me.reddy360.custompotions.PluginMain.onCommand(PluginMain.java:119) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
-
View User Profile
-
Send Message
Posted Dec 16, 2012@Fwilip
Good idea, I'm gonna' start work on that.
-
View User Profile
-
Send Message
Posted Dec 16, 2012@Reddy360
So, you can't make from a potion you allready made, a splash? Only by giving a new one, but thanks though, i like this plugin alot!
-
View User Profile
-
Send Message
Posted Dec 16, 2012@Reddy360
sorry, i have no idea how to make a ticket and i posted this at 1 in the morning after several hours of trying to fix this. we use these potions for a lot on our server. im using an nbt editor plugin atm and its a pain in the ass. i hope you can fix it. great plugin btw.
-
View User Profile
-
Send Message
Posted Dec 16, 2012@Fwilip
When you do '/cp' you need to put in arguments and one of them is the <isSplash> boolean. A boolean is a true or false statement. So if I want a splash potion of super speed I do '/cp give reddy360 true speed:10000:10000'.
-
View User Profile
-
Send Message
Posted Dec 16, 2012Hey, i've a question, how do you make from a potion that you customized a splash potion? If not, that'll be really cool if you'll add it in
-
View User Profile
-
Send Message
Posted Dec 16, 2012@thegamingwolfs
I'll look into it but you should really submit a ticket for this.
-
View User Profile
-
Send Message
Posted Dec 15, 2012ok, so i install the plugin and it works fine... 2 days later it stops working entirely. just give me internal server error... i reinstall and reinstall and it keeps doing that... i even deleted all the plugins and worlds. that worked for 2 more days... then it broke again... i get this error when i do a command after it breaks. i need a fix soon. i cant live w/o this plugins its amazing.
15.12 17:34:09 [Server] INFO ... 15 more 15.12 17:34:09 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 15.12 17:34:09 [Server] INFO at me.reddy360.custompotions.PluginMain.onCommand(PluginMain.java:106) 15.12 17:34:09 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/Item 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:426) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:493) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:595) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.DedicatedServerConnection.b(SourceFile:30) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.ServerConnection.b(SourceFile:39) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.NetServerHandler.d(NetServerHandler.java:113) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.NetworkManager.b(NetworkManager.java:290) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.Packet3Chat.handle(Packet3Chat.java:44) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.NetServerHandler.a(NetServerHandler.java:861) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.NetServerHandler.chat(NetServerHandler.java:906) 15.12 17:34:09 [Server] INFO at net.minecraft.server.v1_4_5.NetServerHandler.handleCommand(NetServerHandler.java:988) 15.12 17:34:09 [Server] INFO at org.bukkit.craftbukkit.v1_4_5.CraftServer.dispatchCommand(CraftServer.java:502) 15.12 17:34:09 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 15.12 17:34:09 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 15.12 17:34:09 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'cp' in plugin CustomPotions v2.0 15.12 17:34:09 [Server] SEVERE nul
-
View User Profile
-
Send Message
Posted Dec 12, 2012@S1lverK3y
I fixed the plugin to work with the awkward changes, just wait for Bukkit to review it.
-
View User Profile
-
Send Message
Posted Dec 11, 2012Custom-Potions is Plugin #160 that broke with the latest Bukkit API changes. Please update it soon.
-
View User Profile
-
Send Message
Posted Dec 8, 2012@LGRGreen18
Can you submit this as a ticket so we can go in-depth about the problem?
-
View User Profile
-
Send Message
Posted Dec 8, 2012Hey, I'm running 1.4.5 beta build and whenever I tried to give myself a potion it only gave me a mundane potion, any solutions?
EDIT: Whenever I try to edit a potion in my hand it works but gives it a random strength and time...
-
View User Profile
-
Send Message
Posted Dec 5, 2012can you add metadata like names to each potion we collect
-
View User Profile
-
Send Message
Posted Nov 30, 2012Absolutely amazing! Im currently making lots of fun drinks on my server that i serve at my bar, its great!
Hey as a request for new versions, is it possible to add potion effects to food too?
If you could that would be just epic!
Thanks for this plugin!
-
View User Profile
-
Send Message
Posted Nov 25, 2012@Woody239MC
This plugin allows you to give Potions with custom effects you should never be given a Mundane Potion unless you're running a Bukkit version before 1.4.
-
View User Profile
-
Send Message
Posted Nov 25, 2012Does this plugin make the potions have custom names or does it allow you to make a potion have more than one potion effect. If it is neither, could you tell me what this plugin does, because when I use the command it just gives me a mundane potion.
-
View User Profile
-
Send Message
Posted Nov 22, 2012Nice plugin! :D