-
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
The kingdom main command name and its aliases are customizable in config.yml However, you can't change the name for sub-commands.
If you want to disable a command entirely, it's recommended that you disable it via config instead of removing the permission.
You can disable all the commands from config.yml -> disabled-commands. It's explained how to do it there. This can improve performance in some cases.
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, do /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.
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
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.
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.
-
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.
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.
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.
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 fly. You need to have FLY kingdom permission to use this.
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.
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.
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.
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.
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.
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