Permissions
Permissions:
Everything in PotionPermissions is handled with permissions. The strength of each potion / use of each one is 100% configurable by the admin (or whoever is handling permissions.)
What happens is when a player logs on, or closes their inventory, it checks if they have a certain permission node, if they do than it will apply the potion effect to them.
All permission nodes are formatted like so: potionpermissions.potioneffect.power .
- Replace potioneffect with any of the potion names listed below.
- Replace the power with the power of the potion you want. This can be either:
- one
- two
- three
Available Potions:
- Blindness
- Confusion
- DamageResistance
- FastDigging
- FireResistance
- Harm
- Heal
- IncreaseDamage
- Invisibility
- Jump
- NightVision
- Slow
- SlowDigging
- Speed
- WaterBreathing
- Weakness
- Wither
Example Permission Nodes
- potionpermissions.invisibility.one
- potionpermissions.wither.two
- potionpermissions.damageresistance.three
Notes
- All permission nodes default to false, not even the op will have them.
- Plugin will only check permissions when a player logs in or closes their inventory.
Works great - now you guys just need to get the word out about this :)
can you make it so the effects don't show on the sides (optional in config)? also, think you can add regeneration and the other effects?