Skip to main content

Commands

This section contains a complete list of commands provided by the LandGuard plugin, along with their usage, description, and permissions required (if applicable). These commands allow players and administrators to interact with and manage lands easily through the in-game chat.


📜 Player Commands​

CommandPermissionDescription
/lglandguard.gui.useOpens the main LandGuard GUI menu for land management.
/lg land createlandguard.land.createStarts the process to create a new land.
/lg land cancellandguard.cancelCancels the land creation process.
/lg land delete <landId>landguard.land.deleteDeletes an existing land owned by the player.
/lg land listlandguard.land.info.allLists all lands owned by the player.
/lg land tp <landId>landguard.land.teleportTeleports the player to the specified land.
/lg land info <landId>landguard.land.infoDisplays information about a specific land.
/lg land expand <landId> <direction> <rows>landguard.land.expandExpands the land in a certain direction for a certain number of rows.
/lg land preview <landId>landguard.land.previewDisplays the land boundaries using particles.
/lg land rename <landId> <name>landguard.land.renameChanges the name of the player's selected land.
/lg land setdesc <landId> <description>landguard.land.descriptionUpdates the description of the player's selected land.
/lg confirmlandguard.confirmConfirms an action such as land creation.
/lg member add <landId> <player>landguard.members.addAdds a player to the land as a visitor.
/lg member remove <landId> <player>landguard.members.removeRemoves a player from the land.
/lg member promote <landId> <player>landguard.members.promotePromotes a member to a higher access group.
/lg member demote <landId> <player>landguard.members.demoteDemotes a member to a lower access group.
/lg permission add <landId> <groupName> <permission>landguard.permissions.addAdds a permission to an access group of a land.
/lg permission remove <landId> <groupName> <permission>landguard.permissions.removeRemoves a permission from an access group of a land.
/lg flag toggle <landId> <flag>landguard.flags.toggleToggles a protection flag for the land.
/lg helplandguard.helpShows a list of all player-available commands.

📜 Admin Commands​

CommandPermissionDescription
/lg reloadlandguard.reloadReloads the plugin configuration.
/lg land delete <landId>landguard.admin.land.deleteDelete any land in the server.
/lg land alllandguard.admin.land.allList all existing lands in your server.