-
Notifications
You must be signed in to change notification settings - Fork 0
Sign Protection
GPExpansion provides comprehensive protection for rental, mailbox, and sell signs.
All GPExpansion signs are automatically protected:
- Rental signs - Active rentals prevent sign breaking
- Mailbox signs - Protected while mailbox exists
- Sell signs - Protected while for sale
- Global signs - Protected while claim is global
| Scenario | Protection |
|---|---|
| Owner breaks own sign | ✅ Allowed (cancels all transactions) |
| Non-owner breaks sign | ❌ Denied |
| Admin breaks sign | ✅ Allowed with permission |
| Explosion damage | ❌ Protected |
| Fire damage | ❌ Protected |
| Water/lava flow | ❌ Protected |
Rental signs with active renters have enhanced protection:
- Cannot be broken by claim owner
- Cannot be broken by renters
-
Only admins can break with
griefprevention.sign.admin.break - Breaking an active rental sign:
- Ends all active rentals immediately
- Refunds partial payments (configurable)
- Notifies all affected renters
- Logs the action
Admins with griefprevention.sign.admin.break or griefprevention.admin can:
- Break any GPExpansion sign
- Override active rental protection
- Remove signs in any claim
/gpx sign remove <x> <y> <z> <world>
Remove a sign by coordinates without being in-game.
When a GPExpansion sign is broken:
- Ends all active rentals
- Removes trust from renters
- Optionally restores from snapshot
- Refunds partial payments (configurable)
- Removes mailbox from system
- Clears container trust (real protocol)
- Preserves container contents
- Notifies owner of removal
- Cancels pending sales
- Returns any escrowed funds
- Clears sale data
- Removes global status from claim
- Preserves claim data
- Removes from global list
Sign protection is configured per sign type in config.yml, not as a separate section. The relevant options are:
signs:
rent:
prevent-owner-breaking-active-rental: true
trust:
clear-renter-trust-on-expire: true
sell:
clear-trust-on-sale: true
remove-sign-after-sale: true
mailbox:
allow-owner-quick-collect: trueIf a sign is glitched or needs removal:
- In-game: Admin with break permission
-
Command:
/gpx sign remove <coords> - Config: Temporarily disable protection
Signs are protected from:
- WorldEdit operations
- Region modifications
- Schematic pastes (over existing signs)
Use /gpx sign remove before world operations.
There is currently no separate logging config section. Sign operations are logged at debug level when debug.enabled: true.
Can't break my own sign?
- Check for active rentals
- Verify you're the claim owner
- Try
/gpx sign removecommand
Sign keeps reappearing?
- Check for region protection plugins
- Verify no restore operations running
- Check for schematic plugins
Protection not working?
- Ensure sign-protection is enabled
- Check for conflicting plugins
- Verify sign was created by GPExpansion
| Permission | Protection Effect |
|---|---|
griefprevention.sign.create.* |
Create protected signs |
griefprevention.sign.break.own |
Break own signs |
griefprevention.sign.admin.break |
Break any sign |
griefprevention.admin |
Full sign control |
- Don't break active rentals - Use eviction instead
- Notify players - When removing signs for maintenance
- Use admin commands - For bulk operations
- Log removals - Enable audit logging
- Backup first - Before major sign operations