PotionCommands

PotionCommands Logo

PotionCommands

PotionCommands Banner -- Created by th3cleaner@mcservers|align="center"

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 EffectAcceptable NamesPermission Node
BlindnessBlindness, blindPotionCommands.effect.blindness
ConfusionConfusion, confuse, nauseaPotionCommands.effect.confusion
Damage ResistanceDmgresist, drPotionCommands.effect.damageresistance
HasteHaste, fastdig, digspeed, digPotionCommands.effect.haste
Fire ResistanceFireresistance, frPotionCommands.effect.fireresistance
HarmHarm, harmingPotionCommands.effect.harming
HealHeal, healingPotionCommands.effect.healing
HungerHungerPotionCommands.effect.hunger
Jump BoostJumpboost, highjump, jumpPotionCommands.effect.jumpboost
PoisonPoisonPotionCommands.effect.poison
RegenerationRegeneration, regenPotionCommands.effect.regeneration
SlownessSlowness, slowPotionCommands.effect.slowness
SwiftnessSwiftness, swift, speedPotionCommands.effect.swiftness
Increase DamageStrength, strongPotionCommands.effect.strength
Water BreathingWaterbreathing, breathing, wbPotionCommands.effect.waterbreathing
WeaknessWeakness, weakPotionCommands.effect.weakness

Other Effects:

These are cool “effects” that I found while experimenting.

Other EffectAcceptable NamesPermission Node
ScareFreakout, scarePotionCommands.effect.scare
FlickerFlickerPotionCommands.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 permissions Completed 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/

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Billythekidzz Billythekidzz Apr 26, 2014 at 05:35 UTC - 0 likes

    Could you add in the latest potion effects into this plugin such as absorption and healthboost please? Thanks. :)

  • Avatar of ruaraidheu ruaraidheu Apr 07, 2014 at 16:01 UTC - 0 likes

    When I try to give slowness via CommandSigns it gives slowness 3 instead of what I specified.

  • Avatar of pvpSmashMC pvpSmashMC Jul 05, 2013 at 11:42 UTC - 0 likes

    On death potion effectsdo not go away that have infinite time..

  • Avatar of pvpSmashMC pvpSmashMC Jul 03, 2013 at 08:31 UTC - 1 like

    On death potion effects to not go away that have infinite time....

  • Avatar of np98765 np98765 Jun 24, 2013 at 23:45 UTC - 0 likes

    @1337ingDisorder: Go

    Try 'dmgresist' or 'dr' :)

  • Avatar of 1337ingDisorder 1337ingDisorder Jun 14, 2013 at 20:06 UTC - 0 likes

    I 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 !!

  • Avatar of jaimecamara jaimecamara Jun 11, 2013 at 11:48 UTC - 0 likes

    As I do a potion effect without time? No time, so it loses effect when you die. Potion

    Last edited Jun 11, 2013 by jaimecamara
  • Avatar of IamChaoz IamChaoz Jun 07, 2013 at 23:36 UTC - 0 likes

    maybe implement a potion all and remove all command that adds/removes the effect to everyone on the server

    Last edited Jun 22, 2013 by IamChaoz

    I was the biggest fucking idiot on this planet once.

  • Avatar of uLeikSponges 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!

    BFAK:90804983,34a3cb0cc8d982096345e1c16a6b34d6aeb60f143d75918cbee81b41dbf3866f

  • Avatar of AllStarsOfficial AllStarsOfficial May 23, 2013 at 11:08 UTC - 0 likes

    Many /rpotion commands aren't working, please fix it

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
58,316
Recent files

Authors