-
Notifications
You must be signed in to change notification settings - Fork 0
Admin Commands
GPExpansion provides powerful administrative commands for server management.
Main admin command for GPExpansion management.
| Command | Description |
|---|---|
/gpx reload |
Reload configuration and language files |
/gpx debug |
Toggle debug logging mode |
/gpx max <type> <action> <player> <amount> |
Modify player sign limits |
/gpx accruals <action> |
Check and modify claim block accrual profiles |
/gpx reload
- Reloads config.yml
- Reloads lang.yml
- Re-initializes economy hooks
- Clears caches
Permission: griefprevention.admin
/gpx debug
Toggles debug logging:
- Sign activation details
- Economy transaction logs
- Trust change tracking
- Error stack traces
Permission: griefprevention.admin
Modify player sign creation limits:
/gpx max <type> <action> <player> <amount>
Types:
-
sell- Sell sign limits -
rent- Rental sign limits -
mailbox- Purchasable mailbox limits -
self-mailboxes- Self-mailbox limits -
globals- Global claim limits
Actions:
-
add- Add to current limit -
take- Subtract from current limit -
set- Set to specific value
Examples:
/gpx max sell add Steve 5
/gpx max rent take Alice 2
/gpx max mailbox set Bob 10
/gpx max self-mailboxes add AllPlayers 3
Permission: griefprevention.admin
Manage claim block accrual profiles, claim block caps, claim count caps, and per-player overrides:
/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>
Examples:
/gpx accruals check Steve
/gpx accruals group vip set max-claims 10
/gpx accruals player Steve set per-hour 30
/gpx accruals player Steve reset all
/gpx accruals creategroup elite 50 * 20
Permission: griefprevention.admin
See Claim Block Accruals for the full configuration and matching rules.
/claim adminlist
/adminclaimlist
/adminclaimslist
Lists all claims on the server with:
- Owner name
- Claim ID
- Location
- Size
- Coordinates
Permission: griefprevention.admin
/claim list <player>
View claims for any player.
Permission: griefprevention.claim.list.other
Most /claim subcommands support claim IDs for remote management:
/claim name "Admin Edited" 12345
/claim global true 12345
/claim setspawn 12345
/claim ban PlayerName 12345
Permission: griefprevention.admin or specific .other permissions
Manage rental restoration snapshots:
/claim snapshot create [claimId]
Saves current claim state for later restoration.
/claim snapshot list [claimId]
/claim snapshot list all
View snapshots for a claim or all claims.
/claim snapshot remove <snapshotId>
Delete a specific snapshot by ID.
Permission: griefprevention.restoresnapshot
Admins can break any GPExpansion sign:
- Rental signs with active rentals
- Mailbox signs
- Sell signs
Permission: griefprevention.sign.admin.break or griefprevention.admin
Admins bypass all sign limits:
- No per-claim limits
- No global player limits
- Unlimited signs of all types
If approval is required in config:
/claim global approve <claimId>
/claim global deny <claimId>
Permission: griefprevention.global.approval
/gpx max <type> check <player>
Shows current effective limits for a player.
Set limits for all players with a permission:
/gpx max rent set %group.vip% 5
/gpx export <format>
/gpx import <file>
Export claim data to various formats or import from backups.
/gpx db migrate <target>
/gpx db backup
/gpx db verify
Manage data storage and migration.
/gpx debug sign <location>
View detailed information about a sign at specific coordinates.
/gpx debug claim <claimId>
Display internal claim data and GPExpansion metadata.
/gpx debug economy <player> <amount>
Test economy transactions without actual money changes.
/gpx logs signs [player] [timeframe]
View sign creation/break history.
/gpx logs rentals [claimId] [timeframe]
View rental start/end history.
/gpx logs mailboxes [claimId] [timeframe]
View mailbox deposit history.
/claim evict <player> <claimId> --force
Immediately end a rental without refunds.
/claim transfer <player> <claimId> --force
Transfer ownership immediately.
/gpx clear signs <claimId> [type]
Remove all GPExpansion signs from a claim.
All admin commands support tab completion:
- Player names
- Claim IDs
- Valid types and actions
- File paths
GPExpansion logs admin actions to:
- Console
- Log file (
plugins/GPExpansion/logs/admin.log) - Database (if enabled)
Logged events:
- Sign limit changes
- Snapshot operations
- Claim modifications
- Debug mode toggles
- Test in staging - Try commands on test server first
- Make backups - Before bulk operations
- Use claim IDs - Avoid ambiguity with player names
- Check permissions - Verify effective permissions with debug
- Log actions - Enable audit logging for accountability