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 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]

  • Avatar of VirtualRunner VirtualRunner Apr 15, 2014 at 15:12 UTC - 0 likes

    Hi there!

    Is there any way to make the stones expire after a period of time to avoid players who have left the server leaving protected areas everywhere?

    I think this is a fantastic plugin and this is the only thing I need to resolve.

  • Avatar of AxelDios AxelDios Apr 15, 2014 at 09:06 UTC - 0 likes

    @Victhetiger: Go

    ProtectionStones uses WorldGuard for all it's protection, you should have no problems as long as you can get WG to work correctly with Multiverse.

  • Avatar of Victhetiger Victhetiger Apr 15, 2014 at 04:32 UTC - 0 likes

    Hi Axel,

    I want to know if there Multiverse Support?

    Thanks.

  • Avatar of AxelDios AxelDios Apr 15, 2014 at 04:02 UTC - 0 likes

    @GlowrockzHD: Go

    If you mean admins breaking other peoples PS or changing there region flags, etc they would need the "protectionstones.superowner" permission to start with.

Facts

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

Authors