ProtectionStones 1.4.1

A useful Grief prevention plugin that uses a certain block to protect regions.

  1. Vik1395
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.10
    AxelDios, Dragoboss
    ProtectionStones is based off the original ProtectionStones plugin at Bukkit by AxelDios. It works very similar to the original plugin and most of the code has been derived from it. The main reason I have made this is because the plugin is dead and has been very glitchy in 1.8, especially with the release on WorldGuard and WorldEdit 6.1+.

    This plugin uses a specified type of minecraft block as a protection block. When a player placed a block of that type, they are able to protect a region around them. The size of the protected region is configurable in the plugins config file. You can also set which flags players can change and also the default flags to be set when a new region is created.

    The original ProtectionStones plugin:

    Please report any issues with this plugin HERE

    If you like my work, please consider donating, I would greatly appreciate it. [​IMG]

    WorldGuard 6.1+
    WorldEdit 6.1+

    Code (Text):
    ConfVer: 1
    #Protection Stones Configuration Page
    #Protection Stones for MC 1.10 is brought to you by Dragoboss
    #Please do not edit the ConfVer number unless told to do so in update message on

    #Specify the block you want to use to protect regions. Use names from
    #You can specify multiple block types, divided by comma's (NO SPACES!)
    #If you wish to have sub-block-types as pstones, you can use -#. # is the number of
    #subtype similar to the number you'd use in a /give command. I.E. stone:2 --> STONE-2
    Blocks: ENDER_STONE
    #If you define multiple block types be sure to define their specs below

    #Specify the default flags to be set when a new protected region is created..
      - use deny
      - pvp deny
      - greeting Entering %player%'s protected area
      - farewell Leaving %player%'s protected area

    #List all the flags that can be set by region owners. Separate them with a comma, no space.
    Allowed Flags: use,pvp,greeting,farewell,mob-spawning

    #Toggle UUID support for protected regions.
    #NOTE: This does NOT convert existing PStones to UUID Format!!
    UUID: true

    #Disable the use of pStones in certain worlds.
    Worlds Denied:
        - exampleworld1
        - exampleworld2

    #Protected Region Configuration, defined per block type (refer to list defined above)
      #Default block type
        X Radius: 20
        #Set Y to 0 if you want it to protect from sky to bedrock.
        Y Radius: 0
        Z Radius: 20
        #Hide pstone right away when placed?
        Auto Hide: false
        #Disable returning the block when the pstone is removed/reclaimed?
        No Drop: false
        #Block Piston pushing of pstones by default; recommend to set to true if "No Drop" is false, as it can be abused to gain more pstones.
        Block Piston: true
        #Default priority type for this block type pstone
        Priority: 0
      #STONE-1:    # the "-1" part would mean 'Granite' to be used as pstone, but not regular stone
        #X Radius: 10
        #Y Radius: 10
        #Z Radius: 10
        #Auto Hide: false
        #No Drop: false
        #Block Piston: true
        #Priority: 1
    Aliases in case of command conflicts: /ps, /protectionstone,
    Code (Text):
    /protectionstones, /pstone
    /ps info members|owners|flags - Use this command inside a ps region to see more information about it.
    /ps add|remove {playername} - Use this command to add or remove a member of your protected region.
    /ps addowner|removeowner {playername} - Use this command to add or remove an owner of your protected region.
    /ps flag {flagname} {setting|null} - Use this command to set a flag in your protected region.
    /ps hide|unhide - Use this command to hide or unhide your protectionstones block.
    /ps home {num} - Teleports you to one of your protected regions.
    /ps tp {player} {num} - Teleports you to one of a given player's regions.
    /ps toggle - Use this command to turn on or off ProtectionStones blocks.
    /ps view - Use this command to view the borders of your protected region.
    /ps priority {number|null} - Use this command to set your region's priority.
    /ps region count|list|remove|regen|disown {playername} - Use this command to find
    information or edit other players' (or your own) protected regions.
    /ps admin {version|settings|hide|unhide|cleanup|lastlogon|lastlogons|stats} - This is an
    admin command showing different stats and allowing to override other player's regions.
    The permissions are very similar to the old plugin.
    Code (Text):
    protectionstones.create - Protect a region by placing a ProtectionStones block.
    protectionstones.destroy - Allow players to remove their own protected regions.
    protectionstones.view - Allows players the use of /ps view command. - Allows players use of /ps info command.
    protectionstones.hide - Allow players to hide their ProtectionStones block.
    protectionstones.unhide - Allow players to unhide their ProtectionStones block.
    protectionstones.home - Access to the /ps home command. - Access to /ps tp command.
    protectionstones.priority - Allows players to set their region's priority.
    protectionstones.owners - Allows players to add or remove region owners. Allows players to use /ps info owners command.
    protectionstones.members - Allows players to add or remove region members. Allows players to use /ps info members command.
    protectionstones.flags - Allows players to set their region flags.
    protectionstones.toggle - Allows players to toggle ProtectionStones placement.
    protectionstones.region - Allows players to use the /ps region commands.
    protectionstones.admin - This permission allows users to override all ProtectionStones regions.
    protectionstones.limit.x - Replace x with a limit for players' protected regions.
    If you don't want a limit, do not give this permission. x can only be replaced with an integer number.


    This plugin is licensed under CC Attribution-NonCommercial-ShareAlike 4.0 International. In very basic terms, Do whatever you want with the code of this plugin, as long as you give credits to the author and/or the plugin itself.

    Please leave a comment or rate the plugin, and tell me what you think of it. I would really appreciate it.

Recent Reviews

  1. alex17ruiz
    Version: 1.4.1
    It protects everything well, but the owners of the area can not open doors, press buttons, levers, open crafting table and anvils.
  2. mario13
    Version: 1.4.1
    How do allow buttons/levers/anvils on protections ?
    People can't interact with buttons, levers and anvils, on THEIR protection
  3. SebasG_
    Version: 1.4.1
    Update to 1.15.*
    Update to 1.15.*
    Update to 1.15.*
    Update to 1.15.*
    Update to 1.15.*
    Update to 1.15.*
  4. iTamago
    Version: 1.4.1
    The plugin doesn't remove banned player regions when you type /ps region disown <player>. Reloading the plugin doesn't fix it. This needs to be fixed, otherwise it's not worth installing.
  5. TamasVarga
    Version: 1.4.1
    WOW! Amazing and very easy to use this plugin. Can u add messages.yml to edit permission, and place block messages?
  6. KazMNF
    Version: 1.4.1
    Good plugin for survival rpg servers.Can you pdate 1.14.x ??
    199999999999999999999999999 chars
  7. Nik1800
    Version: 1.4.1
    Worlds-Denied option not workinf, fix please))))))))))))))))))))))))))))))))))))))))))))))))
  8. KotsosTrela
    Version: 1.4.1
    Excellent plugin. The only thing is that when someone tries to set a flag i get this error
    [16:48:17 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.4.1
    at org.bukkit.command.PluginCommand.execute( ~[craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at org.bukkit.command.SimpleCommandMap.dispatch( ~[craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand( ~[craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$ [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at java.util.concurrent.Executors$ [?:1.8.0_151]
    at [?:1.8.0_151]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C( [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at [craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    at [?:1.8.0_151]
    Caused by: java.lang.NoSuchMethodError:;)Lcom/sk89q/worldguard/protection/flags/Flag;
    at me.vik1395.ProtectionStones.FlagHandler.setFlag( ~[?:?]
    at me.vik1395.ProtectionStones.Main.onCommand( ~[?:?]
    at org.bukkit.command.PluginCommand.execute( ~[craftbukkit.jar:git-Spigot-7754231-9a1f5ee]
    ... 15 more
    and players are not able to change their flags to their likings ;/
  9. iamharak
    Version: 1.4.1
    please update 1.13
    worldguard version: the newest WorldGuard7.0.0

    16:10:28 [INFO] john issued server command: /ps
    16:10:29 [ERROR] null
    16:10:29 org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.4.4
    16:10:29 at org.bukkit.command.PluginCommand.execute( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at org.bukkit.command.SimpleCommandMap.dispatch( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnection.a( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.PacketPlayInChat.a( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.PacketPlayInChat.a( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at java.util.concurrent.Executors$ Source) [?:1.8.0_171]
    16:10:29 at Source) [?:1.8.0_171]
    16:10:29 at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.MinecraftServer.w( [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.DedicatedServer.w( [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at net.minecraft.server.v1_13_R1.MinecraftServer.v( [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 at Source) [?:1.8.0_171]
    16:10:29 Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(Lorg/bukkit/World;)Lcom/sk89q/worldguard/protection/managers/RegionManager;
    16:10:29 at me.vik1395.ProtectionStones.Main.onCommand( ~[?:?]
    16:10:29 at org.bukkit.command.PluginCommand.execute( ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
    16:10:29 ... 15 more
  10. Jony_Xaker
    Version: 1.4.1
    I want to use this plugin for Anarchy. For this, I include TNT explosions in the region. But this TNT destroys the private block. Privat remains, but you can not remove this private already! What to do?