PotionCommands
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/
-
View User Profile
-
Send Message
Posted Aug 22, 2012@seiterseiter
Coming soon. :) Removing a certain potion effect, i.e. '/rpotion blindness' will remove the blindness effect.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Lol most epic potion plugin ever but you need a command to remove the potion effects other wise people just need to drink milk
-
View User Profile
-
Send Message
Posted Aug 20, 2012@aelodia
I've just released a build that is compiled with 1.3.1-R2.0. But any older versions should still work. :)
-
View User Profile
-
Send Message
Posted Aug 10, 2012it work on 1.3.1 ? thx
-
View User Profile
-
Send Message
Posted Aug 4, 2012I love this plugin, it justs needs the ability to make it different levels like speed 2 or Damage Resistance 4 stuff like that!
-
View User Profile
-
Send Message
Posted Jul 28, 2012@deleted_6837836
Confusion (it can be called "confusion", "confuse", or "nausea").
-
View User Profile
-
Send Message
Posted Jul 28, 2012Which one is the nausea potion effect?
-
View User Profile
-
Send Message
Posted Jul 28, 2012@DerpingManiac
Why thank you, Peter. :)
-
View User Profile
-
Send Message
Posted Jul 28, 2012@chuckomuffin
I actually tried to add this feature, but it's tricky because of the optional [duration] argument.
Now that I've added a config, I will have the option to be able to type /potion speed, and have it apply to the caster - But there will be no way to specify a custom duration.
-
View User Profile
-
Send Message
Posted Jul 28, 2012I love this mod, but could you make it so that the default target if the "caster", in other words the player who types it? Thanks!
-
View User Profile
-
Send Message
Posted Jul 27, 2012My name is PETER and i approve this plugin