# /gset - Configure worlds

<span style="white-space: pre-wrap;">With the command </span>`<span class="editor-theme-code">/gset</span>`, you can change the properties of your worlds in real time.

<span style="white-space: pre-wrap;">The big advantage: </span>**All changes are active immediately**<span style="white-space: pre-wrap;"> without having to reload the server or the world. At the same time, they are saved in the database/config.</span>

### The command

`<span class="editor-theme-code">/gset [name] <flag> <Value></span>`

### Parameters explained

1. **Name (optional):**<span style="white-space: pre-wrap;"> The name of the world. </span>
    - It is possible to omit the world name. In this case, the current world will be selected.
    - <p class="callout warning">The world must be known to GWorld and managed (created/imported).</p>
2. **Flag (required):**<span style="white-space: pre-wrap;"> Specifies which setting of the world should be changed. </span>
    
    <p class="callout info">With the command For more information on all flags, see the flag page</p>
3. **Value (required):** Specifies the value to which the flag should be set
    - <p class="callout info">For more information on all flags and possible values, see the flag page</p>

<span style="white-space: pre-wrap;">All flags and their values: </span>[The flags and their possible values](https://books.gilljan.de/books/gworld-dokumentation-de/page/die-flags-und-ihre-moglichen-werte "The flags and their possible values")

---

## Examples

### 1. Ban/allow a monster/animal

<span style="white-space: pre-wrap;">Prohibit a specific animal or monster, in this case the </span>**monste**<span style="white-space: pre-wrap;"> Pillager</span>

```bash
/gset DISABLED_MONSTERS pillager
```

<p class="callout info">If the animal/monster is allowed, it will be banned and vice versa (toggle)</p>

<p class="callout success"><span style="white-space: pre-wrap;">For an animal (cow) analogously: </span>  
`<span class="editor-theme-code">/gset DISABLED_ANIMALS cow</span>`</p>

### 2. Disable PVP

Prohibit PVP in a Minecraft world called “MyWorld”:

```bash
/gset MyWorld PVP false
```

### 3. Set the world to “peaceful”

Set the difficulty level to “peaceful”:

```bash
/gset DIFFICULTY peaceful
```

### <span style="white-space: pre-wrap;">4. Set a display name (alias) </span>

Set the alias of a world to "&amp;bMy world":

```
/gset ALIAS &bMy world
```