
# 安全特性
### 反言语过滤
这有助于防止聊天中出现任何敏感或不恰当的词语,以保持聊天清洁。
它具有自定义词语(黑名单/白名单)的功能。
### 反重复
这可以防止玩家一遍又一遍地重复相同的单词或字母。
### 反广告
它将阻止来自玩家的任何类型 IP 或 URL。
### 反滥用大小写
这有助于防止玩家在聊天中发送大写字母的消息!
# 配置!
### 检测消息!
如果任何人触发了其中一个安全设置,您将收到警报,他们也将收到警报。
```yaml
DetectedMessage: "&c%player_name%'s message got detected by the following flags &e[%flags%] \n----------> &6%message%" # 更改检测消息的发送方式
DetectedPlayerMessage: "&cYou have been detected by the following flags &e[%flags%]" # 更改发送给玩家的消息的方式(如果不需要发送,请将其设置为 "")
```
### 切换消息 (适用于代理)
当玩家从一个服务器切换到另一个服务器时,此功能将通知服务器上的所有人!
```yaml
# 此切换消息仅适用于 BungeeCord 和 Velocity
SwitchSettings:
enabled: true
global: true # false 仅限当前服务器和上一个服务器 / true 所有服务器
premessage: "&a%player_name% &ehas switched from &6%previous_server% &eto &f%current_server%"
comessage: "&a%player_name% &ehas arrived from &6%previous_server%"
```
### 其他
```yaml
SpamMessage: "&cYour message is blocked by the &eAnti-Spam\n&7Remaining time: %duration% seconds" # 更改反垃圾邮件消息的发送方式(如果不需要发送,请将其设置为 "")
ChatClearMessage: "&eThe Chat has been cleared by &a%sender%" # 更改已清空聊天消息的发送方式
NoPermissionMessage: "&eYou're not allowed to use this command!"
```
# 实用程序特性!
### 别名
此功能通过允许使用两个新占位符自定义玩家和地点名称,增强了 WorldChatter 的占位符:`{player_name}` 和 `{player_place}`。
```yaml
aliases:
enabled: true
place:
world: "&aOverworld&r"
player:
OmarOmar93: "OmarOmar93 &o&eTest Omar Yes"
```
### 聊天锁定
这允许工作人员或控制台使用 `wc lock` 锁定或解锁聊天!
```yaml
ChatLockMessage:
enabled: true
public: true # TRUE | 向所有人显示消息或 FALSE | 仅显示给发送者
locked: "&eThe Chat is now &cLOCKED &eby &a%sender%"
unlocked: "&eThe Chat is now &aUNLOCKED &eby &a%sender%"
currently: "&eThe Chat is Currently &clocked"
```
### 清理聊天!
使用 `wc clear` 清理聊天!
### 自定义加入和离开消息!
对于某些玩家自定义加入和离开消息。
```yaml
Join:
enabled: true
level: 1 # 1 仅限当前地点 / 2 全服务器
place: "world" # 发送消息的地点
message: "&a%player_name% &fhas joined the game!"
permmode: true # 检查是否使用权限模式发送消息 / 禁用将使用默认消息
permissions:
"admin":
permissions: [ "worldchatter.control", "*" ]
message: "&a%player_name% &fhas joined the game\n&e[Teleport to %player_name%]"
Quit:
enabled: true
level: 1 # 1 仅限当前地点 / 2 全服务器
place: "world" # 发送消息的地点 - 输入 %place% 以将其设置为玩家的最后一个地点
message: "&a%player_name% &fhas left the game!"
permmode: false # 检查是否使用以下权限显示不同的消息或不显示!
permissions:
"admin":
permissions: [ "worldchatter.control", "*" ]
message: "&a%player_name% &fhas left the game &8You have nothing to do to that player :P"
```
### 通知
自定义检测的通知声音。
```yaml
notification:
enabled: true
staff: # 工作人员检测的通知
sound: "BLOCK_NOTE_BLOCK_PLING" # 播放作为通知的声音,你可以在这里找到 https://helpch.at/docs/SERVER_VERSION_GOES_HERE/index.html?org/bukkit/Sound.html
volume: 1 # 声音的音量
pitch: 1 # 声音的音调
player: # 玩家检测的通知
sound: "BLOCK_NOTE_BLOCK_PLING"
volume: 1
pitch: 1
```
### 频道
推出新的 **频道** 功能!
将地点或玩家 **或两者都!** 添加到每个频道中,并根据每个频道重要性进行优先级排序!
```yml
GlobalSending: true
channels:
admin:
players:
- "OmarOmar93"
- "HoneySalted"
- "Notch"
places:
- "World"
- "Lobby"
main:
places:
- "world"
- "world_nether"
- "world_the_end"
```
### 调试模式 - (目前仅在频道中实现)
新的调试模式可打印出有关 WorldChatter 的更多信息!例如,每个操作中发生的警告、错误和信息!
```yml
debug:
enabled: true
info: "&7[&9WorldChatter Debugger &r| Info&7]&r "
warning: "&7[&9WorldChatter Debugger &r| &eWarning&7]&e "
error: "&7[&9WorldChatter Debugger &r| &4Error&7]&4 "
```

# WorldChatterAPI
通过 [点击这里!](https://github.com/OmarOmar93/WorldChatterAddonChecker) 了解有关 API 及其功能的更多信息
# 捐赠!
如果您想支持 WorldChatter 和其他项目的开发,请考虑捐赠!
[请我喝杯咖啡!](https://www.paypal.com/paypalme/omaomar93)
# 其他项目!
[WorldCaster](https://modrinth.com/plugin/worldcaster)
独立的广播附加组件
# 支持的插件!
- PlaceholderAPI
- Multiverse-Core
- ItemsAdder (使用 PlaceholderAPI)
- Luckperms
- 以及具有 PlaceholderAPI 占位符的其他插件!
# 衷心感谢:
- **Abdelaziz189356** - 感谢在 2.0、2.1 和 3.0 成为可能、3.0 测试者方面的帮助!
- **yousife_7aloly** - 2.0 测试者!
- **FastEverlast** - 2.4 测试者!
- **Fabrizio Santana, 4zy** - 3.0 测试者
有很多其他功能可以探索!
感谢您花时间阅读此文档并使用该插件!