ProtectionStones

ProtectionStones 1.0.3

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
  • New: Disable the special worlds and Track errors
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:
# 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}!"
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
580
Views
2,499
First release
Last update
Rating
5.00 star(s) 7 ratings

More resources from Slavko / Frost

Latest updates

  1. Fix

    Fixed the displaying error after restart the server. Now all blocks are visible after restart
  2. Fix

    Better track of errors, fix config and regions.yml
  3. New functions

    You can easy disable the special worlds and change custom text on protection stones!

Latest reviews

Works like a champ with the new update! Its super easy to use!
I just tried ProtectionStones and it works great so far. Easy to use and does exactly what it promises. 👍
It loads but the config is empty and the server doesn't see the command.
Slavko / Frost
Slavko / Frost
Check the fix and change the rewiew
It doesn't create anything in the regions.yaml file and when the server is restarted it removes any protections already in place.
Slavko / Frost
Slavko / Frost
Check the fix and change the rewiew
Well... 5 star for you. Although there are still a few things that need to be added, perhaps like exceptions for certain worlds...
Топовый плагин , мне зашло / Good and convenient plugin
Ваще просто пушка! Лучший плагин , мне понравилось
Лучший плагин я рекомендую! Ваш отзыв должен содержать не менее 50 символов.
normaallllll, delete u rate in my plugin plssssssssssssssss
Very cool plugin! However, there are some things that need to be improved.
Slavko / Frost
Slavko / Frost
If I fixed the ploblem, please change rating :)
Top