# Setup

{% hint style="info" %}
Remember to download the required dependencies!
{% endhint %}

Upon joining the server, the plugin automatically displays the setup steps for a map and lobby.

### Lobby:

* Stand at the point where players will spawn.
* Use the command: `/ctwsetup lobby addspawn`
* To return to the lobby, use the command: `/spawn`
* For more commands, use: `/ctwsetup lobby`

### Map:

* To add a map, you must first go to it using:\
  `/gotoworld [world_name]`.
* Once you are inside the map, use the command:\
  `/ctwsetup map add`

{% hint style="info" %}
**NOTE:** When you run the command above, the map’s name will automatically be taken from the world’s name.
{% endhint %}

### MapConfig:

After executing the previous command, you’ll be shown a series of steps to configure your map.

#### Extra Commands:

* `/ctwsetup mapconfig no-drop` — The items in your inventory will be marked as non-droppable.
* `/ctwsetup mapconfig removeregion` — Remove a protected or inaccessible region.
* `/ctwsetup mapconfig spawn` — Set the spectators’ spawn point.

### **Recommended server.properties configuration**

```properties
#Minecraft server properties
#Fri Dec 24 14:15:16 COT 2021
spawn-protection=0
generator-settings=
force-gamemode=false
allow-nether=false
gamemode=0
broadcast-console-to-ops=true
enable-query=false
player-idle-timeout=0
difficulty=1
spawn-monsters=false
op-permission-level=4
resource-pack-hash=
announce-player-achievements=false
pvp=true
snooper-enabled=true
level-type=FLAT
hardcore=false
enable-command-block=false
max-players=2 
network-compression-threshold=256
max-world-size=29999984
server-port=25565
debug=false
server-ip=localhost 
spawn-npcs=true
allow-flight=false
level-name=Spawn
view-distance=10
resource-pack=
spawn-animals=false
white-list=false
generate-structures=false 
online-mode=true
max-build-height=256
level-seed=
enable-rcon=false
motd=Capture The Wool
```
