# Kingdom setup

KingdomCraft is all about kingdoms, below you can find information about creating and setting up kingdoms.

# Management

## Webeditor

You can create, delete kingdoms and update most options through the **online webeditor**.

| /k editor | kingdom.editor |
|-----------|----------------|


:::tip
Using `/k editor` is the easiest way to setup your kingdoms and ranks!

:::

## Create a kingdom

Create a kingdom.

| /k create <name> | kingdom.create |
|------------------|----------------|

## List of kingdoms

Show a list of all kingdoms

| /k list | kingdom.list |
|---------|--------------|

## Join a kingdom

Join a kingdom.

| /k join <kingdom> | kingdom.join |
|-------------------|--------------|

## Delete a kingdom

Delete your own kingdom or another kingdom.

| /k delete | kingdom.delete |
|-----------|----------------|
| /k delete <kingdom> | kingdom.delete.other |

## Rename a kingdom

Rename your kingdom or another kingdom.

| /k rename <naam> | kingdom.rename |
|------------------|----------------|
| /k rename <kingdom> <naam> | kingdom.rename.other |

# Kingdom options

## Display

Change the displayname of your kingdom or another kingdom. You can use colors here for the best experience.

| /k edit display <display> | kingdom.edit.display |
|---------------------------|----------------------|
| /k edit display <kingdom> <display> | kingdom.edit.display.other |

## Chat prefix

Change the **chat prefix** of players in your kingdom or another kingdom.

| /k edit prefix <prefix> | kingdom.edit.prefix |
|-------------------------|---------------------|
| /k edit prefix <kingdom> <prefix> | kingdom.edit.prefix.other |

## Chat suffix

Change the **chat suffix** of players in your kingdom or another kingdom.

| /k edit suffix <suffix> | kingdom.edit.suffix |
|-------------------------|---------------------|
| /k edit suffix <kingdom> <suffix> | kingdom.edit.suffix.other |

## Invite only

Enable (**true**) or disable (**false**) the need for an invitation to join your kingdom or another kingdom.

| /k edit invite-only [true/false] | kingdom.edit.invite-only |
|----------------------------------|--------------------------|
| /k edit invite-only <kingdom> [true/false] | kingdom.edit.invite-only.other |

## Max members

Change the max amount of memers in your kingdom or another kingdom.

| /k edit max-members <aamount> | kingdom.edit.max-members |
|-------------------------------|--------------------------|
| /k edit max-members <kingdom> <amount> | kingdom.edit.max-members.other |

## Default rank

You can have multiple ranks in a kingdom ([more info](https://kingdomcraft.be/wiki/starter/ranks)), this option sets the default rank. A new player will automatically receive this rank upon joining your kingdom or another kingdom.

| /k edit defaultrank <rank> | kingdom.edit.defaultrank |
|----------------------------|--------------------------|
| /k edit defaultrank <kingdom> <rank> | kingdom.edit.defaultrank.other |

## Item

Every kingdom can have a unique item for display in the GUI’s. You need to hold an item when executing this command.

| /k edit item | kingdom.edit.item |
|--------------|-------------------|
| /k edit item <kingdom> | kingdom.edit.item.other |

# Template kingdom

KingdomCraft has a template kingdom with the name **template.** You can change options of this template kingdom with the above commands or through the webeditor. Players cannot join this kingdom.

When a new kingdom is created with a command or through the webeditor, a copy is created from the template kingdom including it’s ranks.

You can use the placeholder `{kingdom_name}` inside the display, prefix and suffix which will then be replaced upon creation of a new kingdom.

---

**Documents**

- [Getting started](https://wiki.guflimc.com/s/kingdomcraft/doc/getting-started-D6nO7R93ys)
- [Configuration](https://wiki.guflimc.com/s/kingdomcraft/doc/configuration-DMcGaWt85O)
- [Kingdom setup](https://wiki.guflimc.com/s/kingdomcraft/doc/kingdom-setup-ZDcgXrOKXu)
- [Ranks setup](https://wiki.guflimc.com/s/kingdomcraft/doc/ranks-setup-8ZxHwOcwuN)
- [Players guide](https://wiki.guflimc.com/s/kingdomcraft/doc/players-guide-52cG3r3F9w)
- [Chat system](https://wiki.guflimc.com/s/kingdomcraft/doc/chat-system-BI5h4CO5nK)
- [Relations](https://wiki.guflimc.com/s/kingdomcraft/doc/relations-DWqWWHEum8)
- [Admin mode](https://wiki.guflimc.com/s/kingdomcraft/doc/admin-mode-XiPDZwgCU9)
- [Translations](https://wiki.guflimc.com/s/kingdomcraft/doc/translations-P1RH2hwYjp)
- [Rank permissions](https://wiki.guflimc.com/s/kingdomcraft/doc/rank-permissions-pJn6oSjLYI)
- [All permissions](https://wiki.guflimc.com/s/kingdomcraft/doc/all-permissions-abZLW9OAkb)
- [Database](https://wiki.guflimc.com/s/kingdomcraft/doc/database-XlNdVs86Jz)