
GPExpansion
The ultimate add-on for GriefPrevention 3D Subdivisions
Список изменений
GPExpansion v1.1.1
Wiki: https://github.com/castledking/GPExpansion/wiki/Claim-Block-Accruals
Highlights
- Added permission-based claim block accrual profiles - Servers can now configure different claim block accrual rates, maximum accrued claim blocks, and maximum claim counts for default players, VIP groups, or one-off reward permissions.
- Added
/gpx accrualsadmin tools - Admins can inspect effective limits, edit configured groups, create/delete accrual groups, and apply per-player overrides without hand-editing config every time. - Added LuckPerms-aware group creation - New accrual groups can be sorted by LuckPerms weight, and
*can inherit the highest value from lower-weighted groups when creating a new profile. - Added config repair for existing installs - Servers missing
accruals.groupsnow get the new section inserted during config version migration instead of being left with an incomplete config. - Added GP3D event integration - Accrual profiles are applied when GriefPrevention3D accrues claim blocks and when players create top-level claims.
Feature
GPExpansion now manages GriefPrevention3D claim block accruals from config.yml:
accruals:
groups:
- name: default
blocks-per-hour: 100
max-blocks: 80000
max-claims: 0
- name: vip
blocks-per-hour: 20
max-blocks: 250000
max-claims: 10
- name: elite
blocks-per-hour: 50
max-blocks: 1000000
max-claims: 20
permission: elite-reward
Profiles can match by Vault/LuckPerms group name, by griefprevention.accruals.<group>, or by an optional one-off permission such as griefprevention.accruals.elite-reward.
max-claims: 0 disables the claim count cap for that profile.
Commands
New admin commands:
/gpx accruals check [player]
/gpx accruals group <group> set|add|remove <per-hour|max-blocks|max-claims|all> <amount>
/gpx accruals player <name> set|add|remove|reset <per-hour|max-blocks|max-claims|all> [amount]
/gpx accruals creategroup <name> [blocks-per-hour] [max-blocks] [max-claims] [permission]
/gpx accruals deletegroup <name>
Per-player overrides take precedence over the player's matched group profile and are only written after an admin sets them.
Pairing
This release should be paired with GriefPrevention3D v17.5.2.
Migration
Existing configs should receive the missing accruals.groups section automatically when GPExpansion updates its config version. If a config already has a valid accruals.groups section, GPExpansion leaves it untouched.
