This plugin is designed to prevent all forms of grief.
62

GriefPrevention’s default config offers extended customization for your server. Below is a breakdown of all default variables for your convenience.

:warning: Some options can cause irreparable changes to your data. Please ensure that you have read the sub-text found next to the variables in your generated global.conf file. All migration variables should ALWAYS be used AFTER a backup of your data is made. :warning:


Plugin Dependency

Do note, cost variables (such as Towns’ creation-cost) require an Economy plugin. Similarly, MCClans is only needed if you plan on using it’s integration across plugins. It is not, however, required to use GriefPrevention’s Town claims.

Default Claim Flags

All default flags can be customized per claim type. Currently, GriefPrevention supports default flags for Admin, Basic, Town and Wilderness. Please check your global.conf for a list of each default claim-flag setup.

User Claim Flags

The global.conf is also the place where you can list the flags users with griefprevention.user.claim.flag will be able to edit. Note, the permission will be checked under the form of griefprevention.user.flag.[flag]. If you wish to add a new flag to the list, simply follow the format and add it in a new line, and then restart your server (or /gpreload).

For example, adding block-break to the list will translate into griefprevention.user.flag.block-break being checked as true, therefore allowing the player to edit his claim’s block-break flag with /cf, /cfg, and /cfp.

Modular Configuration

GriefPrevention allows for modular enabling. As per default configuration files however, all modules are enabled. Disabling a module will render all flags unusable. Only do it if you do not plan on using GriefPrevention’s management of said flag. You can choose to disable the following:

  • Block-Changes: block-break, block-place
  • Collisions: collide-block, collide-entity
  • Commands: command-execute, command-execute-pvp
  • Movements: enter-claim, exit-claim
  • Entity: entity-damage, entity-riding, entity-spawn, entity-teleport-from, entity-teleport-to
  • Explosions: explosion, explosion-surface
  • Fire-Spread: fire-spread
  • Interacts: interact-block-primary, interact-block-secondary, interact-entity-primary, interact-entity-secondary, interact-inventory, interact-inventory-click, interact-item-primary, interact-item-secondary
  • Item: item-drop, item-pickup, item-spawn, item-use
  • Liquids: liquid-flow
  • Portals: portal-use
  • Projectiles: projectile-impact-block, projectile-impact-entity

Claims

VariableDescriptionDefault Value
accesstrust-commandsThe list of slashcommands requiring access trust when in a claim.NULL
auto-claim-radiusRadius used for auto-created claims.4
auto-nature-restoreWhether survival claims will be automatically restored to nature when auto-deleted.FALSE
bank-tax-systemWhether to enable the bank/tax system for claims.FALSE
bank-transaction-log-limitLimit of the bank backlog.60
claims-modeThe mode used when creating claims.1
cleanup-task-intervalThe interval in minutes for restoring blocks in an expired claim.5
deliver-manualsSend players manuals on claim creation.FALSE
investigation-toolThe item used to investigate claims with a right-click.“minecraft:stick”
modification-toolThe item used to create/resize claims with a right click.“minecraft:golden_shovel”
tax-apply-hourThe specific hour in day to apply tax to all claims.12

Economy

VariableDescriptionDefault Value
claim-block-costCost to purchase a claim block. Set 0 to disable.0.0
claim-block-sellReturn on a sold claim block. Set 0 to disable.0.0

General

VariableDescriptionDefault Value
admin-sign-notificationsEnable sign notifications for admins.FALSE
admin-whisper-commandsList of whisper commands to eavesdrop on.NULL
admin-whisper-notificationsEnable whisper notifications for admins.FALSE
admin-whisper-commandsWhether whispered messages will broadcast to administrators in game.NULL
admin-whispersList of whisper commands to eavesdrop on.FALSE
chat-rules-enabledWhether chat should be monitored and filtered by rules.FALSE
limit-pistons-to-claimsWhether pistons are limited to only move blocks located within the piston’s land claim.FALSE
limit-sky-treesWhether players can build trees on platforms in the sky.TRUE
limit-tree-growthWhether trees should be prevented from growing into a claim from outside.FALSE
limit-sky-treesWhether players can build trees on platforms in the sky.TRUE
max-claim-inspection-distanceThe max claim inspection block distance.100
max-players-per-ipHow many players can share an IP address.3
protect-item-drops-death-non-pvpWhether players’ dropped on death items are protected in non-pvp worlds.TRUE
smart-banWhether to ban accounts which very likely owned by a banned player.FALSE

Logging

VariableDescriptionDefault Value
admin-activityLog admin activity.FALSE
days-storedHow many days to keep logs in storage.7
social-activityLog social activity.FALSE
suspicious-activityLog suspicious activity.FALSE

Message

VariableDescriptionDefault Value
localeSet the locale to use for GP messages.“en_US”

Migrators

VariableDescriptionDefault Value
classicMigrates pre 4.0.0 GP claim data to current format.FALSE
polisSet to true to enable Polis data migrator.FALSE
red-protectSet to true to enable RedProtect data migrator.FALSE

Player Data

VariableDescriptionDefault Value
claim-block-systemDetermines which claim block system to use for claims.AREA
migrate-area-rateThe rate to divide each accrued claim blocks total by.-1
migrate-volume-rateThe rate to multiply each accrued claim blocks total by.-1
reset-accrued-claim-blocksResets all playerdata accrued claim blocks to match total cost of claims owned.FALSE
reset-migrationsResets all playerdata migration flags to allow for another migration.FALSE
use-global-storageWhether player data should be stored globally.TRUE

PvP

VariableDescriptionDefault Value
allow-combat-item-dropsWhether a player can drop items during combat to hide them.FALSE
combat-timeoutHow long combat is considered to continue after the most recent damage.15
protect-fresh-spawnsWhether to make newly spawned players immune until they pick up an item.TRUE
protect-item-drops-deathWhether player’s dropped on death items are protected in pvp worlds.FALSE
protect-players-in-adminclaimsWhether players may fight in admin-owned land claims.FALSE
protect-players-in-claimsWhether players may fight in player-owned land claims.FALSE
protect-players-in-subdivisionsWhether players may fight in subdivisions of admin-owned land claims.FALSE
protect-players-in-wildernessWhether players may fight in wilderness.FALSE
punish-logoutWhether to kill players who log out during PvP combat.TRUE
rules-enabledWhether or not pvp anti-grief rules apply.TRUE

Spam

VariableDescriptionDefault Value
allowed-ipsIP addresses which will not be censored.NULL
autoban-offendersWhether or not to ban spammers automatically.FALSE
death-message-cooldownCooldown period for death messages (per player) in seconds.60
enable-spam-monitorWhether or not to monitor for spam.TRUE
login-cooldownHow long players must wait between logins. Combats login spam.60
monitor-commandsThe list of slash commands monitored for spam.NULL

Thread

VariableDescriptionDefault Value
executor-threadsThe number of threads to use for GP’s executor.-1

Town

VariableDescriptionDefault Value
auto-nature-restoreWhether survival towns will be automatically restored to nature when auto-deleted.FALSE
clan-require-townRequires a town to be owned for MCClans.TRUE
cleanup-task-intervalThe interval in minutes for restoring blocks in an expired town.5
creation-costThe required amount of funds to create a town.0.0
extend-into-ground-distanceHow far below the shoveled block a new claim will reach.255
max-depthLimit on how deep towns can go.0