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
  • 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
Commands
CommandDescriptionUsage
/pslimitCheck your remaining claims/pslimit
/psaddAdd a friend to your region/psadd <player>
/psremoveRemove a friend from your region/psremove <player>
/pstransferTransfer region ownership/pstransfer <player>
Configuration



Edit config.yml to customize:
YAML:
# Block settings (ID:data)
protection-blocks:
  "41:0":  # Gold block
    radius: 10
    anti-explode: true
  "57:0":  # Diamond block
    radius: 15
    anti-explode: false

# Global settings
global-anti-explode: true
default-max-claims: 3

# Messages
messages:
  # System messages
  player-only: "§cThis command can only be used in-game!"
  player-not-found: "§cPlayer not found!"
  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!"

  # Block interaction
  block-broken: "§cProtection removed. You now have {left}/{max} claims."
  block-break-denied: "§cThis isn't your protection! Only the owner can break it."

  # Region messages
  enter-region: "§eYou've entered {owner}'s protected area."
  leave-region: "§cYou left the 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}!"
Permissions
PermissionDescription
prstones.max.<number>Sets maximum claims (e.g. prstones.max.5 for 5 claims)
(OPs have unlimited claims by default)
Installation



  1. Place the ProtectionStones.jar in your server's plugins folder
  2. Restart the server
  3. Configure config.yml as needed
  4. Give players permission to use the plugin
The plugin automatically creates protected regions when players place configured blocks and saves all data in regions.yml.
  • Like
Reactions: indra87g
Author
Slavko / Frost
Downloads
13
Views
67
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Slavko / Frost

  • MoneyChecks
    MoneyChecks
    A secure check system for Nukkit servers
  • RPGClasses
    RPGClasses
    An advanced RPG class plugin for Nukkit featuring 6 unique classes, level progression and more!
  • CasinoPlugin
    CasinoPlugin
    Welcome to the world of gambling!
  • VisualEffectsNukkit
    VisualEffectsNukkit
    Customizable visual particle effects!
Top