Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 945 Bytes

constants.md

File metadata and controls

39 lines (26 loc) · 945 Bytes

API Constants

For backend/ajax endpoints, use the value unless you have explicitly defined these variables in the left column.

You can read about the latest API changes to be implemented on the 15th of Setpember, 2017 here. The below documentation has been updated in readyness for this update.

Staff Roles

Variable Value
API.ROLE.NONE 0
API.ROLE.DJ 1000
API.ROLE.BOUNCER 2000
API.ROLE.MANAGER 3000
API.ROLE.COHOST 4000
API.ROLE.HOST 5000

To read more about how roles work, click here

Ban Duration

Variable Value
API.BAN.HOUR "h"
API.BAN.DAY "d"
API.BAN.PERMA "p"

More information on banning, here

Mute Duration

Variable Value
API.MUTE.SHORT "s"
API.MUTE.MEDIUM "m"
API.MUTE.LONG "l"