Sevlon's Potion System
(1.7.5 Tested. Working) (SPS) Sevlon's Potion System, Potion effects made easy!
Information
Simple and fast way to add potions effects to yourself! With configurable duration and amplifier (In game).
Currently working on:
- /effect <duration> <amplifier> <player> - Progress 35%
- /effect remove <player> - Child of above
Commands
All commands have an optional duration and amplifier. The default duration is configurable in the config, and the default amplifier will be zero. All potion effects can be removed using the command then remove as the first argument. IE: /haste remove, would remove the potion effect haste. All commands have aliases, they will be in the brackets. IE /haste [sphaste],. This means that /haste can also be used as /sphaste in game.
Example Command: /haste 2000 100 - Haste Effect, Duration 2,000 Ticks, Amplifier 100
Click Here for a list of potion effects.
- /absorb [spabsorb, absorption, spabsorption]
- /blind [spblind, blindness, spblindness]
- /breath [spbreath, waterbreathing, spwaterbreathing]
- /fatigue [spfatigue]
- /fireresist [spfresist, fresist, spfireresist]
- /harm [spharm]
- /haste [sphaste]
- /health [sphealth]
- /healthboost [sphealthboost, hboost, sphboost]
- /hunger [sphunger]
- /invisible [spinv, invisibility, spinvisibility]
- /jump [spjump, jumpboost, spjumpboost]
- /poison [sppoison]
- /nightvision [spnv, nvision, spnvision, spnightvision]
- /regen [spregen, regeneration, spregeneration]
- /resist [spresist, resistance, spresistance]
- /sickness [spsickness, sick, spsick]
- /slowness [spslowness, slow, spslow]
- /speed [spspeed]
- /strength [spstrength]
- /saturation [spsaturate, saturate, spsaturation]
- /weakness [spweakness]
- /wither [spwither]
Permissions
All potion effects have a permission node tied to them. Permission nodes must be given to players in order for them to use the commands, OPs will be able to use all commands by default.
sps.* - Can use all SPS commands.
- sps.absorb - sps.blind - sps.breath - sps.fatigue - sps.fireresist - sps.harm - sps.haste - sps.health - sps.healthboost - sps.hunger - sps.invisible - sps.jump - sps.poison - sps.nightvision - sps.regen - sps.resist - sps.sickness - sps.slow - sps.speed - sps.strength - sps.saturation - sps.weakness - sps.wither
Configuration
The config file has two sections. The first is the "Default duration". The Second is "Player messages."
Section One Example:
Haste: 2000
This is the default duration. When a user uses "/haste" he/she will get haste for 2000 ticks.
Haste: 4000
This is a modified default duration. When a user uses "/haste" he/she will get haste for 4000 ticks.
Section Two Example
Speed: true
When a player uses the command /speed he/she will get a chat message notifying them of the duration and amplifier
Speed: false
When a player uses the command /speed he/she will NOT get a chat message notifying them of the duration and amplifier
Plans For The Future
- Add /effect <duration> <amplifier> <player>
Comments