# KINGDOMS COMMANDS

**/k create \<isim> :** Create a new kingdom with the specified name.

**/k rename \<yenisim>:** Rename your kingdom.

**/k claim:** He demands a land for your kingdom(claim).

**/k lore:** This information will be displayed when players arrive in your country from another country.

**/k home:** Teleport to the home of your kingdom. Moving or taking damage during teleportation will cancel it. When you create a new kingdom, if the land has been successfully claimed( claimed) automatically, the server will automatically set your house to your location.

**/k sethome:** It places your kingdom where you are. You must have the SET\_HOME kingdom permission to use this command. Your kingdom has probably already been established after you created your kingdom.

**/k unsethome:** He removes your kingdom house. You must have the SET\_HOME kingdom permission to use this command.

**/k nexus:** The kingdom changes your port. You must have NEXUS kingdom permission to use this command.

**/k nexus open:** If you have permission, you can open the nexus remotely.

**/k bank:** Put or take money from your kingdom. The kingdom's banks are used for taxes. You must have WITHDRAW permission to receive money from the bank of your kingdom.

**/k bank deposit:** The kingdom puts money in your bank.

**/k bank withdraw:** The kingdom withdraws money from your bank.

**/k resourcepoints:** Place, receive or transfer resource points from your kingdom. You must have WITHDRAW permission to receive or transfer resource points

**/k resourcepoints deposit:** Convert your money into resource points.

**/k resourcepoints withdraw:** Convert the resource points of your kingdom into money.

**/k resourcepoints transfer:** Transfer the resource points of your kingdom to the resource points of your own country or vice versa.

**/k resourcepoints kingdom:** Transfer resource points from your nation to your kingdom.

**/k resourcepoints nation:** Transfer resource points from your kingdom to your nation.

&#x20;**/k sell:** Buy a kingdom item at the specified price for resource points.

**/k promote:** Upgrade a player in your kingdom to a lower rank rank.

**/k ally/truce/enemy:** Send a request to a kingdom to change your relationship status with them.

**/k revoke:** Cancel your relationship with a kingdom.

**/k demote:** Promote a player in your kingdom to a higher rank.

**/k pvp:** Turn on PvP to fight someone else. You will be able to attack people who are your allies and even your kingdom members. Both players must have this enabled for it to work. This mostly depends on the kingdom relations. If you don't have a kingdom, it will only take effect when a kingdom has its PvP relationship attribute set to false.

**/k top:** View the most powerful kingdoms.

**/k teleport:** If you are under attack from another kingdom, use this command to teleport to the champion. Moving or taking damage during teleportation will cancel it. This teleports you to the place where the invasion began, so as not to get caught in traps.

**/k map:** Show the map for your current location or change its settings. You can also claim(claim) land from the map.

**/k broadcast:** Send a message to all your kingdom members. You must have **BROADCAST** kingdom permission to use this. This broadcast will also play an audio to the members.

**/k chat:** Change your current chat channel.

**/k chat \<channel>:** The channel to be switched. Can be Nation(n), Kingdom(k), Ally(a) and Global(g)

&#x20;**/k disband:** It dissolves your kingdom and all the lands and members are lost. Only the king of the kingdom can do this.

**/k donate:** Donate resource points to another kingdom. You must have **WITHDRAW** kingdom permission to use this.

&#x20;(vip)**/k fly:** Change the flight of kingdoms. You must have a **FLY** kingdom permission to use it. This will be disabled by the following things: if you approach someone who is fly qualified (by default, only if the person in the enemies kingdom has not changed the relationship characteristics.) If you go to an unclaimed country or a country where the kingdom does not allow qualifications for your fly relationship. If a player hurts you, even if the first scenario above does not happen. By default, your flight will not be disabled instantly, you will be given a few seconds before returning, and if you do not do this, or if you do this and leave immediately again, your flight will be disabled.

**/k invade:** Invade the territory of another kingdom. You need to have the **INVADE** kingdom permission to use it.

**/k kick:** It expels a member from your kingdom. You need to have the **KICK** kingdom permission to use this.&#x20;

**/k king:** The kingdom transfers its ownership to another member in your kingdom. This will announce a message to all online kingdom members by default.

**/k show \[#KINGDOM/#PLAYER/kingdom/player] \[kingdom/player]:** It shows details about a kingdom. These details may be different whether you are a ruler, a member of the kingdom, or a foreigner. \[#KINGDOM/#PLAYER/kingdom/player]&#x20;

\#KINGDOM Will be used 2. it is a special parameter used to indicate that the parameter refers to the name of a kingdom.

\#PLAYER Will be used 2. it is a special parameter used to indicate that the parameter refers to the name of a player. kingdom/player 1. if the parameter is not one of the above, first 1. it searches for a kingdom named after the parameter, if it does not find it, it searches for a player name.

\[kingdom/player]Only 1. parameter #Kingdom or 1. the parameter works if #Player searches for a specific item according to the first parameter.

&#x20;**/k surrender:** Surrender during an invasion. If you are occupying a kingdom and you surrender, the champion becomes despawn and the landowner does not change. If you are under attack and surrender, the champion will despair and the attackers will take the land. In order for this to work, you need to have a **SURRENDER** kingdom permit.

**/k tradable:** It shows a list of special items that can give you a certain amount of resource points for each item.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.riagame.net/kingdoms-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
