2.0.0
Compatibility
Changes
v2.0.0
-
新增违禁词检测:开启后,
/br与/yq消息若包含违禁词将被拦截config.yml中forbidden-words-enabled控制开关(默认开启)- 违禁词存放在独立的
banned_words.txt文件中,用分号;分隔,支持#注释 - 内置默认违禁词:........
- 匹配不区分大小写,并忽略颜色代码(如
&c/§c,含加粗/下划线等格式码) - 兼容记事本保存的 UTF-8 BOM 文件(首行违禁词不再失效)
- 拥有
forbidden-words-bypass-permission(默认velocitychat.admin)的玩家可绕过 - 修改
banned_words.txt后执行/vchat reload热重载(并发安全)
-
服务器别名改为在
config.yml中直接以 map 形式配置(服务器ID: "&a显示名称"),无需再改语言文件 -
修复控制台颜色:控制台执行
/br、/k、/yq、/vchat时,提示/反馈消息不再显示字面§颜色符号,改为正确显示 ANSI 颜色 -
版本号更新至 2.0.0
-
New forbidden-word filter: when enabled,
/brand/yqmessages containing a banned word are blocked- Toggle with
forbidden-words-enabledinconfig.yml(on by default) - Banned words live in a separate
banned_words.txt, separated by semicolons;,#for comments - Built-in default banned words: .......
- Matching is case-insensitive and ignores color codes (e.g.
&c/§c, including formatting codes like bold/underline) - Handles UTF-8 BOM files saved by Notepad (first word no longer silently fails)
- Players with
forbidden-words-bypass-permission(defaultvelocitychat.admin) bypass the filter - Run
/vchat reloadafter editingbanned_words.txt(concurrency-safe)
- Toggle with
-
Server aliases are now configured directly as a map in
config.yml(serverId: "&aDisplayName") — no need to touch the language files -
Fixed console colors:
/br,/k,/yqand/vchatno longer print literal§codes in the console — they now render with ANSI colors -
Version bumped to 2.0.0
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:jTQWhot9:DkgxgdP8"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:jTQWhot9:DkgxgdP8"
}

