Tags
Creators
Details
1.18
Compatibility
Changes
v1.18
WorldGuard Safe-Zone Barrier
| Change | Details |
|---|---|
| Rework | Barrier now scans block-by-block against the actual region shape instead of a fixed radius around the last movement point. Aligns exactly with the region edge. |
| Live updates | Barrier is recalculated continuously while in combat (every move, throttled to 250ms), not just once after a rejected move. It now shows on approach instead of only after being pushed back. |
| Break/interact protection | Barrier blocks can no longer be broken or interacted with. |
New config: view-distance |
Controls how far from the border the barrier stays visible. Default: 8. |
New config: height |
Controls how many blocks above the player the barrier scan checks. Default: 3. |
Config System
| Change | Details |
|---|---|
messages.yml auto-creation |
File is now created on first enable if missing. |
| Config auto-migration | config.yml is now automatically backed up and migrated when the config version changes, instead of requiring a manual reset. |
| New accessors | getCombatManager(), getPluginConfig(), reloadPluginSettings() exposed for cleaner internal access. |
Config Migration Notes
Existing installs will get the new view-distance and height keys added automatically under combat-log.worldguard.safe-zone-barrier on next startup. A backup of the old config is created automatically.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:LI8sodAD:6IFR8wxZ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:LI8sodAD:6IFR8wxZ"
}

