-
Notifications
You must be signed in to change notification settings - Fork 1
Worldguard
deveriku edited this page Apr 7, 2026
·
1 revision
Vexora VeinMiner has built-in WorldGuard support with two layers of protection.
No setup needed. If WorldGuard is installed and enabled, Vexora detects it automatically on startup:
✓ WorldGuard integration enabled
Vexora checks WorldGuard in two ways:
-
Built-in hook — Checks the
BLOCK_BREAKflag on the origin block before starting the vein mine -
BlockBreakEvent — Each individual block in the vein is also checked via the general protection system (if
protection-check: true)
This double check ensures full compatibility even with complex region setups.
worldguard:
enabled: true
check-build-flag: true
custom-flag: false
| Key | Default | Description |
|---|---|---|
| worldguard.enabled | true | Enable WorldGuard integration |
| worldguard.check-build-flag | true | Check BLOCK_BREAK flag on origin block |
| worldguard.custom-flag | false | Reserved for future custom flag support |
Deny vein mining in a region:
/rg flag <region> block-break deny
This prevents both normal breaking and vein mining.
Allow vein mining for members only:
/rg flag <region> block-break -g members allow
/rg flag <region> block-break -g nonmembers deny
Players with vexora.veinminer.bypass.world can vein mine regardless of world restrictions, but WorldGuard region flags are still respected unless the player is a region member/owner.
Vein mining still works in protected regions:
- Check that
worldguard.enabled: trueandworldguard.check-build-flag: true - Make sure the region has
block-break denyflag set - Test with a non-OP, non-member player
- Verify WorldGuard is loaded: check console for
✓ WorldGuard integration enabled
WorldGuard not detected:
- Make sure WorldGuard is installed and enabled
- Check that WorldGuard loads before VexoraVeinMiner (it should, since it's in
softdepend)