# Commands

## Overview

Kingdoms has a variety of commands that allow players to manage their kingdoms, interact with other players, and perform various actions. Below is a list of all the commands you can do as a kingdom leader in your kingdom.

## Commands (aliases: /kingdom, /kc)

### `/k create <name>`

Create a new kingdom with the specified name. This command will place a Kingdom Core beneath you, which is essential for your kingdom's existence.

### `/k rename <name>`

Rename your kingdom to another name.

### `/k leave`

Leave your current kingdom. If you are the leader, you will need to transfer leadership or disband the kingdom first.

### `/k disband`

Disband your kingdom, removing all claims and progress forever. This command should be used with caution, as it cannot be undone.

### `/k invite`

Invite a player to join your kingdom.

### `/k accept`

Accept an invitation to join a kingdom.

### `/k chat` (aliases: /k c)

Toggles on/off kingdom-wide chat.

### `/k home`

Teleport to your kingdom's home.

### `/k home <world>`

Teleport to an Interplanetary core home in the specified world.

### `/k home list`

List all available homes within your kingdom.

### `/k map`

View a 7x7 chunk map of your surroundings and any claimed chunk.

### `/k setcore`

Sets the **MAIN** core location of your kingdom to a new location. If the place you are moving your core is outside your claims, all claims will be removed, and all Interplanetary Cores will be disbanded.

### `/k kick <player>`

Remove a player from your kingdom.

### `/k setleader <player>`

Transfer leadership of your kingdom to another player. Upon transfer, the old leader will become a Co-Leader of the kingdom.

### `/k info <kingdom>`

Display information about a specified kingdom. Do `/k info` to see your own kingdom's information.

### `/k members <kingdom>`

List all members of the specified kingdom.

### `/k top`

Show the top kingdoms, ordered by their worth.

### `/k claim`

Claim a chunk of territory for your kingdom. You can buy more claims in the Core Upgrades menu in your Kingdom Core which will cost kingdom gold.

### `/k unclaim`

Unclaim a chunk of territory for your kingdom.

### `/k togglesc`

Toggle sell chest notifications in chat. If you have any sell chests in your kingdom that are owned by you, you will receive notifications when items are sold.

### `/k worths`

Display all the types of worth that you can place / purchase to increase your kingdom's worth.

### `/k setipc`

Set the interplanetary core location of your kingdom. You must have an Interplanetary Core already bought. You can purchase them in the progression menu.

### `/k disbandipc`

Disband your Kingdom's interplanetary core in that dimention.

---

## Allies Commands

In kingdoms, you can form alliances with other kingdoms. Below is a list of all allies commands you can do as a kingdom leader.

## Commands (aliases: /ally, /ka)

### `/kally ally <name>`

Send an alliance request to another kingdom.

### `/kally join <name>`

Accept an alliance request. Must be the leader of the kingdom to do this.

### `/kally leave`

Leave an alliance. Must be the leader of the kingdom to do this.

### `/kally chat` (aliases: /ka c)

Toggle alliance-wide chat.

### `/kally top [page]`

View the list of all top alliances ordered by their collective worth.

### `/kally paygold <ally> <amount>`

Pay a certain amount of kingdom gold to an alliance.

### `/kally help`

Opens the allies commands help page.
