-
Notifications
You must be signed in to change notification settings - Fork 63
Commands
All the kingdoms commands are accessed from a main command /kingdoms
Aliases:
- /kingdomx
- /kingdomsx
- /kingdom
- /k
All the command names and aliases are customizable in commands.yml config.
If you want to disable a command entirely, it's recommended that you disable it via commands.yml config instead of removing the permission.
Also, it's possible to disable commands per WorldGuard region, for example if you don't want players to use /k fly in certain regions, you can use the command /rg flag <region> blocked-cmds k_fly
You can read about command permissions on the Permissions page.
Command options (arguments) are either in <> or []
Options:
-
<required>- You must to use this argument in the command. -
[optional]- This argument can be used in the command. The parameter names that are possible to be used in that specific parameter, are separated with / (e.g.<first/second/third/...>)\
Opens the interactive kingdoms help pages for the players. Only the commands that players have permission to are displayed in this list. So if you're op, you can see all the commands, or... can you?
Options:
-
[page]The page number.
Create a new kingdom with the specified name. Duplicated and blacklisted names depend on the config options. This also can cost money if you're using Vault. Can be changed in config.yml -> economy
Options:
-
<name>The name of the kingdom. Must follow the naming convention specified inconfig.yml->kingdoms-name
Rename your kingdom. Duplicated and blacklisted names depend on the config options. This also can cost money if you're using Vault. Can be changed in config.yml -> economy
Options:
-
<name>The new name of the kingdom. Must follow the naming convention specified inconfig.yml->kingdoms-name
Claims a land for your kingdom. All the claiming settings can be found in claims.yml option. Some are in invasions.yml that are for invasion purposes.
Options:
-
[auto/fill/x]-
autoBegin to automatically claim lands as you go from one chunk to another. This will start by attempting to claim the current land you're standing in. -
fillattempts to fill the shape (by claiming them) with connected borders that are marked by claimed lands. There are default limits to stop the server from lagging if the shape is not found or is too huge to claim. These options can be found inclaims.yml->fill -
xThe x axis of the chunk you want to claim.
-
-
<y>Used only if[x]parameter from the previous parameter is used. The y axis of the chunk you want to claim.
Set your kingdom lore. This lore will display when players come from another land to your land. It might not display the lore depending if you came from the same land type. (Wilderness -> Wilderness, Another Kingdom -> Your Kingdom, etc...)
You need to have LORE kingdom permission to use this command.
Options:
-
<description>The description of the lore. Supports color codes and must follow the rules specified inconfig.yml->kingdoms-loreThere also some special keyword such asremoveto completely remove this lore.
Teleport to your kingdom's home. Moving or getting damaged during the teleportation, will cancel it.
Once you make a new kingdom, the plugin will automatically set your home at where you're standing if the land was automatically claimed successfully.
Sets your kingdom home at your location. You need to have SET_HOME kingdom permission to use this command. Your kingdom home is probably already set after you create your kingdom.
Options:
-
[Safe Options]-
centerDirectionCenter the player pitch and yaw. -
centerAxisCenters the player xyz block axis. -
centerCenters both player xyz block axis and player yaw and pitch (direction).
-
Removes your kingdom home. You need to have SET_HOME kingdom permission to use this command.
Changes your kingdom nexus location. You need to have NEXUS kingdom permission to use this command.
Options:
-
[open/remove]-
openIf you have the permission, you can open your nexus remotely. -
removeRemove your kingdom's nexus remotely. You may want to checknexus->allow-removaloption inconfig.
-
Put or take money from your kingdom. Kingdom banks are used for taxes.
You need to have WITHDRAW permission to take money from your kingdom's bank.
Options:
-
<deposit/withdraw>Whether you want to put or take money. -
<amount>The amount of money to take from or put to your account.
Put, take or transfer resource points from your kingdom.
You need to have WITHDRAW permission to take or transfer resource points.
Options:
-
<deposit/withdraw/transfer>-
depositConvert your money to resource points. -
withdrawConvert your kingdom's resource points to money. -
transferTransfer your kingdom's resource points to your nation's and vice versa.
-
-
[kingdom/nation]-
kingdomTransfer resource points to your kingdom from your nation. -
nationTransfer resource points to your nation from your kingdom.
-
-
<amount>The amount of resource points.
Sell a kingdom item with the price specified in the config for resource points.
Promote a player in your kingdom to a lower priority rank.
Options:
-
<player>The player to promote.
Send a request to a kingdom to change your relationship status with them.
Options:
-
<kingdom>The kingdom to request the relation.
Revoke your relationship with a kingdom.
Options:
-
<kingdom>The kingdom to revoke relations with.
Demote a player in your kingdom to a higher priority rank.
Options:
-
<player>The player to demote.
Toggle PvP to fight with someone else. You'll be able to attack people who are your allies, or even your kingdom member.
Both players need to have this enabled for it work.
This mostly depends on kingdoms relations. If you don't have a kingdom, it'll only have effect when a kingdom set their PvP relation attribute for Naturals to false.
View the top ranking kingdoms with the highest mights.
If you're under attack by another kingdom, use this command to teleport to the champion. Moving or getting damaged during the teleportation, will cancel it.
This will teleport you to where the invasion was started to avoid getting stuck in traps.
Show the map for your current location or change its settings. You can also claim lands from the map.
Options:
-
[auto/reset/height]-
autoWhen you go from a land to another land, the map will automatically update. -
resetReset your map's height and width to the default size. -
heightSet your map's height.
-
-
[width]Set your map's width.
Broadcast a message to all your kingdom members. You need to have BROADCAST kingdom permission to use this.
This broadcast will also play a sound to the members.
Options:
-
<message>The message to broadcast. Supports color codes.
Change your current chat channel.
Options:
-
<channel>The channel to switch to. Can beNation (n),Kingdom (k),Ally (a)andGlobal (g) -
[message]Send a message to this channel without switching your main channel.
Disbands your kingdom and all the lands and members will be lost. Only the kingdom king can do this.
Donate resource points to another kingdom. You need to have WITHDRAW kingdom permission to use this.
Options:
-
<kingdom>The kingdom that you want to donate resource points to. -
<amount>The amount of resource points you want to donate.
Toggle kingdoms flight. You need to have FLY kingdom permission to use this. This will also disable fly if you want to toggle fly from other plugins too.
This will get disabled by the following things:
- If you get close to someone with
flyattribute (by default onlyenemiesif the person in the kingdom didn't change their relation attributes.) - If you go to an unclaimed land or a land that the kingdom doesn't allow
flyattribute for your relation. - If a player damages you even if the first scenario above is not happening.
Things that prevent kingdom flight from being disabled:
- Getting close to a player without a kingdom.
- Getting damaged by natural causes.
- When in admin mode.
- When in creative or spectator mode.
- If you're op or have one of the kingdom flight bypass permissions.
Your flight will not be disabled instantly by default, you'll be given a few seconds before returning and if you fail to do this or do this but instantly go again, your flight will be disabled.
Invade another kingdom's land. You need to have INVADE kingdom permission to use this.
Kicks a member out of your kingdom. You need to have KICK kingdom permission to use this.
Options:
-
<member>The member in your kingdom that you want to kick.
Shows detail about a kingdom. These details can be different whether you're an admin, a member of the kingdom, or an outsider.
Options:
-
[#KINGDOM/#PLAYER/kingdom/player]-
#KINGDOMIt's a special parameter used to indicate that the 2nd parameter that's going to be used, is referring to a kingdom name. -
#PLAYERIt's a special parameter used to indicate that the 2nd parameter that's going to be used, is referring to a player name. -
kingdom/playerIf the 1st parameter is not one of above, it'll first look for a kingdom named after the 1st parameter, if it couldn't find it, it'll look for a player name.
-
-
[kingdom/player]Only works if the 1st parameter is#KINGDOMor#PLAYERIt'll look for the specific element based on the first parameter.
Surrender during an invasion. If you're invading a kingdom and you surrender, the champion will despawn and the land owner will not change. If you're under attack and surrender, the champion will despawn and the attackers will get the land. You need to have SURRENDER kingdom permission for this to work.
Shows a list of special items that can give you a specific amount of resource points for each item.
If no argument is specified, this will show the land indicators and the title of the kingdom.
If the player has kingdoms.command.visualize.details permission, it'll also show almost every detail associated with this land.
Options:
-
[toggle/permanent]-
toggleToggle land indicators when you go from a land to another. -
permanentPermanently keep the land indicators. (The titles will stay go away)
-
Nation commands are pretty much the same as kingdom's.
Reloads the plugin completely. Please read here as well.
Check for available updates on the Spigot page.
Claim a land forcefully for a specific kingdom.
Options:
-
<kingdom>The kingdom to claim the land for.
Forcefully kick a player out of their kingdom.
Options:
-
<player>The player to kick.
Disbands a kingdom.
Options:
-
<kingdom>The kingdom to disband.
Forcefully make a player join a specific kingdom.
Options:
-
<player>The player to join the kingdom. -
<kingdom>The kingdom to make the player join.
Gives a kingdom extra lands to claim to exceed their default max claims. This amount is not related to or affected by max-claims equation in claims.yml config at all.
Options:
-
<kingdom>The kingdom to give extra lands to. -
<amount>The amount of extra lands to give to the kingdom.
Open another kingdom's nexus. This uses the kingdom's king instance for a few things. So you might see some things such as taxes differently.
Options:
-
<kingdom>The kingdom to open their nexus. -
[tp]Teleport to this kingdom's nexus.
Teleport to a kingdom's home.
Options:
-
<kingdom>The kingdom to teleport to their home.
Performs a manual daily check for taxes, rewards and everything else related to daily checks and restarts the current daily timer.
Change a player's rank in a kingdom.
Options:
-
<player>The player to change their kingdom rank. -
<rank>Their new kingdom rank. It has to be a rank name from their kingdom. Auto tab completion will make this easier.
Gives, sets or takes a kingdom's resource points.
Options:
-
<kingdom>The kingdom to modify their resource points. -
[add/set/remove]-
addAdd x amount of resource points. -
setSet the kingdom's resource points value to x. -
removeRemove x amount of resource points.
-
-
<amount>The amount of resource points to modify.
Change a kingdom's bank.
Options:
-
<kingdom>The kingdom to modify their bank. -
[add/set/remove]-
addAdd x amount of money to bank. -
setSet the kingdom's bank value to x. -
removeRemove x amount of money from bank.
-
-
<amount>The amount of money to modify.
Toggle chat spy.
Test sound names before using them in the config.
You can read here about how Minecraft sounds work.
Options:
-
<sound>The sound to play. It has to be one of the names from here. -
[volume]The volume of the sound. -
[pitch]The pitch of the sound.
Test the unique features of the plugin message system before using it in the config. Note that some of these features will not work for normal chat formatting. This command is special and will format the message in a way to make some special features such as the line breaks to work.
Options:
-
<message>The message to display. Supports line breaks, complex messages, hex color codes and etc...
Remove bugged structure and turret holograms for any reason (such as server crashes) in a radius.
This won't affect armorstands or holograms that are not markers (you don't really need to understand what a marker hologram is).
Options:
-
<radius>The block radius to delete the holograms.
Forcefully unclaim a land.
Toggles admin mode.
Evaluates an expression using the math engine. You can read about how the math engine works here.
Options:
-
<expression>The expression to evaluate.
Performs different async actions regarding to Dynmap.
Options:
-
<fullrender>Perform a manual render for the whole map. -
<remove>Remove the markers, icons and everything else related to Kingdoms from the map.
Manage masswar event.
Options:
-
<start/end>-
startStarts the masswar event if it's not running already. -
endEnds the masswar event if it's running.
-
Changes a kingdom's shield duration.
Options:
-
<kingdom>The kingdom to modify their shield. -
[add/set/remove]-
addAdd x amount of time to shield. -
setSet the kingdom's shield duration to x. -
removeRemove x amount of shield from the kingdom.
-
-
<amount>The shield duration time for the kingdom. This supports time suffixes and uses hours by default.
Show all the possible kingdom related information about a player.
Options:
-
[player]The player to show information about or the command sender if not the console.
Teleports you to a specific land with the chunk coordinates, not location coordinates. Please make sure to teleport using creative game mode with your fly enabled. The land you're going to teleport to might be unloaded and you may fall into the void.
The y axis of this location is always the highest block found in the chunk coordinates.
Options:
-
[world]The world that this land belongs to. -
<x>The x axis of the chunk location. -
<z>The z axis of the chunk location.
You can also find the server's chunk location in the Debug Screen by pressing F3 in-game. See this screenshot.
Also, check /k visualize for land information.
Terminology - Spigot - Discord - History - Other Info
- ๐ Home
- ๐ฐ Features
- ๐ฅ Installation
- ๐ Setup
- ๐ Compatibility
- โ FAQ
โ๏ธ NFAQ- โ๏ธ Addons
- ๐ฉ Outposts
- โฎ๏ธ Peace Treaties
- ๐บ๏ธ Map Viewers
- ๐ฌ EngineHub
- ๐ Admin Tools
- โ๏ธ Introduction
- โจ๏ธ Commands
- ๐ Permissions
- ๐ฃ Placeholders
- ๐ Config
- ๐ Protection Signs
- โ๏ธ Mails
- ๐ Mechanics
- ๐งฐ Troubleshooting
- ๐ป API
๐น Basics
๐น Turrets & Structures
๐น Metadata
๐น Events
๐น Examples
๐น Addons