ProtectionStones

PSBanner

Anti-Griefing at it's Easiest!

PS Banner

Griefing Protection

ProtectionStones allows a player to place a special block, and this protects their area from griefing.

This small plugin was inspired by PreciousStones but only has the property protection blocks. This allows players to place one of three types of ore blocks to protect their property.

The player doesn't require any special permissions, they just need to get one of the three following ore blocks which you can give or sell in game using other plugins:

Coal Ore gives 11x11x11 protection area.

Lapis Ore gives 21x21x21 protection area.

Diamond Ore gives 41x41x41 protection area.

See the Configuration Page if you would like to change the block types, the dimensions or even set the Y-Axis to be from sky to bedrock, set group limiting, etc.

When the player places the block it creates a WorldGuard Region that gives the player ownership of that area and in turn grief protection. If the player breaks the ProtectionStone then they get the stone back and the region is removed from WorldGuard's Region List.

To install simply copy the ProtectionStones.jar file to your plugins folder, no configuration necessary. The following Ore Blocks are supported as the defaults: Coal Ore, Lapis Ore, Diamond Ore.

ProtectionStones Regions

ProtectionStones Creates WorldGuard Regions with the following naming convention:

ps{x-coordinate}x{y-coordinate}y{z-coordinate}z

i.e.

ps279x67y40z

The x, y, and z coordinates are the location of the placed ProtectionStone which is in the center of the WorldGuard Region it creates. If the Region.SKYBEDROCK Setting is set to "true" (see the Configuration Page) then Y-Axis of the ProtectionStone isn't necessarily the vertical center of the region.

Incompatible with PreciousStones

Both plugins act on the same kind of ore blocks and have the same command name of "/ps".

Requires WorldGuard

WorldGuard is used to create and remove regions when the blocks are placed, otherwise ProtectionStones won't do anything (set not to load if WorldGuard isn't found).

PS Graphic

Settings

Commands | Configuration | Permissions

ProtectionStones

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of AxelDios AxelDios Apr 23, 2014 at 04:37 UTC - 0 likes

    @n2glox2: Go

    Can all the other groups use all three block types with no problems?

    Please PM me the whole globalgroups.yml file.

    As an unrelated note, your SaveTimer is set to an invalid number "-20", if you want it to save every 20 minutes remove the minus sign.

  • Avatar of n2glox2 n2glox2 Apr 23, 2014 at 02:56 UTC - 0 likes

    I have installed ProtectionStones on a Spigot Server running 1.7.2. I installed the latest version of PS.  I adjusted the config file to this, changing Diamond to Emerald:

    Blocks:
    - COAL_ORE 10
    - LAPIS_ORE 20
    - EMERALD_BLOCK 40
    Flags:
    - use deny
    - greeting Entering %player%'s protected area
    - farewell Leaving %player%'s protected area
    Region:
      SKYBEDROCK: true
      AUTOHIDE: false
      NODROP: false
      NOSILKTOUCH: false
      BLOCKPISTONS: false
      LIMIT: -2
      SaveTimer: -20
    Group:
      LIMIT1: 0
      LIMIT2: 1
      LIMIT3: 3
      LIMIT4: 7
      LIMIT5: -1
      LIMIT6: 0
      LIMIT7: 0
      LIMIT8: 0
      LIMIT9: 0
      BLOCKS1: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS2: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS3: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS4: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS5: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS6: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS7: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS8: COAL_ORE LAPIS_ORE EMERALD_BLOCK
      BLOCKS9: COAL_ORE LAPIS_ORE EMERALD_BLOCK
    Exclusion:
      WORLDS: ''
      PLACEMENT: false
    Priority: 0

    I use GroupManager and put permissions for my four levels of members, Default, Member, Moderator, and Admin, into the globalgroups.yml file.

    Default got:  protectionstones.group1
    Member got  protectionstones.group3
    Moderator got protectionstones.group4
    Admin got  protectionstones.group5

    As Admin I can set only Emerald Blocks, and I can set as many as I want.  I cannot set Coal or Lapis.  What am I missing?

    Thx

  • Avatar of AxelDios AxelDios Apr 21, 2014 at 03:39 UTC - 0 likes

    @owner_king: Go

    Some servers list the PS sized incorrectly, and some people go to servers running PreciousStones and then tell me something doesn't work the same.

    ProtectionStones will always end up with an odd size.

    Without sky to bedrock being used your size will always be a cube (all sides the same size). And if sky to bedrock is used then you will have the x and z the same size and the y will be 255 (full map height).

    How the size is figured is the size around the placement of the PS.

    So size 5 = 11x11x11 (or 11x255x11 for sky to bedrock).

    P = ProtectionStone, X = Protected Area

    This would be a top view (also the side view if you weren't using sky to bedrock).

    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXPXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    XXXXXXXXXXX
    
  • Avatar of owner_king owner_king Apr 20, 2014 at 12:52 UTC - 0 likes

    @saif2g: Go

    Most likely the skybedrock.

    Last edited Apr 20, 2014 by owner_king
  • Avatar of saif2g saif2g Apr 19, 2014 at 14:28 UTC - 0 likes

    @owner_king: Go

    so basically what you're saying is, if I set it to 1, that means 1 block every direction around the protection block?

    Also, there are servers who have weird sizes, like SMP, their diamond block is something along the lines of 100x400x100, or is that the skybedrock option?

    Last edited Apr 19, 2014 by saif2g
  • Avatar of owner_king owner_king Apr 18, 2014 at 17:23 UTC - 0 likes

    @saif2g After you do the block Coal Ore (or what ever you choose) the sizes are based on each side so if you would do 20 it would be 41. On all sides of the sponge block it would be 20 making the region 41x41x41.

  • Avatar of saif2g saif2g Apr 18, 2014 at 15:43 UTC - 0 likes

    How do I modify the protection size? I want to set it like x*y*z and not 5 or 10 or 20 and I did not understand said sizes.

  • Avatar of AxelDios AxelDios Apr 18, 2014 at 03:36 UTC - 0 likes

    @TheCoolGuy123_5_Minecraft_: Go

    You set the default region flags in the "Flags" Section of the config,yml.

    Change them then /reload or restart your server for them to take effect.

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 18, 2014 at 01:36 UTC - 0 likes

    Any way to set the default protectionstone flags

    JACK

  • Avatar of AxelDios AxelDios Apr 16, 2014 at 03:31 UTC - 0 likes

    @VirtualRunner: Go

    There are commands you can run to clear old regions based on logon dates, or player names, but no automated means to make them expire. This would require a database and a running timer, which I don't want to add because it would slow down the server to include it directly in PS.

    Take a look at the Command Pages for player removal commands like these:

    To remove all the player's regions: /ps region remove [player]

    To remove and regenerate all the player's regions: /ps region regen [player]

    To remove a player from the owners list of all regions: /ps region disown [player]

    And region removal by date related commands like these:

    To remove all regions for players with a last logon equal or greater than "days": /ps admin cleanup remove [days]

    To remove and regenerate all regions for players with a last logon equal or greater than "days": /ps admin cleanup regen [days]

    To remove player names from all region owner lists for players with a last logon equal or greater than "days": /ps admin cleanup disown [days]

Facts

Date created
Dec 20, 2011
Category
Last update
Apr 10, 2014
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
ProtectionStones
Downloads
103,569
Recent files

Authors