> For the complete documentation index, see [llms.txt](https://chooseit.gitbook.io/elytraracing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chooseit.gitbook.io/elytraracing/tutorials/create-game/how-to-host-a-game.md).

# How to host a game

{% hint style="warning" %}
Permission: elytraracing.host
{% endhint %}

{% hint style="info" %}
More informations [here](https://chooseit.gitbook.io/elytraracing/commands/command-erhost)
{% endhint %}

### 1. Available maps

First of all we have to look at the maps that are available to be hosted.

{% hint style="info" %}
"/erhost listmaps"

Display the list of available maps
{% endhint %}

### 2. Create a host

Create your host using this command

{% hint style="info" %}
"/erhost create \<game\_nam&#x65;*>* \<max\_player> \<maps>

* You can create a Racemode by giving one map name in the \<maps> argument
* You can create a Grandprix by giving multiple maps name in the \<map> argument **(map1,map2,map3....)**
  {% endhint %}

### 3. Alert the server

Let all the server know that your game is available

{% hint style="info" %}
"/erhost alert"&#x20;
{% endhint %}

### 4. Start the game

{% hint style="info" %}
"/erhost start"

As an host, start your game
{% endhint %}
