# SimpleGuard
**SimpleGuard** is a lightweight, efficient server-side region protection mod built for **Minecraft Forge 1.20.1**. It provides essential tools for server administrators to secure areas, manage player interactions, and control regional mechanics without the overhead of complex plugin systems.
Perfect for specialized servers like Tarkov-style raids, CS:GO maps, or private community hubs.
---
## 🛠️ Selection & Inspection Tools
SimpleGuard uses standard vanilla items for management:
* 🪓 **Golden Axe (Selection Tool):**
* **Left-Click** any block to set **Point 1**.
* **Right-Click** any block to set **Point 2**.
* 🦴 **Bone (Inspector Tool):**
* **Right-Click** any block to check if it is part of a protected region and see its name in chat.
---
## 💬 Commands
* `/rg claim <name>` — Create a new region based on your current selection.
* `/rg unclaim <name>` — Remove an existing region from the server.
* `/rg info` — Show detailed information about the region you are currently standing in.
* `/rg list` — List all active regions on the server.
* `/rg setflag <name> <flag> <true/false>` — Toggle specific rules for a region.
---
## 🚩 Available Flags
Use these flags with the `/rg setflag` command to customize your protection:
* `pvp` — Enable or disable combat between players.
* `explosions` — Toggle TNT, Creeper, and other explosive damage.
* `break` — Toggle block breaking.
* `build` — Control whether players can place or break blocks.
* `interact` — Control access to chests, doors, buttons, and mechanisms.
* `mobs` — Enable or disable mob spawning within the region.
---