Skip to content

Constants

PEMapModder edited this page Aug 30, 2015 · 3 revisions

Some constants are used in the API responses.

Classes

Class refers to gametype. Objects like chat messages, kits, purchases, and of course, servers, have a class field referring to the gametype they belong to (e.g. the chat message is only broadcasted to hub servers, that purchase is only used by KitPvP servers, etc.).

Constant value Explanation
0 Wildcard - all servers
1 Hub servers
2 KitPvP servers
3 Parkour servers
4 Spleef servers
5 Infected servers
6 Classic servers

Status

The status of a player can be offline (0), online (1) or transferring (2).

Clone this wiki locally