Events & payload
This is the list of messages that are sent to the Discord channel when an event occurs.
*
: This is catch-all event, all events will be sent to hooks endpoints registered with this event.vote
: This event is sent when a user votes for your server.
{
"event": "vote",
"ip": "string", // The IP of the user who voted
"userId": "string - optionnal", // The user ID of the user who voted, if they were logged on Pixlbay
"customVoteId": "string - optionnal", // The custom vote ID of the vote
"username": "string - optionnal" // The username of the user who voted, asked on vote
"nextVote": "string - optionnal" // The next vote date of the user who voted, asked on vote. Date is in UTC format.
}
server.query
: This event is sent when our bot queries your server.
{
"event": "server.query",
"serverId": "string", // The ID of the server
"players": "number", // The number of players connected to the server
"ping": "number" // The ping of the server
}
server.record
: This event is sent when your server hits a new record of connected players.
{
"event": "server.query",
"serverId": "string", // The ID of the server
"players": "number", // The number of players connected to the server
"ping": "number" // The ping of the server
}
server.offline
: This event is sent when your server goes offline.
{
"event": "server.offline",
"serverId": "string" // The ID of the server
}
server.backOnline
: This event is sent when your server comes back online.
{
"event": "server.backOnline",
"serverId": "string" // The ID of the server
}
maintenance.created
: This event is sent when a maintenance is created for your server.
{
"event": "maintenance.created",
"title": "string - optional", // The title of the maintenance
"description": "string"
}