-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Jack edited this page May 15, 2026
·
3 revisions
GPExpansion uses config.yml for all plugin settings.
plugins/GPExpansion/config.yml
# Debug mode for troubleshooting
debug:
enabled: false
# GUI settings
gui:
enabled: true
# Permissions for GUI features
permissions:
return-command: "griefprevention.claim.gui.return"
# Mailbox protocol
# 'virtual' - Snapshot-based (works with all GP versions)
# 'real' - Live chest with subdivisions (requires GP3D)
mailbox-protocol: virtualdefaults:
# Currency type: money, xp, claimblocks, items
currency: money
# Sign limits per claim
max-rent-signs-per-claim: 1
max-mailbox-signs-per-claim: 1
max-sell-signs-per-claim: 1
max-self-mailboxes-per-claim: 3
max-global-claims-per-player: -1 # -1 = unlimited
# Tax settings (if enabled)
tax-enabled: false
tax-rate: 0.01 # Per claim block per period
tax-period: 7d # How often tax is collected
tax-grace-period: 14d # Days before claim deletionsigns:
rent:
enabled: true
allow-items: true
item-types:
- DIAMOND
- EMERALD
- GOLD_INGOT
sell:
enabled: true
allow-items: true
clear-trust-on-sale: true
transfer-subclaims: true
mailbox:
enabled: true
global:
enabled: true
instant-spawn-set: trueglobal-claims:
enabled: true
allow-teleport: true
default-icon: GRASS_BLOCK
max-description-length: 500
max-name-length: 32
require-approval: falsetax:
enabled: false
rate: 0.01
period: 7d
grace-period: 14d
exempt-permission: "griefprevention.tax.exempt"
payment-methods:
- money
- claimblocks
notification-days-before: [7, 3, 1]claim-flight:
enabled: true
default-time: 0 # 0 = unlimited for owners
max-time: 3600 # seconds
cost-per-second: 0.0mailbox:
storage-warnings:
enabled: true
thresholds:
- 90
- 95
- 100
sounds:
open: true
close: true
# Virtual protocol settings
virtual:
snapshot-update-interval: 5s
allow-multiple-depositors: falsegui:
enabled: true
main-menu:
show-global-claims: true
show-rental-info: true
claim-list:
page-size: 10
show-coordinates: true
show-size: true
colors:
primary: "&6"
secondary: "&e"
error: "&c"
success: "&a"storage:
type: yaml # yaml, sqlite, mysql
# For MySQL
mysql:
host: localhost
port: 3306
database: gpexpansion
username: root
password: password
pool-size: 10snapshots:
enabled: true
max-per-claim: 10
auto-cleanup:
enabled: true
days: 30
compression: trueIf using Vault (currency: money):
- Requires Vault plugin
- Requires economy plugin (EssentialsX, etc.)
defaults:
currency: xpUses player experience levels.
defaults:
currency: claimblocksUses GriefPrevention accrued claim blocks.
signs:
rent:
allow-items: true
item-types:
- DIAMOND
- EMERALDSpecify allowed item types for item-based payments.
Use /gpx reload to reload config without restart.
Note: Some settings require a full restart:
- Storage type changes
- MySQL connection settings
- Mailbox protocol changes
# GPExpansion Configuration
debug:
enabled: false
gui:
enabled: true
mailbox-protocol: virtual
defaults:
currency: money
max-rent-signs-per-claim: 1
max-mailbox-signs-per-claim: 1
max-sell-signs-per-claim: 1
max-self-mailboxes-per-claim: 3
max-global-claims-per-player: -1
signs:
rent:
enabled: true
allow-items: true
sell:
enabled: true
allow-items: true
clear-trust-on-sale: true
mailbox:
enabled: true
global:
enabled: true
global-claims:
enabled: true
allow-teleport: true
default-icon: GRASS_BLOCK
tax:
enabled: false
rate: 0.01
period: 7d
grace-period: 14d
mailbox:
storage-warnings:
enabled: true
thresholds: [90, 95, 100]
sounds:
open: true
close: true
snapshots:
enabled: true
max-per-claim: 10