Grief Prevention
AUTOMATICALLY PREVENTS ALL FORMS OF GRIEF, including build/break, theft, spam, fire, spawn camping, lava dumping, chat trolling, advertising and more, so you don't have to undo any damage after the fact. It even teaches players how to use it so you don't have to! No configuration or database required. Stop responding to grief and prevent it instead. Grief Prevention will solve your grief problems without requiring you to manage a roster of trained administrators, juggle 10 different anti-grief plugins, take away cool standard game features, publish a training manual / tutorial for players, or add explanatory signs to your world. You can also choose to integrate PvP elements into build design to finally get a PvP experience befitting a sandbox game about creative building.
Grief Prevention stops grief before it starts automatically without any effort from administrators, and with very little (self service) effort from players. Solve all your grief problems with a single download, no database, and no configuration step.
Got a question or found some random bug? Check the documentation!
Got a problem or bug you can reliably reproduce? Or a feature request? Report it on the issue tracker!
Also, you might be able to catch me/others on the #GriefPrevention IRC channel for help (please state your question and exercise patience if you use this option).
Downloads for older Minecraft Versions
You may also view recent update notes on Github
The Manual
Feature List
Yes, everything is customizable.
- No database or world backups required.
- Extremely efficient CPU / RAM usage.
- Land claims are easy to manage.
- Players create and manage their own land claims, so you don't have to do it for them.
- New players get automatic claims around their first chests so they're protected even if they don't know how to create land claims yet.
- Players who ask for help in chat get an instant link to a demonstration video.
- Resizing claims and creating new claims is done with ONLY the mouse, no slash commands (slash commands are also available).
- When a player appears to be building something nice outside his claim, he's warned and shown his claim boundaries.
- Claim boundaries are easy to see, and don't require any client-side mod installation.
- Extremely easy-to-remember, single-parameter slash commands for giving other players permissions.
- Claim subdivision and granular permissions are available to organize towns and cities. Watch this video.
- It's IMPOSSIBLE to grief a land claim. Watch this video.
- No building or breaking.
- No stealing from ANY containers.
- No sleeping in beds.
- No button/lever usage.
- No adjusting redstone repeaters or other configurable blocks.
- No pushing blocks in with pistons.
- No pulling blocks out with pistons.
- No TNT damage (including cannons).
- No creeper damage.
- No explosive damage from other plugins, like Extra Hard Mode or Magic Spells.
- No enderman/silverfish block changes.
- All doors may be automatically locked (optional, see config file).
- No killing or luring animals away.
- No stealing water (e.g. buckets).
- No trampling crops by players, animals, or monsters.
- No building overtop, all claims reach to the max build height.
- No placing or breaking paintings / item frames / armor stands, etc.
- Fluids will not flow into a claim from outside.
- No placing blocks via TNT/Sand/Gravel cannon.
- Pets and death loot are protected.
- Players can't pick up what another player dropped on death without permission.
- All types of pets are protected everywhere, even outside of land claims (can be configured per-world).
- Excellent anti-spam protection
- Warns, then mutes, then may kick or ban spammers (configurable - you choose).
- Most spammers get only one message out before they're muted.
- Blocks server advertising (IP addresses).
- Blocks repeat message spam.
- Blocks ASCII art (ex. Nyan Cats) spam.
- Blocks similar message spam.
- Blocks unreadable (gibberish) message spam.
- Blocks CAPS.
- Blocks macro spam (very different messages in quick succession).
- Blocks login/logout spam, even when the spammer has multiple accounts.
- Blocks death spam.
- Blocks bot team spam.
- Blocks slash command spam, including /tell, /emote, and any more you add.
- Wilderness Protection and Rollback
- Fire doesn't spread or destroy blocks.
- Creepers and other explosions don't destroy blocks above sea level.
- TNT doesn't destroy blocks above sea level.
- No planting trees on platforms in the sky ("tree grief").
- Instant, point and click nature restoration for not-claimed areas. Watch this video.
- Insanely easy and fast fixes for penises, swastikas, and anything else unsightly.
- Point at what you don't like and click, and it's fixed. Even from far away.
- Never accidentally changes blocks inside land claims.
- No need to investigate who built it, who broke it, or when they did it.
- Doesn't matter if the griefer built with "natural" blocks, it will still be fixed.
- No database.
- No backups.
- No chunk regeneration (it's dangerous for technical reasons).
- Fixes bad chunk generations, like floating islands. It will be better than new.
- Fills holes, even next to water to correct big spills.
- Smooths noisy terrain.
- No griefer construction is safe. If it's unnatural enough to be noticeable by players, it will be removed or filled-in.
- Land claims can't be used as a griefing tool.
- It's impossible to get a player "stuck" inside a land claim.
- Land claims beyond the first require a golden shovel.
- Minimum claim size prevents sprinkling small claims to annoy other players.
- Max claim allowance grows with time played on the server, and can't be cheated by idling.
- A simple administrative slash command will instantly remove all of a griefer's claims, no matter where they are.
- Catches clever griefers.
- Enhances the /ban command to ban ALL a griefer's accounts (not just his IP address).
- Logs sign placements.
- /SoftMute command to shut down chat trolls without them knowing they're beaten.
- Abridged chat logs make reviewing what happened while you were away super-quick and easy.
- Automatically mutes new-to-server players who use racial or homophobic slurs.
- PvP Protections.
- When PvP is off, no setting fire or dumping lava near other players.
- Absolutely bullet-proof anti-spawn-camping protection including bed respawns, which requires no configuration.
- No logging out, stashing items, or using plugin teleportation to escape combat.
- Optional siege mode, to answer players who hide in their claimed houses to avoid combat.
- Supports your server growth.
- Permit players to exchange server currency for claim blocks (requires configuration and other plugins).
- Grant claim blocks automatically for votes, donations, etc (console command provided, other plugins required).
Please Vote for Grief Prevention
I've also posted Grief Prevention on the Spigot site, where plugins are ranked based on reviews. If you love GP, please take a couple of minutes to give GP your rating and leave a short review. Better rating and positive reviews will help server owners who look for plugins on the Spigot site make the safe choice (GP) instead of downloading something sketchy or incomplete. :) Thanks so much for all your support!
http://www.spigotmc.org/resources/griefprevention.1884/
Got a question or found some random bug? Check the documentation!
Got a problem or bug you can reliably reproduce? Or a feature request? Report it on the issue tracker!
Also, you might be able to catch me/others on the #GriefPrevention IRC chat channel for help (please state your question and exercise patience if you use this option).
-
View User Profile
-
Send Message
Posted Dec 30, 2013@stgram Bug in that dev build. Was supposed to fix another issue that occurs when other plugins already hook a command GP wants (specifically, /ignore I think is used by essentials) GP won't try to hook it since doing so causes an Error.
In this case it thinks itself is a different plugin, which is hilarious but not very useful since it disables everything.
@Bobcat00
So with 7.8 I need to be editing 6 config files instead of only one? I don't see how this is an advantage.
Many individuals required extra granularity to tweak settings for different worlds. Many Servers have a number of worlds and they don't require the same functionality from GP for each of them. Previously this separation was handled by having a bunch of otherwise hard-coded behaviours codified via whether a world was in the Survival or Creative World's listing, which limited that capacity. With separate Worlds per configuration it not only allows such configuration capabilities but also single-handedly allowed for a number of other fixes, particularly with regard to Modded servers as well as servers that have Plugins which load worlds after startup.
To address the concerns of those who find this new capacity too complex or who do not require this extra granularity, you can set GriefPrevention.WorldConfig.SingleWorld. Assigning a name to this will 'force' all worlds to load from only one configuration, so while you cannot reduce it to a single config you can reduce it to two (config.yml and a single world configuration file).
@diannetea
Horse ownership is a Minecraft feature. GriefPrevention does not handle Ownership*- it simply responds to it.
-
View User Profile
-
Send Message
Posted Dec 29, 2013@BC_Programming
Any idea what could have caused that? http://pastebin.com/TQFkep21 That showed up after updating from 214 to 222, I got it back immediately to 220 and it worked. (could not test extensively, had players online)
-
View User Profile
-
Send Message
Posted Dec 29, 2013@Bobcat00
You'll get used to it. BC has enough on his head, dont torment him. :) (we've been over this issue, and he knows well enough)
-
View User Profile
-
Send Message
Posted Dec 29, 2013So with 7.8 I need to be editing 6 config files instead of only one? I don't see how this is an advantage.
-
View User Profile
-
Send Message
Posted Dec 29, 2013I have a player that sold a horse to another player, but GP still has the claim on the horse as the original owner, is there a command to remove ownership?
-
View User Profile
-
Send Message
Posted Dec 29, 2013@BC_Programming
How does one go about turning off the message about ignoring another player (currently occuring after every typed message)
-
View User Profile
-
Send Message
Posted Dec 29, 2013@BC_Programming
We have the newest CB, and GP 7.8-beta-b213. Before update from 1.6.4, we changed database from flat to MySQL.
Today, i saw some missing subclaims in private claims too. They were about 24 hours old. After restart, subclaims were gone.
-
View User Profile
-
Send Message
Posted Dec 29, 2013@BC_Programming
Thank you for taking action for the subclaim problem!
About the MySQL: it's in localhost so there's no remote connections. The lagspikes continues becoming bigger and bigger when you add more and more subclaims.
-
View User Profile
-
Send Message
Posted Dec 29, 2013@netherfoam
griefprevention.claims.blocksaccruedperhour in the world config. If a player is a world when the claim blocks are delivered (once every 10 minutes) they will receive the appropriate fraction of that worlds per hour claim blocks.
@Desertive
My server loses the sub claims in the server's restart too. Using GriefPrevention v. 7.8-beta-b213
the /gpreload and /reload problems weren't fixed until #214. The problem is that each handler kept a reference to the dataStore (eg. claim data and player data). but when the plugin was reloaded (using /gpreload or /reload or another plugin for management) they would not be changed. The end result is that some handlers referred to one set of data, and another handler referred to another.
For example, in the video somebody else posted, a claim border is shown to cover one area, but they can place blocks within that border. That is because the dataStore's went out of sync, and then a player resized that claim. Claim resizing is dealt with in the Player Event handler. the Block Event Handler so it has a different set of claim data that was the original size. This was fixed with build #214 to the best of my recollection.
@Desertive
Thanks for that extra info. I created a second subclaim and it had the
subdivisionset as the owner. However it was loaded and subsequently saved with the owner name of the parent claim (this is how it is supposed to be being saved anyway,). The Owner name of a subclaim isn't even used.That said, however, I might switch it to queue all subclaims until all the top-level claims load, and then add them to their appropriate owners after. Right now it skips all child claims and instead queries for child claims within each top level claim. Seems like a better idea to only do a single query instead. (either that, or add a condition to only retrieve top level claims for the first). The speed issue is most likely to occur when your MySQL server is remote. This is for two reasons: The main reason this would occur while the server is running (eg deleting claims) is probably because GP doesn't use a connectionpool, which is apparently some set of classes that it needs to workaround JDBC's bad design architecture. Code wise, GP doesn't open extra connections- it opens it once and that's it. But I guess maybe JDBC will close a unused connection and it will need to be reopened, or something along those lines.
The shutdown taking a long time is not a surprise- if a few delete queries (from /deleteclaim) can cause problems, shutdown will also; when GP shuts down it will wipe the entire database and then rewrite every single claim. (and playerData, I believe). This was chosen long ago, presumably because trying to keep the database up to date while making changes to the claims themselves is a massive pain. One alternative I can think of would be for claims to simply mark themselves as dirty if anything is changed... but that's going to be at least as painful. It would help shutdown since only claims that changed while the server ran would be saved (or inserted). I'm wary to make such a change because then that change will bring no end of it's own bugs and problems, and we've got quite enough of those already, haha.
@Bobcat00
7.7 is for 1.5.2 and doesn't know anything about horses. (only leads+fenceposts are protected and only because they are technically another entity).
@anfereon
enabling GriefPrevention.ExtendedHorseTrust (which I believe was added after b213 and only recently had a fix applied such that it actually appeared in the configuration file) should apply some extended functionality to horses. It is currently 'hard-coded' and I forget the specifics, but if memory serves a horse will be protected only in certain cases- being on another player's claim (other than the owner) is not one of those cases.
@Teanji
there is a griefprevention.PvP.Enabled setting, however it's only used currently (as you witnessed) for enabling and disabling PvP for that world itself. I'll revise it such that it is regarded in certain events and PvP-related logic and probably remove the change to disable/enable PVP for a world based on that setting.
@yellolegalpad
It's documented here.
"Whether you can use the admin tool. This is used primarily with Forge servers for adding containers and blocks to the container and access listings."
It probably needs to be something more obscure. Probably Fire.
-
View User Profile
-
Send Message
Posted Dec 29, 2013Is there a way to disable Grief Prevention's handling of PVP?
Whenever it's turned off in a World Config then PVP won't work at all and when it's turned on it appears to take priority over all other PVP plugins (I don't want items/armour to drop, yet they do).
It's rather annoying as I want users to be able to PVP on certain worlds without fear of losing their enchanted gear. Of course, I obviously don't want to remove Grief Prevention because everything else it does is perfect.
-
View User Profile
-
Send Message
Posted Dec 28, 2013Might I ask what happened to the claim blocks gain rate config setting? Eg, you can set the initial amount of claim blocks, and used to be able to set the number of extra blocks you were given per hour. Where's this blocks-per-hour setting gone? :/
-
View User Profile
-
Send Message
Posted Dec 28, 2013I have a subclaim within an admin claim (no additional trusting within the subclaim), and people can ride horses. I thought GriefPrevention prevented people from stealing horses. I'm using CB 1.7.2 and GP 7.7 with flat file storage.
-
View User Profile
-
Send Message
Posted Dec 28, 2013I am using b213 version. Is there a way to disable protection of horses when they are out of their owners claims? It is not such a problem if people leave horses outside of their claims but it can become really annoying when people just leave many horses on other peoples claims and there is nothing claim owners can do about it. Another thing is, that even admin can't kill those horses that are protected (ignore claims command doesn't help).
-
View User Profile
-
Send Message
Posted Dec 28, 2013@BC_Programming
My server loses the sub claims in the server's restart too. Using GriefPrevention v. 7.8-beta-b213 (data is storaged to MySQL (all the other config values in config.yml etc. are in their default state), started from the empty database), Spigot #1216.
When I do a sub claim inside an admin claim, it says in MySQL database (table griefprevention_claimdata) at "owner" column "
subdivision" which is right (I guess..?). Well then I shut down the server and the "subdivision" mark is still there. Then I start the server again and now the odds happens. The "subdivision" mark is still there, but when I check via dynmap, all the claims are now shown as admin claims (not as sub claims). So GriefPrevention is now somehow handling claims wrongly in this section of test. Then I shut down the server again and *BAM*, all the "subdivision" marks are gone from the table.I hope this description of the problem helps you somehow.
Another problem:
LAG! It happens when I try to do a sub claim to my admin claim which has something like 200 sub claims (but now they are just admin claims because of the sub claim bug). Lag freezes the whole server to something like 8 seconds. It happens too when I try to do /deleteclaim to some sub claim and also when server is shutting down and GP is trying to disable itself (takes long!). It does not happen when I create a new admin claim somewhere else, so I can guess it has something to do with a huge amount of sub claims (which has't been a problem in the older versions of GriefPrevention).
Edit. XenForo is handling - - marks (when there's no space between them) in its own way. "
subdivision" should be "- -subdivision- -" without the spaces in the middle of "-" marks-
View User Profile
-
Send Message
Posted Dec 28, 2013Can someone tell me what the "GriefPrevention Admin Tool" is? A message pops up when I have an iron helmet in my hand that says, "GriefPrevention Admin tool selected. Left-Click to add to container list. Shift Left-click to add to only the current world." This description is not very specific as to what would be added, and what a container list is.
-
View User Profile
-
Send Message
Posted Dec 28, 2013@P4kA
Thanks, you are the only person having subclaims problems to actually give me anything specific, in this case, that it only occurs in admin claims. Which is probably why none of the subclaims I have in my claims on my test server have ever disappeared. (or at least it's a difference that could be the reason for such).
You don't however mention what version of either the plugin or Bukkit you are running.
EDIT: I should be clear that the first paragraph was NOT a passive aggressive note against stgram at all, though it does read that way. I just wasn't able to reproduce the issue which is not helpful if folks are in fact experiencing it. (Me not being able to reproduce the issue doesn't make it go away if others are experiencing it) which is why I was silent on that particular thing. More information is needed since it's much easier to try to fix stuff if I'm able to find out how to reproduce it (which is why I added a bunch of subclaims when the issue was first reported, and they haven't disappeared).
some other useful stuff from anybody experiencing disappearing subclaims would be what data store (flat or MySQL) is being used and any other observed patterns (such as the mention regarding administrator claims).
-
View User Profile
-
Send Message
Posted Dec 27, 2013BC, I may not be up to date on the item frame situation but I wanted to report that in the current beta, Creepers can still blow items out of their frames.
While we are on the subject of Creeper grief, horses seem to have no provisions protecting them from griefers that would lure creepers. My suggestion would be to prevent creeper damage to tamed horses if the owner's getVehicle() is not the horse. That way they can still be damaged while being ridden.
-
View User Profile
-
Send Message
Posted Dec 27, 2013Has anyone noticed this problem in 7.8? The claim boundaries are visible, but there are some sections within the claim that are still unprotected.
https://www.youtube.com/watch?v=vawCFNhWs3k
I made a ticket about it.
-
View User Profile
-
Send Message
Posted Dec 27, 2013hi im running version GriefPrevention-219 and im wondering if anyone has noticed certain players are somehow managing to bypass claims im checking back on my coreprotect logs and its the same person breaking blocks or stealing from chests, i dont wanna ban this user until i find out how hes doing it or its a simple mistake on my part
-
View User Profile
-
Send Message
Posted Dec 27, 2013Was wondering if your plugin was configurable to be able to only protect plots when a user is logged off and plot protect off when logged on. Thanks in advance.