Skip to content

Commands

Crypto Morin edited this page Jul 4, 2020 · 145 revisions

All the kingdoms commands are accessed from a main command /kingdoms
Aliases:

  • /kingdomx
  • /kingdomsx
  • /kingdom
  • /k

You can also add your own aliases from Bukkits commands.yml found in the main server folder. However you cannot remove any aliases.
Command names are not translatable due to performance and stability reasons.

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 arguments are either in <> or [] Arguments:

  • <required> - You must to use this argument in the command.
  • [optional] - This argument can be used in the command.

Commands

Players

/k create <name>

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 in config.yml -> kingdoms-name

/k rename <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 in config.yml -> kingdoms-name

/k lore <description/remove>

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 in config.yml -> kingdoms-lore There also some special keyword such as remove to completely remove this lore.

/k sethome [center/centerAxis/centerDirection]

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]
    • centerDirection Center the player pitch and yaw.
    • centerAxis Centers the player xyz block axis.
    • center Centers both player xyz block axis and player yaw and pitch (direction).

/k unsethome

Removes your kingdom home. You need to have SET_HOME kingdom permission to use this command.


/k nexus [open]

Changes your kingdom nexus location. You need to have NEXUS kingdom permission to use this command. Options:

  • [open] If you have the permission, you can open your nexus remotely.

/k bank <deposit/withdraw> <amount>

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.

/k resourcepoints <deposit/withdraw/transfer> [kingdom/nation] <amount

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>
    • deposit Convert your money to resource points.
    • withdraw Convert your kingdom's resource points to money.
    • transfer Transfer your kingdom's resource points to your nation's and vice versa.
  • [kingdom/nation]
    • kingdom Transfer resource points to your kingdom from your nation.
    • nation Transfer resource points to your nation from your kingdom.
  • <amount> The amount of resource points.

/k sell

Sell a kingdom item with the price specified in the config for resource points.


/k pvp

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.


/k top

View the top ranking kingdoms with the highest mights.


/k teleport

If you're under attack by another kingdom, use this command to teleport to the champion.


/k map [auto/reset/height] [width]

Show the map for your current location or change its settings. You can also claim lands from the map.

Options:

  • [auto/reset/height]
    • auto When you go from a land to another land, the map will automatically update.
    • reset Reset your map's height and width to the default size.
    • height Set your map's height.
  • [width] Set your map's width.

/k broadcast <message>

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.

/k chat <channel>

Change your current chat channel. Options:

  • <channel> The channel to switch to. Can be Nation (n), Kingdom (k), Ally (a) and Global (g)

/k disband

Disbands your kingdom and all the lands and members will be lost. Only the kingdom king can do this.


/k donate <kingdom> <amount>

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.

/k fly

Toggle kingdoms fly. You need to have FLY kingdom permission to use this.


`/k invade

Invade another kingdom's land. You need to have INVADE kingdom permission to use this.


/k kick <member>

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.

/k show [#KINGDOM/#PLAYER/kingdom/player] [kingdom/player]

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]
    • #KINGDOM It's a special parameter used to indicate that the 2nd parameter that's going to be used, is referring to a kingdom name.
    • #PLAYER It's a special parameter used to indicate that the 2nd parameter that's going to be used, is referring to a player name.
    • kingdom/player If 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 #KINGDOM or #PLAYER It'll look for the specific element based on the first parameter.

/k surrender

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.


More information coming soon..


Admins

Information coming soon...

Basics

Advanced

Others

Clone this wiki locally