PermaPotions
PermaPotions
PermaPotions
Version:
0.4.0
What does it do?
PermaPotions aims to give servers the ability to allocate potion effects to their players using permissions. A potion effect allocated to a player will be permanent so long as the player has the permission for the effect. All of the potions effects for the current version of bukkit have been added to this plugin and will be updated as more are added. PermaPotions was made as requested by TehMinecraftPoke on the plugin requests section of the forums.
How do I use it?
To install PermaPotions just drag and drop it into the plugins folder for your server. This plugin is completely controlled by permissions and has no config. To give a player a potion effect just give them the permission that has the name of the desired effect.
To give a player an amplifier on a potion such as Speed II you could use the command PermaPotion.SPEED.2 or any other number that you wish to use. The amplifiers are effective up to 20 and the default amplifier is 1 and will be used if no other amplifier is choosen.
Permissions:
- PermaPotion.ABSORPTION
- PermaPotion.BLINDNESS
- PermaPotion.CONFUSION
- PermaPotion.DAMAGE_RESISTANCE
- PermaPotion.FAST_DIGGING
- PermaPotion.FIRE_RESISTANCE
- PermaPotion.HARM
- PermaPotion.HEAL
- PermaPotion.HEALTH_BOOST
- PermaPotion.HUNGER
- PermaPotion.INCREASE_DAMAGE
- PermaPotion.INVISIBILITY
- PermaPotion.JUMP
- PermaPotion.NIGHT_VISION
- PermaPotion.POISON
- PermaPotion.REGENERATION
- PermaPotion.SATURATION
- PermaPotion.SLOW
- PermaPotion.SLOW_DIGGING
- PermaPotion.SPEED
- PermaPotion.WATER_BREATHING
- PermaPotion.WEAKNESS
- PermaPotion.WITHER
Bugs/Ideas:
If you find any bugs or have any ideas post them in the comments and they will be updated as soon as possible
@Bono1996
Status updated to state that it is 1.7.2 compatible :)
Finally!!! You saved my life. This is an awesome plugin. Please don't stop developing it
Perfect plugin. Thanks a ton!
1.7.2 compability?
I would love this if you could make the particle effects optional.
The effect is very buggy: It flashes every 10seconds.
But I like it!
if you /heal someone or they drink milk, do these go away?
Ryan could you make a plugin that when you enter a dark area you get the blindness effect?
@JoaoEstrella
Thanks for the report JoaoEstrella I will try and fix it as soon as possible :).
it seems that is not working with permissionex
edit: I use pex 1.19.6 because of modifyworld chatmanager and still be compatible. I tested the PermaPotion pex in 1.20.4 and it works. Would have some way to work with 1.19.6?
@altair123ezio
You should be able to use your permissions plugin to do this. An example of this in permissionsbukkit would be to go:
These permissions would give a player in group user the permissions of PermaPotion.JUMP in world1 but not world2 and PermaPotion.HEAL in world2 but not world1. It would also give the permission permissions.build in all of the worlds.
you can separate for worlds??????
example: PermaPotion.JUMP.(world)
Ok I'll add levels in the next version, I'll also optimize the permissions checking for better performance even though it is pretty lightweight anyway. ;)
Edit: I have made version 0.2.0 where choosing amplifications is possible but cannot upload it now as the servers are down, I will upload it when I get up in the morning.
:/
Ops get all the effects. I can't even drink milk to remove the effects...
Can you make it so OPs don't get the effects by default? Thank you.
EDIT:
Nevermind, I forgot I was in the owner group which had the '*' permission. Thank you for making this! Works like a charm! Maybe you can add effect levels in the future if you can figure that out :).
Is it possible to give them different levels of potions? E.g PermaPotion.SLOW.2 would give you Slowness 2. You would basically just be able to set the modifier to any number.
Add level PermaPotion.WITHER.lv.3
ermaPotion.WITHER.lv.2 ...