ProtectionStones
Anti-Griefing at it's Easiest!
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).
Hello, is there a command to know who was in the territory? for example, if someone stepped into the zone that was not admitted to my property, did you have a command to know if you stepped into the ground?
1.13 Update for ProtectionStones here: https://www.spigotmc.org/resources/protectionstones-updated-for-1-13-2-wg7.61797/
Getting this error on 1.13.2...
[10:30:45] [Server thread/ERROR]: Error occurred while disabling ProtectionStones v1.9j (Is it up to date?)[10:30:45] [Server thread/ERROR]: Error occurred while disabling ProtectionStones v1.9j (Is it up to date?)java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(Lorg/bukkit/World;)Lcom/sk89q/worldguard/protection/managers/RegionManager; at com.axeldios.ProtectionStones.ProtectionStones.saveAllWorlds(ProtectionStones.java:1657) ~[?:?] at com.axeldios.ProtectionStones.ProtectionStones.onDisable(ProtectionStones.java:219) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:256) ~[minecraft_server.jar:git-Spigot-2474d93-e693496] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:363) [minecraft_server.jar:git-Spigot-2474d93-e693496] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:422) [minecraft_server.jar:git-Spigot-2474d93-e693496] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:415) [minecraft_server.jar:git-Spigot-2474d93-e693496] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.disablePlugins(CraftServer.java:365) [minecraft_server.jar:git-Spigot-2474d93-e693496] at net.minecraft.server.v1_13_R2.MinecraftServer.stop(MinecraftServer.java:625) [minecraft_server.jar:git-Spigot-2474d93-e693496] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:770) [minecraft_server.jar:git-Spigot-2474d93-e693496] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
So after LIKE AN HOUR looking in the WAY BACK MACHINE I found the old permissions!
Here's the link to the permissions https://web.archive.org/web/20160308202015/http://dev.bukkit.org:80/bukkit-plugins/protectionstones/pages/permissions/
Here's the link to the Curse project page that no longer exists
https://web.archive.org/web/20171003045727/https://mods.curse.com/bukkit-plugins/minecraft/protectionstones#t1:description
I've also posted the permissions Here
The following permissions are available if you would like to use them.
"protectionstones.create" for placing ProtectionStones (default set to true). Also checks WorldGuard for player permission to place blocks in this location.
"protectionstones.destroy" for breaking ProtectionStones (default set to true). Also checks WorldGuard for player permission to break blocks in this location.
"protectionstones.view" for ProtectionStones View Command (default set to true).
"protectionstones.center" for ProtectionStones Center Command (default set to true).
"protectionstones.info" for ProtectionStones Info Command (default set to true), does not effect the sub commands.
"protectionstones.hide" for ProtectionStones Hide Command (default set to op, changed from true).
"protectionstones.unhide" for ProtectionStones Unhide Command (default set to op, changed from true).
"protectionstones.priority" for ProtectionStones Priority Command (default set to true).
"protectionstones.superowner" Overrides in region commands owner checks (default set to op).
"protectionstones.group1" for ProtectionStones Group Limiting Group #1 (default set to false).
"protectionstones.group2" for ProtectionStones Group Limiting Group #2 (default set to false).
"protectionstones.group3" for ProtectionStones Group Limiting Group #3 (default set to false).
"protectionstones.group4" for ProtectionStones Group Limiting Group #4 (default set to false).
"protectionstones.group5" for ProtectionStones Group Limiting Group #5 (default set to false).
"protectionstones.group6" for ProtectionStones Group Limiting Group #6 (default set to false).
"protectionstones.group7" for ProtectionStones Group Limiting Group #7 (default set to false).
"protectionstones.group8" for ProtectionStones Group Limiting Group #8 (default set to false).
"protectionstones.group9" for ProtectionStones Group Limiting Group #9 (default set to false).
Only place a player in one group, by setting only one to "true".
"protectionstones.owners" for ProtectionStones Owners Commands (default set to op). This includes the following three commands:"/ps addowner [player], /ps removeowner [player], /ps info owners
"protectionstones.members" for ProtectionStones Members Commands (default set to true). This includes the following three commands:"/ps add [player], /ps remove [player], /ps info members
"protectionstones.flags" for ProtectionStones Flags Commands (default set to true). This includes the following three commands:"/ps info flags, /ps flag [flag name] [setting], /ps flag defaults
See the Commands Page to see the available flags.
Commands associated to the permissions above must be used while standing in the ProtectionStones Protected Area that you own.
"protectionstones.toggle" for ProtectionStones Toggle Command (default set to op).
"protectionstones.region" for ProtectionStones Region Commands for Admins (default set to op). This includes the following five commands:"/ps region count [player], /ps region list [player], /ps region remove [player], /ps region regen [player], /ps region disown [player]
As a note /ps info region must be performed while standing in a region.
"protectionstones.admin" for ProtectionStones Admin Commands for Admins (default set to op). This includes the following ten commands:"/ps admin version, /ps admin settings, /ps admin lastlogon [player], /ps admin lastlogons [days], /ps admin hide, /ps admin unhide, /ps admin stats [player], /ps admin cleanup remove [days], /ps admin cleanup regen [days], /ps admin cleanup disown [days]
Flag Setting Permissions
These permissions only effect the /ps flag command, not the default flags set to a new region.
"protectionstones.flag.passthrough" (default set to true)
"protectionstones.flag.build" (default set to false)
"protectionstones.flag.pvp" (default set to true)
"protectionstones.flag.chest-access" (default set to true)
"protectionstones.flag.pistons" (default set to true)
"protectionstones.flag.tnt" (default set to true)
"protectionstones.flag.lighter" (default set to true)
"protectionstones.flag.use" (default set to true)
"protectionstones.flag.vehicle-place" (default set to true)
"protectionstones.flag.vehicle-destroy" (default set to true)
"protectionstones.flag.sleep" (default set to true)
"protectionstones.flag.mob-damage" (default set to true)
"protectionstones.flag.mob-spawning" (default set to true)
"protectionstones.flag.deny-spawn" (default set to true)
"protectionstones.flag.invincible" (default set to true)
"protectionstones.flag.creeper-explosion" (default set to true)
"protectionstones.flag.ghast-fireball" (default set to true)
"protectionstones.flag.enderman-grief" (default set to true)
"protectionstones.flag.greeting" (default set to true)
"protectionstones.flag.farewell" (default set to true)
"protectionstones.flag.notify-enter" (default set to true)
"protectionstones.flag.notify-leave" (default set to true)
"protectionstones.flag.exit" (default set to true)
"protectionstones.flag.exit-group" (default set to true)
"protectionstones.flag.entry" (default set to true)
"protectionstones.flag.entry-group" (default set to true)
"protectionstones.flag.heal-amount" (default set to true)
"protectionstones.flag.heal-delay" (default set to true)
"protectionstones.flag.heal-min-health" (default set to true)
"protectionstones.flag.heal-max-health" (default set to true)
"protectionstones.flag.feed-delay" (default set to true)
"protectionstones.flag.feed-amount" (default set to true)
"protectionstones.flag.feed-min-hunger" (default set to true)
"protectionstones.flag.feed-max-hunger" (default set to true)
"protectionstones.flag.snow-fall" (default set to true)
"protectionstones.flag.snow-melt" (default set to true)
"protectionstones.flag.ice-form" (default set to true)
"protectionstones.flag.ice-melt" (default set to true)
"protectionstones.flag.mushroom-growth" (default set to true)
"protectionstones.flag.leaf-decay" (default set to true)
"protectionstones.flag.grass-growth" (default set to true)
"protectionstones.flag.fire-spread" (default set to true)
"protectionstones.flag.lava-fire" (default set to true)
"protectionstones.flag.lava-flow" (default set to true)
"protectionstones.flag.water-flow" (default set to true)
"protectionstones.flag.teleport" (default set to true)
"protectionstones.flag.teleport-group" (default set to true)
"protectionstones.flag.spawn" (default set to true)
"protectionstones.flag.spawn-group" (default set to true)
"protectionstones.flag.blocked-cmds" (default set to true)
"protectionstones.flag.allowed-cmds" (default set to true)
"protectionstones.flag.price" (default set to true)
"protectionstones.flag.buyable" (default set to true)
Visit WorldGuard for the complete list of WorldGuard Region Flags and more information.
WG Permission to Modify Other Regions
If you have this permission you can modify other players WorldGuard Regions.
worldguard.region.bypass.<world>
Or: worldguard.region.bypass.* for all worlds.
Default Permissions
PS was created with the most common permission defaults preset. To make PS easy to configure or to use it without a permissions plugin. All the PS Permissions are listed above on this page with their defaults of either, true (allowed), false (denied), or op (operator allowed).
To change these defaults you would either need to allow a false or op permission in your permissions plugin by adding that permission to the players group or the player directly for unique situations.
But for permissions that are set as true (allowed) many people may find it easier or the only way to deny a player would be to alter PS's defaults directly in the plugin.
To do this to any permission in PS do the following:
Open the protectionstones.jar with an archive program like 7zip, then edit the plugin.yml file inside the jar.
Find the permission section you want to change like the one controlling all flags commands...
And change the "default: true" to "default: false"
Don't forget to reload your plugins so it will take effect.
As an additional note, if you go this route you will need to do this each time you update PS to a new version.
In reply to joejboll:
The idea is a simple as "only the person that place the protection stone could be able to use chest open doors build, the others not" and is impossible, look https://ibb.co/hnx80o
I tried the version that Jerzean remade is updated, and i cant make it works! im silly? im doing something wrong? or this plugin is not working anymore? please help!
In reply to Forge_User_90815069:
I'm having the exact same problem, suddenly doors, anvils, enchantment tables, etc stopped working and I don't know what to do or how to fix this. It says "Sorry but you can't do that here". What do I do?
In reply to Forge_User_90815069:
In reply to santocraft1:
Hi,
Im currentily running one of your plugins in my server; Protection Stones.
I need help on how to change the protecting chiselled stone brick to monster egged stone bloks,
Thanks,
PS: I also want the chiselled stone brick monster egged block to have 10x10xInfinite (infinite hight)
Config:
<p>Blocks:
- COAL_ORE 5
- LAPIS_ORE 10
- DIAMOND_ORE 20
Flags:
- use deny
- greeting &aEntrando a la zona de &b%player%'s
- farewell &aSaliendo de la zona de &b%player%'s
Region:
SKYBEDROCK: false
AUTOHIDE: false
NODROP: false
NOSILKTOUCH: false
BLOCKPISTONS: false
LIMIT: -1
SAVETIMER: -1
PRIORITYOVERRIDE: false
Group:
LIMIT1: 0
LIMIT2: 1
LIMIT3: 3
LIMIT4: 7
LIMIT5: -1
LIMIT6: 0
LIMIT7: 0
LIMIT8: 0
LIMIT9: 0
BLOCKS1: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS2: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS3: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS4: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS5: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS6: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS7: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS8: COAL_ORE LAPIS_ORE DIAMOND_ORE
BLOCKS9: COAL_ORE LAPIS_ORE DIAMOND_ORE
Exclusion:
WORLDS: ''
PLACEMENT: false
Priority: 0</p>
In reply to Forge_User_68049434:
The idea is a simple as "only the person that place the protection stone could be able to use chest open doors build, the others not" and is impossible, look https://ibb.co/hnx80o
I tried the version that Jerzean remade is updated, and i cant make it works! im silly? im doing something wrong? or this plugin is not working anymore? please help!
Could the dev please add the feature to configure stone protection to be 5x10x5 so that our server can have stones that protect in a cube but other stones that protect all the way to sky limit.
our goal is essentially to have three sizes that are cubes but three other sizes that protect infinitely vertically. Thanks
fucking plugin
help
I have a problem, I change the protection blocks for others and when reopening the server, the protection blocks are put back in. Who can help me please? This is my configuration, what's wrong? what should I change
Blocks:
- JUKEBOX 10
- WET_SPONGE 15
- BEACON 25
Flags:
- use allow
- greeting &aEntrando a la zona protegida de &6%player%
- farewell &aSaliendo de la zona protegida de &6%player%'
- flag.pvp.deny
- interact allow
Region:
SKYBEDROCK: false
AUTOHIDE: false
NODROP: false
NOSILKTOUCH: false
BLOCKPISTONS: false
LIMIT: -1
SAVETIMER: -1
PRIORITYOVERRIDE: false
Group:
LIMIT1: 0
LIMIT2: 1
LIMIT3: 3
LIMIT4: 7
LIMIT5: -1
LIMIT6: 0
LIMIT7: 0
LIMIT8: 0
LIMIT9: 0
BLOCKS1: JUKEBOX WET_SPONGE BEACON
BLOCKS2: JUKEBOX WET_SPONGE BEACON
BLOCKS3: JUKEBOX WET_SPONGE BEACON
BLOCKS4: JUKEBOX WET_SPONGE BEACON
BLOCKS5: JUKEBOX WET_SPONGE BEACON
BLOCKS6: JUKEBOX WET_SPONGE BEACON
BLOCKS7: JUKEBOX WET_SPONGE BEACON
BLOCKS8: JUKEBOX WET_SPONGE BEACON
BLOCKS9: JUKEBOX WET_SPONGE BEACON
Exclusion:
WORLDS: 'islandworld','Skyblock','Skywars','plotworld','world_nether'
PLACEMENT: false
Priority: 0
LINK: https://pastebin.com/mnz7qPHN
In reply to DADXStore:
The idea is a simple as "only the person that place the protection stone could be able to use chest open doors build, the others not" and is impossible, look https://ibb.co/hnx80o
I tried the version that Jerzean remade is updated, and i cant make it works! im silly? im doing something wrong? or this plugin is not working anymore? please help!
Quisiera una ayuda para saber como poner limite de protecciones para tales grupos como por ejemplo: Usuario, Vip, VIP++
Please update to 1.12
no para la 1.8
¨[PORFAVOR ACTUALIZA EL PLUGIN PARA LA VERSION DE MINECRAFT 1.11.2]
The permission in the plugin page is broken.