Get an Epic Experience with Premium

Grief Prevention

Anti-Griefing Tools Login to Add Favorites
  • Minecraft
  • 6,822 Monthly Downloads
  • Supports: 1.8.3
  • 341,750 Total Downloads
  • Updated 10/04/2015
  • Created 12/14/2011
  • 72 Favorites
  • Project Site
  • Release Type: Mature
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: 12.7.2

About 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.

Official Servers (Try it for yourself!)

You can experience this plugin for yourself (as a player) by joining this public server. :) I maintain this server personally, which helps me catch bugs and spot opportunities for new features and improvements. Have fun!

Downloads by Minecraft Version

Please choose the version that matches your Minecraft server version! :)

The Manual

Feature List

Yes, everything is customizable. See Setup and Configuration.

  • No database or world backups required.
  • Extremely efficient CPU / RAM usage.
  • Land claims are easy to manage.
    • New players get automatic claims around their first chests.
    • 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.
    • 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.
    • No pushing blocks in with pistons.
    • No pulling blocks out with pistons.
    • No TNT damage.
    • No creeper damage.
    • No damage from TNT cannons.
    • No explosive damage from other plugins, like Extra Hard Mode or Magic Spells.
    • No enderman 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.
    • Fluids will not flow into a claim from outside.
    • No placing blocks via TNT/Sand/Gravel cannon.
    • No placing portals without build permission (even by walking through a portal in another world).
  • 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.
  • 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!

Latest Change

Support a hard-working dev! Please consider my other projects:

GraviTree - GriefPrevention Flags - AutomaticInventory

12.7.2 Updates

  • Fixed rare "data too long for column..." errors in database mode.
  • Fixed hitting the concurrent database connections limit for servers who are online without a reboot for a very long time.
  • Added support for empty banned words list (bannedwords.txt).




DO NOT Update GriefPrevention to 11.3 or later until you've updated your server to the LATEST 1.8 (this will require re-running buildtools.jar to get an updated 1.8 server jar file). This is unavoidable, and due to a change made by the Spigot/CraftBukkit team somewhere along the way in 1.8 development. Symptoms of an outdated 1.8 server include errors logged during boot, explosions destroying blocks where they shouldn't, and entities like armor stands, item frames, and animals NOT being protected.

Recent Major Changes

  • Narrow land claims - Version 12.1 and higher. The config setting for minimum claim size (height and width) has been replaced with TWO settings - width and total area. These new settings default to 5 and 100 respectively, to allow for more narrow land claims, empowering players to more efficiently protect railways and roads, so they might actually do that now rather than rolling the dice and then complaining to admins when someone damages their roads. :)
  • Selling accrued claim blocks - Version 11.0.2 and higher. If players sell accrued blocks, those blocks will NOT re-accrue over time.
  • Nether portal protections disabled by default - Version 10.6 and higher. For sake of performance, the feature which prevents nether portals from being created in land claims without permission (by creating a nether portal at the corresponding coordinates in another dimension) is turned off by default. You can enable it in your config file. This "grief" is very difficult to execute, opportunities to attempt it are rare, and it's surprisingly expensive to prevent. Even when it works, the "victim" might actually be appreciative, since he didn't have a nether portal nearby already.
  • PvP worlds reset - Version 10.4 and higher. This area of the config file has been frustrating for many for a long time. I've rewritten it to be more readable, much easier to edit, and now you can have an empty PvP worlds list on a PvP server, if that's what you want. When you update to this version, you will have to customize this part of the config file again (if you ever customized it at all).
  • Finding offline players by name - Version 9.0 and higher. For sake of performance (not producing lag), players and admins can only target offline players who've recently logged in with Grief Prevention slash commands like /trust, /transferclaim, /claimslist, and so on. I plan to keep working on this to make all players targettable without causing a lag problem. This limit on who can be targetted is a temporary solution to work around a problem introduced by the CraftBukkit team when they made the switch to support player UUIDs.
  • UUID Conversion - Version 8.1 and higher. During boot, an often very slow, one-time conversion process will replace player names in your data with player UUIDs. This process can take as long as one second for each player who has EVER played on your server. Make a backup before you upgrade, and please be patient. If this process is interrupted, you'll have to restore from backup and start over. This change will ensure players who change their names will not lose claim blocks or access to their land claims. If there's a problem, I need to know whether you're online/offline/bungee, whether in database or flat file mode, I need your boot logs from the conversion attempt, and if possible, a snapshot of your data from before the update.
  • Disabled worlds in config - Version 8.5 and higher. If a world is "disabled" for land claims, then no land claims which already exist in that world (including administrative land claims) will be protected. For those upgrading from an earlier version ONLY, to ensure all existing land claims are protected, GP has defaulted worlds which were disabled to allow claims again, including player-made land claims. If this isn't what you want, update your config.yml.
  • Piston limiting - Version 8.1.7 and higher. Pistons won't move blocks outside of land claims. This is a huge performance win, but if you want the old rules back, there's a new config option to disable this rule. Yes, players do get an explanation/warning when they place pistons outside of land claims, to avoid confusion for newly-placed pistons.
  • /DeathBlow Removed - Version 9.3 and higher. It's no longer necessary, since the items players drop on death are now protected. This protection is on by default in non-PvP worlds, and off by default in PvP worlds. You may customize it in the config file. You can still use /kill to kill a player, although /kill will not send the player's inventory to another player as /deathblow did.

All Recent Changes

12.7.1 Updates

  • Admins can't be ignored anymore - they have a new permission node "griefprevention.notignorable", which you can take away if you don't want players using /ignore to determine who has administrative permissions.

12.7 Updates

  • Your basement and other underground structures will now be automatically protected by extending a new surface level land claim downward when you create a new claim, provided those structures are built with player block types and connected to other player-type blocks inside the initial land claim at surface level. In other words, fewer "I didn't realize my land claim didn't reach all the way to bedrock" complaints.
  • Fixed the boot issue with database mode which appeared in 12.6.1.

12.6.1 Update

  • Improved database mode reliability after a period of server inactivity.

12.6 BETA Update

  • Added auto-mute for chat trolls. Players who've very recently joined your server and spout profanity (see new bannedWords.txt file) will be automatically muted. They won't know they're muted, and an admin can undo the mute with /SoftMute.
  • Added a lite profanity filter. If a player who isn't new to the server uses a word from bannedWords.txt, he'll get a warning and his message will not go out. Later uses of banned words from that player will be muted. Note that this banned words list does not support regular expressions by design - see the setup/config page for an explanation.

12.5 BETA Update

  • In creative mode worlds, fluids won't flow outside of land claims.
  • In creative mode worlds, several block types (cobble, obsidian, water source, lava source) won't form outside of land claims.

12.4.1 BETA Update

  • No more attackers placing TNT in besieged land claims.
  • Now cleaning-up any water above sea level in creative mode worlds when a land claim is removed.
  • Fixed siege attackers having permission to toggle /ClaimExplosions.
  • Fixed invincible attack dogs in pvp worlds labelled as non-pvp worlds in the GP config file.

12.4 BETA Update

  • Performance boosts for creating, resizing, deleting, and managing permissions in land claims.
  • Claim subdivisions (sub-claims) now have unique IDs.

12.3 Update

  • During a siege, attackers may now place TNT inside the defender's land claim and ignite it.
  • During a siege, TNT will now destroy soft block types (see config).
  • After a siege ends, during the period where the defender's doors are unlocked for looting purposes, attackers may now continue to break soft block types.

12.2 Update

  • Squids are now protected in land claims.
  • Added an administrative /ClaimBook command which gives a player a replacement claim information book.
  • Fixed an intermittent problem saving player data.

12.1 Update

  • Allowing narrow land claims (5 blocks wide). Introduced a minimum total area, default 100. If you previously customized the minimum claim size, you'll want to reconsider and adjust again since you now have two different settings to play with.
  • Improved the repeat message anti-spam.
  • Reduced the delay between a new player join and delivering a claim book to 10 seconds (from 30).
  • API: Made GriefPrevention.lookupPlayerByName(string) public.
  • API: Made player ignore lists public (see PlayerData.ignoredPlayers).

12.0 Update

  • Added a cancellable event to GriefPrevention's API so that other plugins may selectively disable the pvp protections.

11.9 Updates

  • Now giving new players GP reference books. This solves a few persistent problems. 1) players somtimes miss the in-context help messages, 2) players who watch the instructional video and play on non-default config servers get confused because the tools are not golden shovel and stick on their server, and 3) built-in command help is clunky. Yes, you can turn this off in your config BUT before you do, know that 1) only new players will get the books, 2) no player will ever receive more than one from the plugin, and 3) the books arrive about 30 seconds after joining, so they won't interfere with any on-join kits.
  • Tweaked the portal trap fix's timing (10 seconds standing in a portal instead of 5).

11.8.1 Update

  • In non-PvP worlds, players were successfully mounting tamed horses outside of land claims without permission, and placing fire and lava near other players. This is now fixed. :)

11.8 Updates

  • Claim managers (/PermissionTrust) may now use /UnTrust again, but can't target other managers.
  • In creative and survival-requiring-claims worlds, players may now create their first land claim using a chest like they would in Survival mode worlds.
  • Reduced punishment for trying to chat an IP address that's not on the allow list (see config file for allow list) to message mute for first offenses.
  • Now supporting an empty list of commands requiring access trust when used in land claims.
  • In worlds where land claims are disabled, right-clicking with a stick doesn't prompt any messages now.
  • Stopped eavesdropping private messages directed at players who have the eavesdrop permission.
  • Added an API to determine whether or not a player is on the /softmute list.

11.7.5 Update

  • When GP bans a player, there will now be notes in your ban file identifying GP as the source and listing a reason.

11.7.4 Update

  • Configuring a redstone comparator (default: right click) now require build permission inside land claims.

11.7.3 Update

  • Fixed log spam when claim block accrual rate is set to zero.

11.7.2 Update

  • Fixed /ContainerTrust not allowing farming in claim subdivisions.

11.7.1 Update

  • Fixed invincible guard dogs in PvP worlds.

11.7 Updates

  • Added /AdminClaimsList.
  • Fixed an easy workaround for the CAPS filter. Case-sensitive URLs may suffer, but are uncommon anyway.
  • Fixed "in-pvp" status remaining after a player dies.
  • Added smarts for dynamically generated/loaded worlds - PvP rules on/off will be determined by Bukkit's world.getPVP().
  • Claim managers can't use /untrust anymore - because managers shouldn't be able to kick-out other managers.
  • Visualizations play nicer with signs.
  • Added a permission node for the /ignore commands - griefprevention.ignore.
  • Claim files for non-existent worlds are deleted.

11.6.3 Update

  • The "commands requiring access trust" config option now supports slash commands with specific parameters, like "/warp create".

11.6.2 Updates

  • Once in PvP combat, a player can't just step over the line into a protected area when he starts losing the battle. Players who are in PvP aren't protected from PvP by land claims until they've gone 15 seconds without attacking or being attacked (default value - see PvP cooldown in your config file).
  • Admins can use /ignoreclaims to attack players in land claims where they would otherwise be protected.
  • Performance improvements for data storage.
  • Fixed database migration (was briefly broken after the /ignore feature was added).

11.6.1 Updates

  • No claiming land during PvP combat.
  • Players offline for up to 90 days are now targetable with slash commands (was 30 days).
  • To get sign notifications in-game (in the chat), use griefprevention.eavesdropsigns, instead of just griefprevention.eavesdrop (which still works for whispers).
  • There's no more permission to automatically bypass pvp protections in land claims. Instead, use /ignoreclaims to toggle that bypass on and off.
  • Output from /claimslist and /trustlist is now customizable in messages.yml.
  • Stopped trying to auto-fill big holes in creative mode worlds. It was valuable when sea level is set correctly (see config file), but problematic when that setting is incorrect. I decided to make that trade-off.
  • Better logging for secondary storage (file system or database) problems.

11.6 Updates

Added /ignore, so players can help themselves when there's no admin online to use /softmute and shut down a problematic chatter. Also helpful in reducing drama, which nobody likes. In addition to ignoring standard chat messages, an ignored player also can't use any whisper commands (see GP config file) targeting the player who's ignoring him.

Added /separate, an administrative command which forces two players to ignore each other. They are not notified, and can't see the force-ignored player on their /ignorelist. When two players can't get along but you don't want to totally /softmute either of them, this is a good option. Required permission: griefprevention.separate

11.5.2 Updates

  • Disabling creature protections in the config file will now allow villagers to be attacked without permission inside land claims.
  • Added a new config option so that server owners may allow anyone to trade with villagers, even in land claims where they have no permissions.
  • Fixed sign placement entries in server logs not including the placing player's name.

11.5.1 Updates

  • Added per-defender /siege cooldown.
  • Performance boosts for equipping the golden shovel and delivering claim blocks.

11.5 Updates

  • To combat using bots (or multiple accounts in general) to fill a server's slots so honest players can't connect, there's now a limit to how many players can connect at the same time using the same IP address. There are exceptions for players who have exhibited "human" behavior. :) You can change the limit in your config file, but I recommend giving the default a try first, since increasing the limit increases your vulnerability to this type of "attack".
  • /AdjustBonusClaimBlocks (/acb) now works with player UUIDs.
  • Removed formatters from the abbreviated logs for better readability.
  • Improved sign formatting in abbreviated logs for better readability.

11.4 Updates

  • Major new feature! Now server owners can quickly and conveniently review what happened during the time they were offline using GriefPrevention's new abridged logs. Unlike the noisy server logs, these logs are very selective about what they include and formatted for easy reading. They also automatically delete themselves after 7 days (default), and may optionally include GP administrative activity, like admins deleting land claims or giving players bonus claim blocks for example. Use this feature to make the most of other GP features like /softmute and suspicious bucket logging! :)
  • Fixed explosion protection config settings. Now all permutations work - for example you could allow explosions only IN land claims, or only outside, or only outside below sea level, or everywhere or nowhere... and the /claimexplosions command will enable explosions for individual land claims temporarily.

11.3.2 Updates

  • Added support for RoyalCommands plugin.
  • Fixed /restorenature bugs associated with setting the sea level very low.

11.3.1 Updates

  • Configuring GP to not protect horses now also stops them from being protected from damage in land claims.

11.3 Updates

DO NOT Update GriefPrevention to 11.3 or later until you've updated your server to the LATEST 1.8.3. If you do, explosion protection and other critical anti-grief features will NOT WORK. This is due to a change made by the Spigot/CraftBukkit team.

  • Fixed standard explosions destroying blocks where they shouldn't in 1.8.3 servers.
  • Fixed plugin-generated explosions (Essentials Protect, Extra Hard Mode, Cannons, etc) destroying blocks in 1.8.3 servers.
  • Hoppy Easter! - Spawn eggs now require build permission in survival worlds (they already did in creative worlds).
  • Hoppy Easter! - Dragon eggs now require build permission to teleport (left or right click).

11.2.2 Updates

  • Fixed players selling spent claim blocks with /sellclaimblocks.

11.2.1 Updates

  • Faster almost everything.
  • Faster visualizations.
  • Fixed PvP immune players being able to attack pets.
  • /ClaimExplosions and the config option to enable explosion damage in all claims both override the sea level protections now. Exception: Still absolutely no explosion damage in creative mode worlds, where griefers have unlimited TNT.

11.1 Updates

  • Fixed PvP rules applying in worlds NOT in the PvP worlds list.
  • Added a config option to allow explosions to damage claimed blocks. The griefing potential is big - please don't enable this unless you have another plugin to limit the damage, like for example CreeperHeal.
  • Better logging for blocked chat messages (the reason for the mute is recorded).
  • Better sign notifications and logging.
  • Signs with IP addresses not on the allowed list are now blocked.

11.0.2 Updates

  • Fixed a bug which sometimes caused players to be unfairly punished for logging out on servers which use WorldGuard to limit PvP.
  • Removed a debug log message (oops, how embarassing!).
  • Fixed some clever players keeping PvP immunity while having inventory by receiving items via other plugins.

11.0.2 Updates

  • When you have server economy integration enabled, players can't sell accrued blocks anymore, only bonus blocks. Also when they buy, those purchased blocks go into their bonus blocks.
  • Fixed abandoning subdivisions penalizing blocks when optional abandon return ratio feature is enabled.
  • Fixed ender pearl teleportation putting players into pvp combat mode.
  • Reduced tolerance for IP address spam.

11.0 Updates

  • Now "suspicious" water and lava bucket dumps will be logged (player name, fluid type, and coordinates).
  • Villagers will now take damage from monsters, even in land claims (this was intended before, but a bug prevented it).
  • Minor performance boost for visualizations.

10.9 Updates

  • Eating cake now requires /containertrust or higher permission.
  • Fixed a protection bug involving slime blocks.
  • Made boot a lot faster for servers who have seen lots of players.

10.8 Updates

  • Added a new claims mode you can use in your config file, "SurvivalRequiringClaims". This will work well for servers who have a separate resource world and want to limit their players to building only inside their land claims in other worlds, and very badly for other server types. This has some potential design problems (how do they get a golden shovel? What if they die and lose it?), which are yours to solve in the way you think best fits your server.
  • Cancelled ender pearl teleportations won't consume the ender pearl anymore.
  • /sethome now requires /accesstrust or higher permission. You may disable this or add more slash commands for this rule in the config file.
  • Added griefprevention.siegeimmune permission to make a player immune to the /siege command.
  • Added /setaccruedclaimblocks (/scb) to set accrued blocks to a specified value. They will auto-correct if you set them above the maximum you've set in your config file, or if you set them less than zero. /acb is still the best choice for almost all situations, but if you need this, now you have it.

10.7.1 Updates

  • Fixed players selling their initial claim blocks.
  • Perf boost for boot sequence (file and db modes).
  • Bug fixes for /claimslist output.
  • Tweaked spam filter tolerance for similar messages.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Gamepedia Free-shirt Giveaway