SquadJS/squad-server/events/rcon.js
2020-05-15 18:42:39 +01:00

20 lines
445 B
JavaScript

/** Occurs when an RCON error occurs.
*
* Data:
* - ErrorObject
*/
const RCON_ERROR = 'RCON_ERROR';
/** Occurs when an admin enters admin camera.
*
* Data:
* - chat - Chat the message was sent to.
* - steamID - Steam ID of the player.
* - player - Name of the player.
* - message - Message sent.
* - time - Time message was sent, AKA now.
*/
const RCON_CHAT_MESSAGE = 'RCON_CHAT_MESSAGE';
export { RCON_ERROR, RCON_CHAT_MESSAGE };