Skip to main content

Permissions

LandGuard uses a permission-based system to control access to its commands and features. This allows server administrators to fine-tune which players or groups have access to specific actions, commands, and GUI interactions.

Permissions can be managed using any permissions plugin that supports Bukkit/Spigot API, such as:


🔧 How Permissions Work

Each command or feature in LandGuard is associated with a permission node. By default, all permissions are restricted to Operators (OPs) unless explicitly granted via a permissions plugin.

If a player lacks the necessary permission, they will receive a message indicating they don't have access to the command or feature.

🧾 Protection Features

These permissions usually apply to players. They can limit access to commands as well as GUI interactions.

Permission NodeDescription
landguard.land.createAllows the player to create lands
landguard.land.deleteAllows the player to delete one of his lands
landguard.land.expandAllows the player to expand one of his lands
landguard.land.infoAllows checking information about a land
landguard.land.info.allAllows checking a list of all lands
landguard.land.previewAllows previewing the land boundaries
landguard.land.renameAllows renaming a land
landguard.land.teleportAllows teleporting to a land
landguard.land.descriptionAllows updating the land's description
landguard.permissions.addAllows adding permissions to the access group of a certain land
landguard.permissions.removeAllows removing permissions from the access group of a certain land
landguard.members.addAllows adding members to a land
landguard.members.removeAllows removing members from a land
landguard.members.promoteAllows promoting members within a land
landguard.members.demoteAllows demoting members within a land
landguard.flags.toggleAllows toggling protection flags

🧾 GUIs

These permissions apply to regular players and can prevent them from opening specific GUIs (depending on the permission).

Permission NodeDescription
landguard.gui.useAllows accessing the LandGuard GUI
landguard.gui.access_groupsAllows access to the access groups GUI
landguard.gui.flagsAllows access to the flags GUI
landguard.gui.landAllows access to the land management GUI
landguard.gui.landsAllows access to the lands GUI
landguard.gui.membersAllows access to the members GUI
landguard.gui.permissionsAllows access to the permissions GUI

🧾 General Features

Usually apply to players and can limit access to commands as well as GUI interactions.

Permission NodeDescription
landguard.confirmAllows confirming actions (e.g. land creation)
landguard.cancelAllows canceling land creation
landguard.helpAllows viewing help information

🧾 Flags & Access Groups Permissions

These permissions apply to players and can be used by administrators to limit access to specific flags or access group permissions.

Permission NodeDescription
landguard.flags.access.<flag>Allows toggling a specific flag (e.g. landguard.flags.access.BLOCK_BREAK)
landguard.permissions.access.<permission>Allows using a specific access group permission (e.g. landguard.permissions.access.TELEPORT)

🧾 Admin Features

These permissions are usually reserved for server administrators or trusted players. They allow access to commands that affect the entire server and other players' lands.

Permission NodeDescription
landguard.admin.reloadAllows reloading the plugin configuration
landguard.admin.land.allAllows access to the command to list all lands in the server
landguard.admin.land.deleteAllows deleting any land in the server
landguard.admin.land.previewAllows previewing any land in the server

🧪 Tips

  • Use wildcard nodes like landguard.admin.* for moderators or admins.
  • For servers with multiple roles, create permission groups (e.g., “builder,” “trusted,” “admin”) using LuckPerms or another permissions plugin.
  • Combine with economy pricing for more granular control.