SecretPotions
SecretPotions 2.0!
Did you know there are potion effects in Minecraft that are not used in the game? This plugin allows you to use these effects!
What this simple plugin does is that it allows you to apply any potion effect to yourself or to another player on the server, through a command. The plugin also supports most of the permission plugins.
Videos
Million thanks to WoopaGaming for making this video of our plugin:
Features
* Apply any potion effect to yourself or to any other player online on the server.
* Apply any potion effect to all online players with single command.
* Also apply the hidden effects that you might have never seen/used before.
* Very lightweight plugin.
* Supports many permission plugins.
* Only the user of the command sees "effect applied" message, not the target.
* Choose the duration of the potion effect on command.
* Choose the level of all potion effects on config file.
Commands
* /spt - Displays all the following commands and their descriptions ingame.
* /sptall - Applies any potion effect to all online players.
* /spt removeall [player] - Removes all potion effects from the player.
* /spt blindness [player] <duration in seconds> - Creates thick black fog around the player and prevents sprinting and critical hits.
* /spt nausea [player] <duration in seconds>- Causes the view to wobble.
* /spt jumpboost [player] <duration in seconds> - Allows the player to jump higher.
* /spt waterbreathing [player] <duration in seconds> - Causes air meter to be constantly full while underwater.
* /spt resistance [player] <duration in seconds> - Reduces all incoming damage.
* /spt miningfatigue [player] <duration in seconds> - Causes arms to swing slower and blocks break slower.
* /spt haste [player] <duration in seconds> - Causes arms swing faster and blocks break faster.
* /spt fireresistance [player] <duration in seconds> - Causes the player to become immune to fire and lava.
* /spt slowness [player] <duration in seconds> - Causes the player to move slower.
* /spt speed [player] <duration in seconds> - Causes the player to move faster.
* /spt strength [player] <duration in seconds> - Causes the player to deal increased melee damage.
* /spt instantheal [player] <duration in seconds> - Heals the player the same amount as normal health potion does.
* /spt instantdamage [player] <duration in seconds> - Damages the player the same amount as normal harming potion does.
* /spt regeneration [player] <duration in seconds> - Causes the player to regain health over time.
* /spt hunger [player] <duration in seconds> - Causes food meter to deplete faster.
* /spt weakness [player] <duration in seconds> - Causes the player to deal decreased melee damage.
* /spt poison [player] <duration in seconds> - Deals damage over time.
* /spt invisibility [player] <duration in seconds> - Causes the entity model to disappear.
* /spt nightvision [player] <duration in seconds> - Increases brightness.
* /spt wither [player] <duration in seconds> - Deals damage over time and hearts turns black.
Permission nodes
- secretpotions.* (for all permissions)
- secretpotions.removeall
- secretpotions.jumpboost
- secretpotions.haste
- secretpotions.miningfatigue
- secretpotions.resistance
- secretpotions.waterbreathing
- secretpotions.nausea
- secretpotions.blindness
- secretpotions.fireresistance
- secretpotions.slowness
- secretpotions.speed
- secretpotions.strength
- secretpotions.instantheal
- secretpotions.instantdamage
- secretpotions.regeneration
- secretpotions.hunger
- secretpotions.weakness
- secretpotions.poison
- secretpotions.invisibility
- secretpotions.nightvision
- secretpotions.wither
Adding .other at the end of any potion effect permission node will allow the player to use the [player] argument, which means without it you can only apply effects on yourself.
Example: secretpotions.hunger.other would allow to use the [player] argument after the actual command, while secretpotions.hunger only allows to use it on yourself.
Planned features
* Done! Add ".other" at the end of permission nodes to restrict use of command on other players than self.
* Done! Add the possibility to apply effect to all players on the server with /spall command!
* Done! Add the possibility to choose effect duration. (At the moment the duration is 8 minutes and 20 seconds on every effect except instant heal and instant damage.)
* Done! Add the possibility to choose effect level. (Poison I, Poison II etc...)
* Add the possibility to craft/brew these potions
* Add the possibility to enable/disable nausea when hungry
* Add the possibility to enable/disable blindness when damaged
* Add cooldowns between commands
Feeling generous?
If you like the plugin and want to support us in probably creating new plugins, you can donate by clicking this text.
Any amount of course is welcome! Will also list any possible donators on this plugin page and all future plugin pages.
Comments
We really appreciate feedback. If you have any comments (positive or negative), help requests or suggestions, feel free to post all of them below!
Known bugs
None at the moment! :D
I also would like to know if you could make it like something like this...
secretpotions.weakness.
but so you cant just do it to anyone in the server you have to be in a range of lets say 15 blocks of them.
That would also be a cool idea.
Thank you,
-Jordan
If you could finish this one faster
That would be wounderful because I am needing something like this on my server, my server is opening up in 1 week and I do not need any more delays on plugins I have requested.
This is the second to last one I am needing. Thanks alot!
-Jordan
Oooh.. I found the link :P
I have been looking for a plugin like this for a while for my Minecraft RPG server.
I thank you for this keep up the good work and if there is a donate button I will donate a few bucks to you for the good work!
Thanks bud <3
-Jordan
Maybe you could add a cooldown option for each potion at configuration, so that for example users can use the potion once every 30 minutes :D
@lol768
Might be easiest way but not always the best :)
@VergilPrime
We will try and fix this in the next update. Thank you!
@VergilPrime
Developer should be using a try catch block.
@RoopeFI
Thanks for the reply. It's a shame you've chosen not to contribute your source code to the Bukkit project (which itself is open-source) though.
NPE if the target player is spelled wrong. Not breaking, but a bit annoying.
@Lars1011
Thank you! Added to planned features and you will see this implemented soon! :)
@Haloclanproductions
I do not care if you can no longer use superpickaxe with /sp since it still works with / /. Thats what I meant.
@Haloclanproductions
Because invisible and night vision potion effects does nothing... In minecraft 1.4 snapshot night vision works.
@Errno452
No you can do /sp and //
You know there is more than just the effects posted why not add them all
Suggestion: Add the possibility to apply the effects to all players online? Is this possible?
@lol768
Sorry this was accident. Fixed now!
I notice that you've released this project under a GNU GPL open-source license, yet I can't seem to find the source code anywhere. Can you give me a download link?
@chrisman0091
Thanks!
Awesome plugin! Will have to come back to this to download sometime when I get my server up and running!
@Enrux
Thanks anyways for positive comment :)