On-Server API

If WebSocket functionality is enabled on your Vector server, the on-server API has been enabled. Your Vector server will then communicate with your WebSocket server.

WARNING: It is your responsibility to secure your communications. Anybody with access to your WebSocket server can send commands to your Vector server.

Receiving Messages

Your Vector server will send the following messages to your websocket server for handling:

  • JOIN Player Name|SteamID64|IP
  • LEAVE Player Name|SteamID64
  • REPORT ReportedBy|Reason
  • (Coming Soon) LOG LogText

Sending Messages

Your Vector server will understand the following messages sent:

  • BROADCAST\n (Message)
  • KICK\n Player|Reason
  • BAN\n Player|Reason|Duration