CMD Potions
Description
Command potions is a very simple easy to use bukkit plugins that lets you set potion effects by using commands, there is lots of customisability which means you can change everything about the potion, including the effect, the time (in seconds) and level of the potion. This is also my very first plugin and I will be adding more features as I go. A great advantage of this plugin is that is makes potions really easy to use off command signs and command blocks, making it really easy to set-up fun mini games like mazes obstacle courses. (You can also have multiple potions at once)How To Use
It is very easy to use the potion command, all you do is type /cmdpotion then, the potion type (listed below), the time the potion is going to last (in seconds), the level of the potion and then the player is optional (if no player is entered then it just gives it to you)/cmdpotion <Type> <Time> <Level>
/cmdpotion <Type> <Time> <Level> {Player}
Custom Messages
Since v1.3.0 a very easy to use way has been implemented so you can set custom messages when a potion effect is given. It is very easy to use and all you need to do is add -m to the end of your command. (This only works when setting it to another player and ignores the config setting) Also it is important that instead of spaces you use "_", once you send the command through, it changes to a space. (See example below)/cmdpotion <Type> <Time> <Level> <Player> -m <Message>
Example:
/cmdpotion Speed 10 3 jamieis8 -m This_is_a_test
Removing Potion Effetcs
Since v1.4.0 you can easily remove potion effects for youself, for other people or all the players on the server, by using the commands below/cmdpotion remove
/cmdpotion remove {player}
/cmdpotion remove all
Permissions
View all permission nodesPotion Types
SpeedSlow
Haste
Fatigue
Strength
Healing
Harming
Jump
Confusion
Regeneration
Invisibility
Blindness
NightVision
Hungry
Weakness
Poison
Resistance
FireProtect
Wither
Todo
Suggest more features
-
View User Profile
-
Send Message
Posted Mar 4, 2013Thank you! I love your plugin :)
-
View User Profile
-
Send Message
Posted Mar 4, 2013@JackFastGame
Good idea, ill implement it in the next update with permission nodes
-
View User Profile
-
Send Message
Posted Mar 4, 2013Hi! I need a new command for my server! Add the command /cmdpotion remove (remove all potion effects from player)
-
View User Profile
-
Send Message
Posted Mar 4, 2013@spawnstah
Permission nodes are planned to come out soon, and will be like.
cmdpotion.*
cmdpotion.self.*
cmdpotion.self.hunger
cmdpotion.other.*
cmdpotion.other.hunger
cmdpotion.custommsg
-
Also the offline player thing is an interseting idea, but i am not sure about implementing it. It would over complicate a simple plugin, and would be more RAM intensive because it would have to save values. But ill look into it :p
-
View User Profile
-
Send Message
Posted Mar 3, 2013Great, You rock!!!
I don't know if this is technically possible, but would you be interested in looking into this?
If the player is not online when you do /cmdpotion then apply the potion when the user logs on next time?
Also, how do you plan to implement the Permission Nodes?
-
View User Profile
-
Send Message
Posted Mar 3, 2013@spawnstah
Yay just finished, I've added this to version 1.3.0. ive submitted it to bukkit. It'll be up when once they approve it in the next couple of hours :p
-
View User Profile
-
Send Message
Posted Mar 3, 2013@spawnstah
Hmm interesting. Ill look into adding it
-
View User Profile
-
Send Message
Posted Mar 3, 2013Another possible feature :)
Not super important, but could be handy if you were able to provide a custom message when you give a potion. For example;
/cmdpotion <Type> <Time> <Level> {Player} -m Here is a custom message the receiver see.
-
View User Profile
-
Send Message
Posted Mar 3, 2013@spawnstah
No problem :p
-
View User Profile
-
Send Message
Posted Mar 3, 2013@Enjoicraft
Messages are configurable in the config, and i am looking into the command blocks thing
-
View User Profile
-
Send Message
Posted Mar 2, 2013@ViralPickaxe101
Thanks for the quick implementation! :)
-
View User Profile
-
Send Message
Posted Mar 2, 2013@ViralPickaxe101
Can you please make it so this will work with command blocks? Also, can it be configurable whether you want messages or not? Thankss
-
View User Profile
-
Send Message
Posted Mar 2, 2013Just submitted v1.2.0 to bukkit. Added console support (customisable in the config) (small change, but requested)
-
View User Profile
-
Send Message
Posted Mar 2, 2013@puyfan
Hmm thats weird. Ill look into that
-
View User Profile
-
Send Message
Posted Mar 2, 2013@JackFastGame
Thanks!
-
View User Profile
-
Send Message
Posted Mar 2, 2013@spawnstah
Hmm ok, ill start working on it now!
-
View User Profile
-
Send Message
Posted Mar 2, 2013Oh yes! Now this plugin is perfect! Thank you!
-
View User Profile
-
Send Message
Posted Mar 1, 2013Would it be possible to get support for running this from console?
Thanks a lot :)
-
View User Profile
-
Send Message
Posted Mar 1, 2013@ViralPickaxe101
Hey, awesome plugin!!! but it wont work with cmd blocks. :|
-
View User Profile
-
Send Message
Posted Mar 1, 2013@JackFastGame
I just added that feature in v1.1.0 also uploaded it to this thread. Just waiting approval from bukkit then it will be released :p