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 Jul 21, 2016 at 10:16 UTC - 0 likes

    @XtrmeePlaya: Go

    Yes you can, it is open source, just please give me credit for the original source.

  • Avatar of XtrmeePlaya XtrmeePlaya Jul 21, 2016 at 04:26 UTC - 0 likes

    @AxelDios: Go

    Can I use your code and recreate it for my use? I am wanting to change it to signs and use nbt and lore and names on the signs.

  • Avatar of AxelDios AxelDios Jul 19, 2016 at 09:43 UTC - 0 likes

    @Leojaco: Go

    Source is very old, before Bukkit made changes to many things like reloading plugins, etc.

    This is directly from my Eclipse Project:

    ProtectionStones.7z

  • Avatar of Leojaco Leojaco Jul 12, 2016 at 14:35 UTC - 0 likes

    Can you publish source?

  • Avatar of Krauti2 Krauti2 Jun 28, 2016 at 14:59 UTC - 0 likes

    Sad story. The idea behind the plugin is really nice...

  • Avatar of DannySan626 DannySan626 Jun 15, 2016 at 07:25 UTC - 1 like

    I do not think he is going to update this... He just logs in, and probably checks out what we say, then leaves. ProtectionStones I think is abandoned or Dead. So if anyone takes over, please let me know. And please keep it up to date.

  • Avatar of DannySan626 DannySan626 Jun 04, 2016 at 22:57 UTC - 0 likes

    AxelDios, Are you going to update this anytime soon? Great plugin and all, but maybe even a one word answer could let us know if we should just look elsewhere.

  • Avatar of feiyui feiyui May 11, 2016 at 14:50 UTC - 0 likes

    https://www.youtube.com/watch?v=w59Rz1oj76Q Sorry I've a some problem !! what should I do? Plz . . I need help !!

    Last edited May 11, 2016 by feiyui
  • Avatar of TheRichGamerHD TheRichGamerHD May 04, 2016 at 12:42 UTC - 0 likes

    I have Made The Presentation Of As Using Your Plugin In Spanish Very Good Plugin https://www.youtube.com/watch?v=Ygc0vAn_Vfo I hope you Put on There

  • Avatar of ew75726 ew75726 Apr 12, 2016 at 14:46 UTC - 0 likes

    So far with 1.9 the base functionality of this plugin seems to be working fine. I've run into an issue with /ps flag. Anytime a user tries to run this command an error message is given in chat and the following shows up in the console.

    [07:35:00] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.9j
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
    	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
    	at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
    Caused by: java.lang.NullPointerException
    	at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source) ~[?:1.8.0_73]
    	at java.util.concurrent.ConcurrentHashMap.putAll(Unknown Source) ~[?:1.8.0_73]
    	at java.util.concurrent.ConcurrentHashMap.<init>(Unknown Source) ~[?:1.8.0_73]
    	at com.sk89q.worldguard.protection.regions.ProtectedRegion.setFlags(ProtectedRegion.java:472) ~[?:?]
    	at com.axeldios.ProtectionStones.ProtectionStones.onCommand(ProtectionStones.java:1296) ~[?:?]
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.9.2.jar:git-Spigot-f6feaaa-3dc138d]
    	... 15 more
    

Facts

Date created
Dec 20, 2011
Category
Last update
Jan 12, 2015
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
ProtectionStones
Reverse relationships
2
Downloads
243,367
Recent files

Authors