Tags
Creators
Details
1.1
Compatibility
Changes
✨ Changelog — gChatTowny v1.1
New Features and Improvements:
-
🏙 Added support for Towny town and nation tags (
getTag()):- If a town/nation has a tag, it will be used instead of the full name.
- If no tag exists, the full name is used as before.
-
⚙️ New configuration option in
towny-gChat.yml:prefer_tag: truetrue→ tag takes priority.false→ always use full names.
-
🎨 Updated message formatting system:
- Supports HEX colors like
&#FF5656. - Fully compatible with standard Minecraft color codes
&a, &b, &c....
- Supports HEX colors like
-
🔌 Full PlaceholderAPI support:
%gchat_towny%→ Nation + Town (or just Town if no nation).%gchat_townytown%→ Town (tag or full name).%gchat_townynation%→ Nation (tag or full name).
Technical Changes:
- Added
resolveTownName()andresolveNationName()methods to respect theprefer_tagsetting. - Refactored
getTownyTag(),getTownTag(), andgetNationTag()for clarity. - Config now auto-generates with new settings on first run.
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:VeteDWWS:D65yPn0b"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VeteDWWS:D65yPn0b"
}

