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
@nandox5
If you want to apply the potion effect to yourself, you can just use
/spt <effect> <duration in seconds> ie. /spt jumboost 10
So the [player] argument is not needed, you can ignore it. That's why there's the .other permissions,
secretpotions.jumpboost.other
to allow use of the [player] argument.
Currently, there's no ways to download the old versions, I don't have backups of them left, but that's why I always name the new version to 'SecretPotions v2.0.jar' instead of just 'SecretPotions.jar', so you should have the old version if you just want to use it instead.
So the problem is, that I don't have the old versions of this plugin. My bad. :(
But, this new version 2.0 didn't add the possibilities to give unlimited amount of time on their effects, before they could just spam the command 100 times and make your server lag. Now they can just type 1 command to get 100 seconds of that effect or maybe more.
Today, I got new suggestion to this plugin, to add cooldowns between commands. So they can't spam the commands, they have to wait some time before they can use the command again. I will add this to the plugin when I have some spare time, the cooldown time will be on the config file. That's when I will also add the duration back to the config if you want so.
does not work...
after adding secretpotions.jumpboost
i type in command /spt jumpboost
and i keep getting Usage: /spt <effect> [player] <durations in seconds>//
where can i download previous versions?
it seems like you messed up big time.. on this 2.0 version.. (it was better before) you didnt have to enter the time in the command..
now my players can give unlimited amount of time on their potions..
please upload previous version...
This is a great plugin. If only they were craftable though. Thing is, it is possible. Look at the "More Potions" plugin. The person who made that plugin made it possible. :)
Posting new update today
What about wither?
plz update the server cant finde the pluign
can u update the plugin for the new potion efect like that zoom thing
Awesome plugin :D would be even cooler if you could make it so players automatically got nausea when very hungry and blindness when health was down :3
anyhow.. Nice work, thanks for this -IcySex
@spawnstah
Yes! Please add support for this!
@spawnstah
Console support will be added, don't know about BuyCraft tho.
Also, please make it possible to execute SPT commands from console. Would make it possible to add support in BuyCraft to buy buffs/debuffs :)
Possible to give us the option to do /spt [potionname] [time] [level] and if the last two arguments are not added, then use default values?
Sorry I noticed your server must be closed when you change config then start it up again, reload wont work. Fixing this on next update!
@Jik4
Working on this!
If you could make it so effect duration for each potion is changeable in a config file, that would help out a TON for me. My server really needs a configurable potions plugin. Needs.
thx :)
Okay sorry I have so much things to do so im pretty busy about updating this plugin. I will change the command to /spt today.
/spt does not work
/sp it superpicaxe in WorldEdit..
/sptall work but unfortunately for all the players there is no fun
manager can change the command to /scp or something like that because it's a little annoying with the pickaxe
sorry my English is bad :)
Is a 1.4.7 avalaible ?