Skip to main content

Permissions

Basic plugin permissions needed for players are all given by default.
All command permissions use the format: kingdoms.command.[groups...].<name>, where <name> is the main command name (not its aliases) and [groups...] are the main command names of the command groups.

Examples​

CommandPermission
/k flykingdoms.command.fly
/k showkingdoms.command.show
/k infokingdoms.command.show
/k nation spawnkingdoms.command.nation.spawn
/k admin disbandkingdoms.command.admin.disband
/k admin unclaimkingdoms.command.admin.unclaim
/k admin nation disbandkingdoms.command.admin.nation.disband
Format: kingdoms.command.[groups...].<name>

/k fly = kingdoms.command.fly
└┬┘ └┬┘
└────(command name)────┘

/k nation spawn = kingdoms.command.nation.spawn
└─┬──┘ └─┬─┘ └──┬─┘ └─┬─┘
└──────│─────(command group)─────┘ │
└────────(command name)─────────┘

/k admin nation disband = kingdoms.command.admin.nation.disband
└─┬─┘ └─┬──┘ └──┬──┘ └─┬─┘ └──┬─┘ └──┬──┘
└─────│───────│─────(command group)─────┘ │ │
└───────│────────(command group)─────────┘ │
└────────────(command name)─────────────┘

Notice how the permission for /k info and /k show in the table above is the same. This is because /k info is just an alias for the command /k show. Even if you renamed it in config.yml, it still wouldn't accept kingdoms.command.info as a valid permission.

Keep in mind that some of the words in a command are not "command groups", but rather arguments. For example in /k invade ransack command, the word ransack is an optional command argument. It still has its own permission, which is kingdoms.command.invade.ransack, but this is not always the case for all other arguments of other commands. It depends on the command.

To make things easier, the plugin has an admin command called /k admin command that quickly lets you get and copy the permission of a specific command, just by specifying its main name or alias.

If your permission plugin supports wildcards *, you can use that as well. For example kingdoms.command.admin.*. An ideal permission plugin suitable for any server is LuckPerms.

Removing Default Permissions​

To take away the default permissions given to players, you have to give them a negative permission. This is also called negating a permission. Different permission plugins have different ways of doing this. It's always recommended to use the plugin's commands to do these.
For example, to negate the kingdoms.command.home permission using LuckPerms, you need to do /lp group <group> permission set kingdoms.command.home false (which in LuckPerms context, the group is default in most cases). Please only use this if you want to disable the command for a certain group. If you want to completely remove a command from the plugin, go to the config.yml → commands section. See this FAQ for a more in-depth tutorial.

If you don't have permissions to use basic Kingdoms commands by default, it's possible that:

  • You negated * or kingdoms.* permission from the default group.
  • You turned off Bukkit default permissions for LuckPerms.
  • Your permission plugin doesn't support default groups.

Admin Mode​

The plugin has an easy way to access everything in the plugin with just a single command. You'll be able to bypass all the limitations and requirements, such as the resource points or money needed for something, or the blacklisted/whitelisted names. This mode will even bypass some limitations that even opped players can't.
/k admin toggle will toggle admin mode and you'll be able to access all KingdomsX's permissions.
As a security measure, this mode will automatically get disabled when you disconnect from the server. You can change this behavior in config.yml → keep-admin-mode.

note

Remember to always make sure that your admin mode is turned off before reporting bugs as it removes nearly 99% of the restriction. Some of these restrictions are extremely game breaking and can cause unexpected behavior, which may seem as a "bug".


Other Permissions​

PermissionDescription
kingdoms.command.<command>.bypass.cooldownBypass cooldown of a specific command.
kingdoms.command.<command>.bypass.disabled-worldsBypass disabled worlds for a certain command.
kingdoms.land.build.placePlace blocks in other kingdom's lands.
kingdoms.land.build.breakBreak blocks in other kingdom's lands.
kingdoms.land.bypass.creativeAllow players to walk in lands that are owned by kingdoms without CEASEFIRE relationship attribute.
kingdoms.land.interactInteract and use blocks in other kingdom's lands.
kingdoms.(structures | turrets).build.placePlace structures/turrets in any (claimed) land.
kingdoms.(structures | turrets).build.breakBreak structures/turrets in any land.
kingdoms.(structures | turrets).interactInteract with structures/turrets in any land.
kingdoms.structures.warppad.bypass.countdownWarp Pad teleport countdown bypass.
kingdoms.inventory.bypassPrevents players from using kingdom items as vanilla items (e.g. fuel in furnace)
kingdoms.command.claim.chunkClaim using /k claim command. Note this is required for claiming from /k map
kingdoms.command.show.othersView another kingdom's info for /k show
kingdoms.command.show.adminView the full info of another kingdom using /k show
kingdoms.command.nation.show.othersView another nation's info.
kingdoms.command.nation.show.adminView the full info of another nation.
kingdoms.command.teleport.bypass.timerBypass the /k tp teleportation timer for not moving.
kingdoms.command.home.bypass.timerBypass the /k home teleportation timer for not moving.
kingdoms.command.nation.home.bypass.timerBypass the /k nation spawn teleportation timer for not moving.
kingdoms.command.admin.execute.consolePermission for executing /k admin execute console ... This is disabled by default even for OPs as a security measure.
kingdoms.nexus.removePermission to remove nexus structure even if
kingdoms.protection-signs.usePermission to use protection signs. Enabled by default.
kingdoms.protection-signs.use.creativePermission to use protection signs in creative mode. Enabled by default.
kingdoms.protection-signs.openOpen any protected blocks.
kingdoms.protection-signs.breakBreak any protected blocks or signs.
kingdoms.command.visualize.details/k visualize Shows almost every detail of the current land.
kingdoms.debugPermission to view debug messages. Debug messages are quite rare in the plugin.
kingdoms.updatesSends a message to the player if the update checker is enabled and the plugin is outdated.
kingdoms.creative.pickupPickup structures and turrets in creative mode.
kingdoms.silent.leaveLeave the server without the leave message.
kingdoms.silent.joinJoin the server without the join message.
kingdoms.flight.damagePlayer flight will not be disabled after taking damage.
kingdoms.flight.landsPlayer flight will not be disabled while entering lands other than the player's kingdom.
kingdoms.flight.nearby-enemiesPlayer flight will not be disabled if an enemy is nearby.
kingdoms.chat.colorsUse color codes in the chat.
kingdoms.chat.tagPermission to tag players in chat.
kingdoms.chat.bypass.rangedAllow players to use the prefix defined in the config to bypass the ranged channel and send the message to everyone.
kingdoms.inactivity.disbandPrevents the kingdom that the player is in being disbanded due to inactivity.
kingdoms.markers.defaultAllow players to use /k visualize markers to set their markers type to default.
kingdoms.markers.blocksAllow players to use /k visualize markers to set their markers type to block visualizers.
kingdoms.markers.<particle>Allow players to use /k visualize markers to set their markers type to one of the particle types (by default horizontal and vertical) Note if you added or removed a particle marker type, these permission names may be outdated when auto-completing them in a permission plugin. You need to restart the server to fix this.
kingdoms.command.vault.othersPermission for /k vault
kingdoms.command.nexus.open.othersPermission for /k nexus open
kingdoms.command.pvp.othersPermission for /k pvp
kingdoms.command.sneak.othersPermission for /k sneak
kingdoms.see.others.hologramsWhen holograms are enabled to be seen only by friendly players, this feature allows admins to bypass this.