# RedProtect
RedProtect 让你的服务器更能抵御红石时钟。
要接收操作消息,需要 `redclock.notify` 权限。
## 功能
- 基于地块的红石时钟保护
- 基于区域的红石时钟保护
- 基于区块的红石时钟保护
- 基于 TPS 的红石停用
## 支持的插件
- [PlotSquared](https://github.com/IntellectualSites/PlotSquared)
- [Protect](https://github.com/TheNextLvl-net/protect)
## 配置文件
```json5
{
"enable-area-protection": true, // 是否启用区域保护
"enable-chunk-protection": true, // 是否启用区块保护
"enable-plot-protection": true, // 是否启用 PlotSquared 保护
"print-messages-to-console": true, // 是否将时钟通知打印到控制台
"lag-disable-redstone": true, // 服务器滞后时是否禁用红石
"disable-clocks": true, // 是否禁用红石时钟
"disable-redstone-tps": 18, // 何时禁用红石的 TPS
"lag-detect-interval-millis": 1000, // 检测滞后的间隔
"clock-disable-time-millis": 10000, // 时钟禁用多长时间
"region-update-limit": 25000 // 检测到的更新数量达到多少才被认为是时钟
}
```