1.0.1
Compatibility
Changes
TownyLaws v1.0.1
This update focuses on safer defaults and preventing accidental law wipes.
Changes:
- /town laws clear and /nation laws clear now requires confirmation.
- Use /town laws clear confirm or /nation laws clear confirm within 30 seconds to finish clearing.
- Admin clear commands also require timed confirmation:
- /townylaws town <town> clear confirm
- /townylaws nation <nation> clear confirm
- Added tab completion for clear confirm.
- Added configurable messages:
- confirm-clear
- clear-confirm-expired
- Town and nation laws no longer display on player join by default.
- show-laws-on-town-join: false
- show-laws-on-nation-join: false
This should make the plugin less noisy by default and safer for mayors, nation staff, and admins.
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:rEq2hinY:mr94BYy4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rEq2hinY:mr94BYy4"
}

