-
Notifications
You must be signed in to change notification settings - Fork 20
Developer API
SAC has a simple Developer API to allow Plugins to exclue Players from certain checks temorairly or permanently.
SAC's API is based on permissions, I listed all of them below.
Next to the permission, you will see their function.
sac.fly - Allows Players to bypass all Fly, Speed and Glide Checks
sac.glide - Allows Players to bypass all Glide Checks
sac.speed - Allows Players to bypass all Speed Checks
sac.reach - Allows Players to bypass all Reach Checks
sac.noclip - Allows Players to bypass all NoClip/Phase Checks
sac.killaura - Allows Players to bypass all KillAura and FastClick Checks
sac.regen - Allows Players to bypass all Regen Checks
sac.admin - Allows Players to see SAC's Debug
sac - Allows Players to see SAC's Debug and bypass ALL Checks
To exclude a Player, simply give him the appropriate bypass permission.
To deexclue a Player, take away the Permission from him again.
Feel free to open an Issue if your want more API functionallity to be implemented