# Town System

<sup>*Unlock towns feature at*</sup> [<sup>*Player Level 5*</sup>](https://cobblemon-town.gitbook.io/cobblemon-town/server-features/player-levels)&#x20;

Towns is a feature that allows you to create or join an existing town! It is it's own **pocket dimension** where you can build your own town with friends.

1. **CREATING/JOINING A TOWN**

Creating a town costs $100,000\
Joining a town is free You can view all the towns using /towns and selecting JOIN A TOWN<br>

2. **Towns Map**

Every new town generates the default town build with a starting border of 250x250 blocks \
You can build/destroy as you wish it is YOUR town<br>

3. **Towns Roles**

There are currently 3 roles: Mayor, Officer and Member Each have different permissions for example officers can invite/kick out members. The town Mayor chooses who is officer in his town.

## Towns Progression🏘️

Your town starts at level 1 and caps at level 10&#x20;

The exp gained for your [player levels](https://cobblemon-town.gitbook.io/cobblemon-town/server-features/player-levels) is shared for the town you are in. Meaning the more members of a town are gaining EXP the faster it will level up.

{% columns %}
{% column %}
Level 1
{% endcolumn %}

{% column %}
Max Members: 5

Max Officers: 2
{% endcolumn %}

{% column %}
Border: 150x150
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 2
{% endcolumn %}

{% column %}
Max Members: 6

Max Officers: 2
{% endcolumn %}

{% column %}
Border: 200x200
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 3
{% endcolumn %}

{% column %}
Max Members: 7

Max Officers: 3
{% endcolumn %}

{% column %}
Border: 250x250
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 4
{% endcolumn %}

{% column %}
Max Members: 8

Max Officers: 3
{% endcolumn %}

{% column %}
Border: 300x300
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 5
{% endcolumn %}

{% column %}
Max Members: 10

Max Officers: 4
{% endcolumn %}

{% column %}
Border: 350x350
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 6
{% endcolumn %}

{% column %}
Max Members: 15

Max Officers: 4
{% endcolumn %}

{% column %}
Border: 400x400
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 7
{% endcolumn %}

{% column %}
Max Members: 15

Max Officers: 5
{% endcolumn %}

{% column %}
Border: 450x450
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 8
{% endcolumn %}

{% column %}
Max Members: 20

Max Officers: 5
{% endcolumn %}

{% column %}
Border: 500x500
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 9
{% endcolumn %}

{% column %}
Max Members: 20

Max Officers: 6
{% endcolumn %}

{% column %}
Border: 625x625
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
Level 10
{% endcolumn %}

{% column %}
Max Members: 25

Max Officers: 8
{% endcolumn %}

{% column %}
Border: 750x750
{% endcolumn %}
{% endcolumns %}

### Command LIST ❓

| Command                      | Required Role | Description                                                                                               |
| ---------------------------- | ------------- | --------------------------------------------------------------------------------------------------------- |
| /town                        | NO\_TOWN      | Opens the town starter gui                                                                                |
| /town                        | MEMBER        | Opens the town main menu                                                                                  |
| /town create                 | NO\_TOWN      | Creates a new town by that name                                                                           |
| /town spawn OR /town warp    | MEMBER        | Sends the player to the spawn point of their towns world (switching servers if needed)                    |
| /town leave                  | MEMBER        | Leaves the town                                                                                           |
| /town leave                  | MAYOR         | Disbands the town if there are no other members                                                           |
| /town set-banner             | MAYOR         | Sets the banner pattern for the town to the one you are holding                                           |
| /town invite                 | OFFICER       | Sends an invite to the online player                                                                      |
| /town cancel-invite          | OFFICER       | Cancels the player's current outgoing invite                                                              |
| /town deny                   | NO\_TOWN      | Denys all invites the player has recieved                                                                 |
| /town accept OR /town accept | NO\_TOWN      | Accepts the pending invite, if there is multiple then they may specify the player who invited them        |
| /town kick                   | OFFICER\*     | Cannot kick officers unless they are the mayor, removes a member from the town                            |
| /town promote                | MAYOR         | Promotes a member to officer if the town has officer slots                                                |
| /town demote                 | MAYOR         | Demotes a member from officer                                                                             |
| /town toggle-join-requests   | OFFICER\*     | Toggles wether the town shows up on the 'Join Town' menu                                                  |
| /town vault                  | MEMBER        | Sends a message about the vault                                                                           |
| /town vault balance          | MEMBER        | Sends a message with the current vault balance                                                            |
| /town vault deposit          | MEMBER        | Allows the player to deposit money from their cobblemontown-economy:dollars balance into the towns vault  |
| /town vault withdraw         | MAYOR         | Allows the mayor to withdraw funds directly into their own personal cobblemontown-economy:dollars balance |

Town world only:

| Command        | Required Role | Description                                                               |
| -------------- | ------------- | ------------------------------------------------------------------------- |
| /town setspawn | OFFICER       | Sets the spawn point for the town                                         |
| /townspawn     | GUEST         | Teleports the player to the spawn point of the town they are currently in |
| /townspawn set | OFFICER       | Sets the spawn point of the members town                                  |
