SuperPotions

Give players potion effects with simple commands. Including custom effects! Now supports creating potions too! SuperPotions allows you to give yourself, others, or the whole server potion effects. SuperPotions has 23 different effects (All of them!) to choose from! With SuperPotions, you can give potion effects with a custom level and duration! Plus, you can remove potion effects in case you create a magical disaster or just want a fresh start.
Included potion effects are: blindness, confusion, resistance, haste, fireresistance, hunger, strength, jump, poison, regen, slow, fatigue, speed, breathing, weakness, heal, harm, invisibility, nightvision, wither, absorption, healthboost, saturation.
In order to use economy support, you must have vault. Link. Also make sure to delete old config files!
Features
- Use commands to give any player a potion effect with a custom duration and level
- Give players custom potions
- Give every player on the server the same effect with one command
- Remove all potion effects from a player
- Set maximum duration and level for effects
- Updating system with H31ix's Updater
- Now supports console and Command Block usage!!!
- Potion kits!!!
- Economy support!!!
- Ambient support
- Per Effect Permissions option
Commands
- /potion - Base command (Also you can use the sp, or pe aliases), shows you the help page.
- /potion effect <Effect Type> <Duration(seconds)> <Level> [Player] - Apply a custom potion effect to yourself or another player.
- /potion create <Effect Type> <Duration(seconds)> <Level> <Splash(true/false)> [player] - Gives a custom potion to yourself or another player.
- /potion add <Effect Type> <Duration(seconds)> <Level> - Add a custom effect to a potion.
- /potion kit [kitname] [Player] - Will show available kits and purchase if given a kit name.
- /potion all <Effect Type> <Duration(seconds)> <Level> (radius) - Apply a custom potion effect to all the server players or within a specified radius.
- /potion removeall [Player] - Removes all potion effects from you or another player.
- /potion list - Lists all the possible potion effects a user can choose from.
- /potion maxtime [seconds] - Sets/Displays the max duration of potion effects.
- /potion maxlevel [level] - Sets/Displays the max level of potion effects.
- /potion replaceeffects [true/false] - Sets/Displays whether commands will overwrite current effects.
- potion ambient [true/false] - Sets/Displays whether potion effect particles are transparent.
- /potion messages [true/false] - Sets/Displays whether to send messages to players.
- /potion reload - Reloads the config.
- /potion update - Downloads the newest plugin version.
Permissions
- superpotions.help - Permission to use /potion, this is needed for all commands!
- superpotions.effect - Permission to use /potion effect and /potion list commands.
- superpotions.effect.others - Permission to give effects to other players.
- superpotions.create - Permission to use /potion create, /potion add, and /potion list commands.
- superpotions.create.others - Permission to give other people custom potions.
- superpotions.kits - Permission to use the /potion kit command.
- superpotions.kits.others* - Permission to give kits to other players.
- superpotions.removeall - Permission to use the /potion removeall command.
- superpotions.removeall.others - Permission to remove all potion effects from other players.
- superpotions.all - Permission to use the /potion all command.
- superpotions.config - Permisson to use config editing commands.
- superpotions.update - Permission to update plugin to newest version.
Permission Groups
- superpotions.admin - Gives access to all SuperPotions commands!
- superpotions.effect
- superpotions.effect.others
- superpotions.create
- superpotions.create.others
- superpotions.kits
- superpotions.help
- superpotions.removeall
- superpotions.removeall.others
- superpotions.all
- superpotions.config
- superpotions.update
- superpotions.self - Gives access to all commands affecting the command sender (Can only give effects to themselves).
- superpotions.effect
- superpotions.create
- superpotions.kits
- superpotions.kits.others
- superpotions.help
- superpotions.removeall
Per Effect Permissions
Give the following permissions to players as you wish. Where "EFFECT" is equal to the effect name you type in for the command. Also if you wish to use this, change "effect-permissions" in the config to true.
superpotions.effect.EFFECT, superpotions.effect.others.EFFECT, superpotions.all.EFFECT, superpotions.create.EFFECT, and superpotions.create.others.EFFECT
If kit-permissions config value is set to true, then players need to have superpotions.kits.KITNAME
Updater settings
Superpotions uses Updater for update checking and automatic and semi-automatic download.
In order to enable Update checks that notify server admins the autoupdate-check config option must be set to true. To have updates downloaded automatically and installed on server restart/reload set the autoupdate-download config option to true. If you wish to disable automatic updates and checks set both values to false.
New Feature Ideas
Add a removeall for every player on the serverAdd permissions per Potion effectAdd config with maximum valuesAdd more command aliases, like /sp e for /potion effectAdd version checker/updaterCreate potionsEconomy support with potion packages- Potions give players temporary permissions
Change Log
- v2.5
- /potion optin and /potion optout commands were added
- Alot of behind the scenes changes to improve the plugin
- v2.4
- Give kits to other players
- Fix economy bug
- v2.3
- Added kit permissions (superpotions.kits.KITNAME)
- Added kit-permissions config option
- v2.2
- Now allows effect permissions
- superpotions.effect.EFFECT, superpotions.effect.others.EFFECT, superpotions.all.EFFECT, superpotions.create.EFFECT, and superpotions.create.others.EFFECT
- v2.11
- Added ambient capabilities
- Updated to Updater 2.0
- v2.01
- Fixed version causing multiple downloads
- v2.00
- Added Kits and economy support (vault)
- v1.71
- Fixed tooltips and potion colors for potions that have colors
- v1.7
- New effects: absorption, healthboost, saturation
- Optional radius parameter in the all command
- v1.61
- Can add effects to potions using /potion add
- v1.6
- Can now create potions and splash potions
- New permissions
- Optimizations
- v1.51
- Updated Version
- v1.5
- Updated Updater
- Added configs for sending player messages
- Fixes bugs with FindBugs
- v1.4
- Added replaceeffects config option
- Added commands: /potion replaceeffects
- v1.3
- Added max level and duration config options
- Added commands: /potion maxlevel, /potion maxtime, /potion reload
- v1.2
- Supports 1.4.5
- Added updating system
- Added support for console and command blocks
- v1.1
- Supports 1.4.2 and new potion effects
- Added more Aliases like e, a, l, r, remove
- Added /potions removeall all command to remove potion effects from all players
- v1.0
- Initial release!
Special Thanks
- Theisman - For making the thumbnail and banner pictures.
-
View User Profile
-
Send Message
Posted Dec 26, 2012@CipherMagi
Read below.
-
View User Profile
-
Send Message
Posted Dec 24, 2012Is there a way to have fire resist longer than 9 minutes?
-
View User Profile
-
Send Message
Posted Dec 21, 2012@flaminyogurt
The player should have the most recent effect, that would be great :D
-
View User Profile
-
Send Message
Posted Dec 21, 2012@shankomaster
Are you saying the player should have the most recent effect given, or should i somehow calculate which effect is better and choose that way?
-
View User Profile
-
Send Message
Posted Dec 21, 2012Can you make this override potion effects?
If a player has Resistance 1 for 60 seconds, then 5 seconds in he gives him resistance level 50 for 60 seconds, the resistance level 1 will stay and the 2nd effect wont work
Or if a player has resistance on and he has 2 seconds left, if he gives himself another resistance for 60 seconds instead of putting the timer to 60 itll continue to count down from 2
Id really appreciate these changes!
-
View User Profile
-
Send Message
Posted Dec 17, 2012@Lostferret13
So you just want them to have the particles? I suppose thats possible, i would probably make it a separate plugin.
-
View User Profile
-
Send Message
Posted Dec 15, 2012I need to be able to give a player a potion effect without the benefit of the potion.
i.e. I want to have them LOOK like they have an instant health potion on them, but without them actually having the healing effect.
is there a way to do this?
-
View User Profile
-
Send Message
Posted Dec 4, 2012@Kingrobichaud
I have answered this question already, but i can go into more depth with this explanation. No, in this current version of the plugin i have not created a method for everlasting potion effects. While this wouldn't be hard, just a simple scheduled task to update potion effect time, i find it unnecessary or unimportant. If you want the effect of an ever lasting potion effect, just set the plugin to a very high value. If you set the plugin greater than 108 million seconds for the duration (because seconds have to be multiplied by 20 to comply with server ticks), it will max out what the java int value can hold and the effect will last just under 30,000 hours. That should be long enough.
-
View User Profile
-
Send Message
Posted Dec 2, 2012is there a way to make ever lasting potion effects?
-
View User Profile
-
Send Message
Posted Nov 26, 2012@flaminyogurt
Thanks man!
-
View User Profile
-
Send Message
Posted Nov 24, 2012Just submitting(Approved) new update, adding an updating system, and Command Block support! Just have to wait for the staff to approve...-
View User Profile
-
Send Message
Posted Nov 22, 2012@etaxi341
I should be able to add comand block capibility without adding the console. Im hoping to have the next update out this weekend.
-
View User Profile
-
Send Message
Posted Nov 22, 2012Please can you add the ability to add these effects to a player via Console? so that it'll also work with CommandBlocks?
-
View User Profile
-
Send Message
Posted Nov 11, 2012@ultam8darkness
Well you could just give them the effect for a ridiculous time, like multiple hours.
-
View User Profile
-
Send Message
Posted Nov 11, 2012how would I be able to make the effects last forever, or until the player drinks milk? I am using this for a SLENDER mini-game for me and my friends!
-
View User Profile
-
Send Message
Posted Nov 2, 2012Thanks for all the positive feedback! Creating custom potions should be possible, i think it has been done before, but i could try and add that to the plugin.
-
View User Profile
-
Send Message
Posted Nov 2, 2012This is great! Would it be possible to make the potions themselves spawn in as well?
-
View User Profile
-
Send Message
Posted Nov 2, 2012tooo funnyyyyyyy!!!! pls dont stop to update!!!
-
View User Profile
-
Send Message
Posted Nov 2, 2012yea.. could you make a singleplayer mod for this? and be able to put the custome effects on potions other than players?
-
View User Profile
-
Send Message
Posted Oct 26, 2012Oh i like this, I will probably use it for Halloween. :)