Skip to content

Plot Flag System

The Plot Flag system allows plot owners and administrators to customize specific behaviors within a plot.

Managing Flags

Flags are managed using the /plot flag command.

Commands

CommandDescriptionPermission
/plot flag set <flag> <value>Sets a flag to a specific valueplots (and plot ownership)
/plot flag remove <flag>Reverts a flag to its default valueplots (and plot ownership)
/plot flag listLists all available flags and their current valuesplots
/plot f ...Alias for /plot flag ...plots

Validation and Feedback

  • flag subcommands use standardized usage/error messaging.
  • Unknown subcommands return a clear "command not recognized" response plus usage.
  • Argument handling is null-safe and normalized before processing.

Available Flags

Bridge-required flags — the following can only be enabled when the TaleGuard bridge is installed, because they are enforced by bytecode mixins with no native (ECS) fallback: item-pickup, item-pickup-manual, build, hammer, allowed-cmds, blocked-cmds, seat, mob-spawning, keep-inventory, invincible-items, explosions. Without TaleGuard the plugin refuses to enable them and warns the player; all other flags are enforced natively. See Protection Coverage.

FlagTypeDefaultDescription
interactBooleantrueAllow block interaction (doors, chests, etc.).
item-dropBooleantrueAllow players to drop items.
item-pickupBooleantrueAllow players to pick up items.
mob-damageBooleantrueAllow mobs to damage players.
greet-messageString(Empty)Message shown when entering the plot.
farewell-messageString(Empty)Message shown when leaving the plot.
player-chatBooleantrueAllow players to send chat messages.
craftingBooleantrueAllow players to use crafting stations.
mob-spawnBooleantrueAllow hostile mobs to spawn.
mob-capInteger50Maximum number of mobs allowed on the plot.
pvpBooleanfalseAllow player vs player combat.
weatherStringclearWeather mode for the plot (clear, rain, storm).

Examples

  • Set a custom greeting:/plot flag set greet-message "{#FFD700}Welcome to my Kingdom!"

  • Disable hostile mobs:/plot flag set mob-spawn false

  • Enable PvP for an arena plot:/plot flag set pvp true

  • Remove a flag setting:/plot flag remove pvp

Released under the MIT License.