- Compatible API Versions
- 1.0.1+
ProtectionStones Plugin Documentation
Overview
ProtectionStones is a Nukkit plugin that allows players to protect areas of land by placing special blocks. Protected regions prevent other players from building or breaking blocks within the area.
Features
Configuration
Edit config.yml to customize:
Permissions
Installation
Overview
ProtectionStones is a Nukkit plugin that allows players to protect areas of land by placing special blocks. Protected regions prevent other players from building or breaking blocks within the area.
Features
- Land claiming using special blocks
- Customizable region size per block type
- Friend system - add trusted players to your region
- Region transfer - give your land to another player
- Claim limits with permission-based tiers
- Anti-explosion protection
- Entry/exit notifications when players enter your land
- New: Disable the special worlds and Track errors
| Command | Description | Usage |
|---|---|---|
| /pslimit | Check your remaining claims | /pslimit |
| /psadd | Add a friend to your region | /psadd <player> |
| /psremove | Remove a friend from your region | /psremove <player> |
| /pstransfer | Transfer region ownership | /pstransfer <player> |
Edit config.yml to customize:
YAML:
# Protection Stones Configuration
# Default maximum claims per player
default-max-claims: 3
# Global anti-explode setting (overridable per block)
global-anti-explode: true
# Worlds where protection is disabled
disabled-worlds: []
# Example:
# disabled-worlds:
# - "pvp_world"
# - "world_nether"
# Protection blocks configuration
protection-blocks:
# Example: Stone block (ID:1, Damage:0)
"1:0":
radius: 10
anti-explode: true
display-name: "&7Stone Protection &8(Radius: {radius})"
# Example: Gold block (ID:41, Damage:0)
"41:0":
radius: 15
anti-explode: true
display-name: "&6Gold Protection &e(Radius: {radius})"
# Example: Diamond block (ID:57, Damage:0)
"57:0":
radius: 20
anti-explode: true
display-name: "&bDiamond Protection &3(Radius: {radius})"
# Messages configuration
messages:
# System messages
player-only: "§cThis command can only be used in-game!"
player-not-found: "§cPlayer not found!"
world-disabled: "§cProtection is disabled in this world!"
usage: "§cUsage: {usage}"
# Protection messages
region-created: "§aProtection created! Radius: {radius} blocks. Remaining: {left}/{max}."
limit-reached: "§cYou've reached your claim limit ({max}). Delete old ones first!"
limit-check: "§aYou have {left}/{max} claims available."
target-limit-reached: "§c{player} has reached their claim limit!"
region-overlap: "§cThis area overlaps with existing protection!"
# Block interaction
block-broken: "§aProtection removed. You now have {left}/{max} claims."
block-break-denied: "§cThis isn't your protection! Only the owner can break it."
# Region messages (displayed in action bar)
enter-region: "§eEntered §6{owner}§e's area"
leave-region: "§cLeft protected area"
not-in-your-region: "§cYou're not in your protection area!"
# Friend management
friend-added: "§aAdded {player} to this protection!"
friend-removed: "§aRemoved {player} from this protection!"
# Transfer
transfer-success: "§aSuccessfully transferred protection to {player}!"
| Permission | Description |
|---|---|
| prstones.max.<number> | Sets maximum claims (e.g. prstones.max.5 for 5 claims) |
| (OPs have unlimited claims by default) |
- Place the ProtectionStones.jar in your server's plugins folder
- Restart the server
- Configure config.yml as needed
- Give players permission to use the plugin