PotionCommands

Ever wanted to apply a potion that you can’t brew? Forgot a brewing recipe? Not a problem! With PotionCommands, just type a command, and apply almost any potion effect to anyone!
Important notice regarding issues, feature requests
Please submit bugs, feature requests etc to this page:
https://github.com/np98765/PotionCommands/issues
Commands:
/potion [user] <effect> [duration] [amplifier]: Applies potion effect to player.
- <user>: Choose who to apply the effect to
- <effect>: Choose from one of the potion effects below
- [duration]: Choose how long the effect will last (in ticks). If you don’t specify a value, it will use the config file values (also in ticks)
- [amplifier]: Allows you to adjust the strength of each effect, both positive and negative (e.g. negative fastdig = slowdig)
/potion effects: Lists all potion effects.
- Requires PotionCommands.effects
/rpotion <effect> <user>: Removes effect from specified user.
- Very little error checking yet, you must supply the user (it won't yet use the command sender)
- Requires PotionCommands.remove — need to add per-effect permissions to this one
/particle <player> <hexcolor> <duration ticks (seconds / 20)>: Adds particle effects to player without adding a potion effect.
- Advanced users only
- Example — /particle lol768 #ffff00 100 (applies yellow bubbles to player lol768 for 5 seconds
- Requires PotionCommands.particle
Potion Effects:
| Potion Effect | Acceptable Names | Permission Node |
|---|---|---|
| Blindness | Blindness, blind | PotionCommands.effect.blindness |
| Confusion | Confusion, confuse, nausea | PotionCommands.effect.confusion |
| Damage Resistance | Dmgresist, dr | PotionCommands.effect.damageresistance |
| Haste | Haste, fastdig, digspeed, dig | PotionCommands.effect.haste |
| Fire Resistance | Fireresistance, fr | PotionCommands.effect.fireresistance |
| Harm | Harm, harming | PotionCommands.effect.harming |
| Heal | Heal, healing | PotionCommands.effect.healing |
| Hunger | Hunger | PotionCommands.effect.hunger |
| Jump Boost | Jumpboost, highjump, jump | PotionCommands.effect.jumpboost |
| Poison | Poison | PotionCommands.effect.poison |
| Regeneration | Regeneration, regen | PotionCommands.effect.regeneration |
| Slowness | Slowness, slow | PotionCommands.effect.slowness |
| Swiftness | Swiftness, swift, speed | PotionCommands.effect.swiftness |
| Increase Damage | Strength, strong | PotionCommands.effect.strength |
| Water Breathing | Waterbreathing, breathing, wb | PotionCommands.effect.waterbreathing |
| Weakness | Weakness, weak | PotionCommands.effect.weakness |
Other Effects:
These are cool “effects” that I found while experimenting.
| Other Effect | Acceptable Names | Permission Node |
|---|---|---|
| Scare | Freakout, scare | PotionCommands.effect.scare |
| Flicker | Flicker | PotionCommands.effect.flicker |
Note on permissions: Users MUST have PotionCommands.use to be able to use ANY of the effects. You must give them PotionCommands.use in addition to the per-effect nodes.
To Do:
- Add a maximum duration to avoid errors
Add per-effect permissionsCompleted as of v1.1
Other:
- Please note that durations aren’t perfect. You may be limited by the maximum amount of time that the game allows you to have the potion effect
- Harming and healing: These are currently instant kill and full heal, respectively, due to the input of seconds, not ticks. I am trying to fix this.
- Please report any and all bugs you may find!*
Special Thanks:
Special thanks to th3cleaner@mcservers for creating the logo and banner!
Source and dev builds
Source code is available here: https://github.com/np98765/PotionCommands/
Facts
- Date created
- Jul 27, 2012
- Categories
- Last update
- Dec 28, 2012
- Development stage
- Release
- Language
- enUS
- License
- GNU Lesser General Public License version 3 (LGPLv3)
- Curse link
- PotionCommands
- Downloads
- 51,711
- Recent files
- R: PotionCommands v1.4 for CB 1.4.6-R0.1 Dec 28, 2012
- R: PotionCommands v1.3.2 for CB 1.4.2-R0.2 Nov 04, 2012
- R: PotionCommands v1.3.1 for CB 1.4.2-R0.2 Nov 03, 2012
- R: PotionCommands v1.3 for CB 1.4.2-R0.2 Nov 03, 2012
- R: PotionCommands v1.2.1 for CB 1.3.2-R2.0 Oct 19, 2012
- Reply
- #64
1337ingDisorder Jun 14, 2013 at 20:06 UTC - 0 likesI can't seem to use /rpotion to remove the Resistance potion effect.
Each time I try it says:
Use /potion effects for full effect list.
/rpotion <effect> [player]
When I do /potion effects it says that the name for DAMAGE_RESISTANCE is actually "damage resistance" with a space but when I try that it doesn't understand the syntax.
I've also tried the following:
/rpotion DAMAGE_RESISTANCE <name>
/rpotion damageresist <name>
/rpotion damageresistance <name>
/rpotion "damage resistance" <name>
/rpotion 11 <name>
/rpotion resistance <name>
Nothing seems to work, not even using the potion ID !!
- Reply
- #63
jaimecamara Jun 11, 2013 at 11:48 UTC - 0 likesAs I do a potion effect without time? No time, so it loses effect when you die.
- Reply
- #62
GammeXPlays Jun 07, 2013 at 23:36 UTC - 0 likesmaybe implement a potion all and remove all command that adds the effect to everyone on the server
Check out my YouTube videos at: http://www.youtube.com/user/GammeXPlays
And subscribe! http://bit.ly/SubscribeToGammeX
- Reply
- #61
uLeikSponges May 23, 2013 at 15:30 UTC - 0 likes@MonawarMC: Go
Works by default with all permissions plugins :) So essentials.* would give all essentials perms, potioncommands.* would work etc
-If I helped you, click like!- Reply
- #60
AllStarsOfficial May 23, 2013 at 11:08 UTC - 0 likesMany /rpotion commands aren't working, please fix it
- Reply
- #59
shahiem99 May 17, 2013 at 08:52 UTC - 0 likesDownload for 1.5.2?
- Reply
- #58
MonawarMC May 15, 2013 at 20:28 UTC - 0 likesIs it possible that you can do PotionCommands.effect.* for access to all effects? Instead of putting node by node.
- Reply
- #57
1337ingDisorder May 15, 2013 at 04:32 UTC - 0 likesAs far as I know there's no permission for the vanilla /effect command that allows non-ops to execute the command.
On that note, it'd be cool if we could restrict the level of a potion command that users can apply. Eg, I'd like to let my users configure a speed up to 8 but no higher
- Reply
- #56
mcredstonepro May 12, 2013 at 13:50 UTC - 0 likes@lol768: Go
Not necessarily. I use your BattleKits plugin, and the one thing I don't like about the vanilla /effect command, is that when ever one of my players use a kit or spam it, my chat gets spammed with /effect commands being executed from console. This plugin still has some use.
- Reply
- #55
lol768 May 06, 2013 at 17:50 UTC - 0 likesThis is of little use now that we have the Vanilla /effect command. Might be an idea to use that instead :)