
# 🛡️ ApxClaims — Modern Land Claiming & Grief Prevention
**ApxClaims** is a modern, lightweight, and high-performance land protection and grief prevention plugin designed for Minecraft servers. Built with modern standards, it offers native **Folia multi-threading support**, cross-server synchronization, multi-database drivers, and smooth web-map integration.
Give your players an easy way to protect their homes and builds, while retaining complete administrative control over your server's claims.
---
## 🌟 Key Features
* ⛏️ **Intuitive Land Claiming:** Claim land using a **Golden Shovel** or simple `/claim` commands.
* 🔍 **Instant Inspection Tool:** Right-click with a **Stick** to check who owns a claim and view boundaries.
* ⚡ **Folia & Paper Native:** Built for modern Paper and 100% compatible with Folia's regionized multi-threading.
* 🌐 **Cross-Server Sync:** Synchronize claims across your entire proxy network with high efficiency.
* 💾 **Multiple Database Options:** Supports **SQLite**, **MySQL**, **MariaDB**, and **MongoDB**.
* 🗺️ **Web-Map Support:** Built-in markers for **BlueMap**, **Pl3xMap**, and **Dynmap**.
* 💰 **Economy Integration:** Players can buy claim blocks using Vault economy.
* 🛡️ **Advanced Protection Flags:** Granular control over PvP, explosions, mob spawning, and block interactions.
* 🚫 **Claim Bans & Safety:** Players can ban troublesome players from their claims, or use `/trapped` if stuck.
* ⏳ **Automatic Inactivity Pruning:** Clean up old claims from inactive players automatically.
---
## 🎮 How to Use (Player Guide)
### 1. Creating a Claim
* **Method 1 (Tool):** Hold a **Golden Shovel** and right-click on the ground to set the first corner, then right-click the opposite corner to finish.
* **Method 2 (Command):** Stand at your base and run `/claim <radius>` (e.g., `/claim 10` claims 10 blocks in each direction).
### 2. Inspecting Claims
* Hold a **Stick** and right-click any block to see if it is claimed and by whom.
* Sneak + right-click to view all nearby claim boundaries highlighted with visual particles/markers.
### 3. Trusting Friends
* Stand inside your claim and type `/trust <player>` to give them build access.
* Run `/trustlist` to see who is trusted.
* Run `/untrust <player>` to revoke their permissions.
### 4. Resizing or Removing Claims
* Stand in your claim and run `/extendclaim <amount>` or `/reduceclaim <amount>` in the direction you are looking.
* To remove your claim, stand inside and type `/unclaim`.
---
## 📜 Commands & Permissions
### 👤 Player Commands
| Command | Description | Permission |
| :--- | :--- | :--- |
| `/claim [radius]` | Create a claim or toggle claiming mode | `apxclaims.claim` |
| `/unclaim` | Deletes the claim you are currently standing in | `apxclaims.unclaim` |
| `/unclaimall` | Deletes all of your claims | `apxclaims.unclaimall` |
| `/trust <player>` | Grants build/access permissions to a player | `apxclaims.trust` |
| `/untrust <player>` | Revokes trust permissions from a player | `apxclaims.untrust` |
| `/trustlist` | Lists all players trusted in the current claim | `apxclaims.trustlist` |
| `/claimslist` | Lists all claims owned by you | `apxclaims.claimslist` |
| `/claimblocks` | View your available and used claim blocks | `apxclaims.claimblocks` |
| `/buyclaimblocks <amount>` | Purchase additional claim blocks using server currency | `apxclaims.buyclaimblocks` |
| `/extendclaim <blocks>` | Expands your claim in the direction you are facing | `apxclaims.extendclaim` |
| `/reduceclaim <blocks>` | Shrinks your claim in the direction you are facing | `apxclaims.reduceclaim` |
| `/claimban <player>` | Bans a player from entering your claim | `apxclaims.claimban` |
| `/claimunban <player>` | Unbans a player from your claim | `apxclaims.claimunban` |
| `/claimpvp` | Toggles PvP status inside your claim | `apxclaims.claimpvp` |
| `/trapped` | Safely teleports you out if stuck inside an enemy claim | `apxclaims.trapped` |
| `/transferclaim <player>` | Transfers ownership of the claim to another player | `apxclaims.transferclaim` |
---
### 🛡️ Admin Commands
| Command | Description | Permission |
| :--- | :--- | :--- |
| `/adminclaim` | Toggle admin claiming mode (no claim block cost) | `apxclaims.adminclaim` |
| `/adminclaimslist` | Lists all claims on the server | `apxclaims.adminclaimslist` |
| `/ignoreclaims` | Toggle bypass mode to build/interact in any claim | `apxclaims.ignoreclaims` |
| `/apxclaims reload` | Reloads plugin configurations and locales | `apxclaims.command.reload` |
| `/apxclaims status` | Displays database and network connection status | `apxclaims.command.status` |
---
## 🔌 Supported Integrations
* **LuckPerms** — Permission group handling & per-group claim block limits
* **Vault** — Economy support for purchasing claim blocks
* **PlaceholderAPI** — PAPI placeholders for claim blocks and claim stats
* **WorldGuard** — Region protection compatibility
* **Floodgate** — Native support for Bedrock Edition players
* **BlueMap / Pl3xMap / Dynmap** — Automatic 2D & 3D live map rendering
---
## ⚙️ Requirements & Technical Specs
* **Server Software:** Paper, Purpur, Folia, Pufferfish (1.19.x – 1.21.x+)
* **Java:** Java 21 or higher
* **Default Claim Tool:** Golden Shovel (`minecraft:golden_shovel`)
* **Default Inspect Tool:** Stick (`minecraft:stick`)