Skip to content

Create 🚀🔗

Creates a new game and sets the client as host, returns information about the current gamemode (which is automatically set by the server, can be changed with a request).

Request model🔗

{ "op": "Create", "d": {} }

Success response🔗

{
    "response": {
        "d": {
            "game_id": Uuid,
            "gamemode": {
                "id": String,
                "name": String,
                "description": String
            },
            "join_code": String
        },
        "op": "Create"
    },
    "status": true
}

Errors🔗

Errors that may occur while creating a game.

  1. NotIdentified
  2. AlreadyInGame
  3. Create
Back to top