Перейти к содержимому
Mineforgian

TerritoryGuard

Land claiming and territory protection plugin with roles, flags, anti-grief protection, and PlaceholderAPI support.

Загрузки
158
Подписчики
0
Обновлён
6 июля 2026 г.
Лицензия
Apache-2.0

Опубликован 11 апреля 2026 г.

About

TerritoryGuard is a powerful protection plugin for Minecraft servers that lets players claim land, manage access, and stop griefing with flexible rules.

  • Claim territories with a wand or commands.
  • Owner, co-owner, member, and guest role system.
  • Flexible flags for PvP, fire, liquids, explosions, chests, doors, and redstone.
  • Protection against pistons, lava, water, TNT, creepers, and endermen.
  • PlaceholderAPI support for scoreboards and HUD plugins.
  • Auto-save to YAML files.
  • Visual border particles while selecting land.
Install
  1. Download TerritoryGuard.jar.
  2. Place the file in your server's plugins/ folder.
  3. Restart the server.
  4. Adjust config.yml if needed.
  5. Done.
Create-regions

Players can claim land using a simple selection system:

  1. Using a wand: /twand – left-click to set position 1, right-click to set position 2.
  2. Using commands: /tg tpos1 and /tg tpos2 – sets positions to player location.
  3. Create territory: /tg create <name> after selecting an area.

Once created, territories are saved to territories.yml and persist across server restarts. Config

Нe configuration file is simple and allows quick tuning:

s# TerritoryGuard Configuration for Minecraft 1.12.x - 26.1.x
settings:
# Default language 
  language: "en"
  # Maximum territories per player
  max-territories-per-player: 5
  
  # Minimum and maximum territory size (in blocks)
  min-size: 10
  max-size: 1000
  
  # Visual effects
  particles-enabled: true

# Flag defaults for new territories
flags:
  build: false
  pvp: false
  fire: false
  lava: false
  water: false
  piston: false
  explosions: false
  enderman: false
  chest: false
  door: false
  redstone: false
  enter: true

You can change the default language, limit the number of territories per player, and control the minimum/maximum allowed claim size.

Flags
**/tg flag** <territory> <flag> [on/off]
PlaceholderAPI-Integration

TerritoryGuard fully supports PlaceholderAPI, allowing you to display territory info in scoreboards, TAB plugins, and custom GUIs.

  • %territoryguard_name% Current territory name
  • %territoryguard_owner% Territory owner name
  • %territoryguard_owner_display% Owner name with "You" highlight
  • %territoryguard_size% Territory size in blocks
  • %territoryguard_members% Number of members
  • %territoryguard_coowners% Number of co-owners
  • %territoryguard_count% How many territories the player owns
  • %territoryguard_territories% List of player's territories
  • %territoryguard_role% Player role (Owner/Co-owner/Member/Guest)
  • %territoryguard_in_territory% Yes/No if inside a territory
  • %territoryguard_flag_<flag>% Flag state (on/off)

Example usage in TAB scoreboard:

&7Current: &f%territoryguard_name%
&7Owner: %territoryguard_owner_display%
&7Role: %territoryguard_role%

Ченджлог

3.0.2Релиз26.1.1, 26.1.2, 26.2 · 6 июля 2026 г.

26.2x support

3.0.1Релиз26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

-stable 3.0.0 version -support 1.12-26.1x

3.0.0-1.21xРелиз1.21.9, 1.21.10, 1.21.11 · 25 мая 2026 г.
  • Support 1.21x
4.0.0-26.1xБета26.1, 26.1.1, 26.1.2 · 17 мая 2026 г.
  • Added control menu
  • Added new commands and functions
3.0.0-26.1xРелиз26.1, 26.1.1, 26.1.2 · 17 мая 2026 г.
  • Fixed many bugs, especially with saving territories.
  • Added 14 languages! You can also create your own.
  • Fixed a problem with the placeholder.
2.1.0-26.1xАльфа26.1, 26.1.1, 26.1.2 · 13 мая 2026 г.
  • Added PlaceholderAPI support.
  • Fixed bugs.
  • Added support for a newer version.
2.0.0-26.1xАльфа26.1, 26.1.1, 26.1.2 · 11 апреля 2026 г.

Not available in this version of PlaceholderAPI! Suport 26.1x

Комментарии

Загружаем…