Skip to content

Commit

Permalink
Update chinese translation (#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dg32z authored Sep 6, 2024
1 parent aa6d07f commit c58ae74
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 33 deletions.
34 changes: 19 additions & 15 deletions src/main/resources/config/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# 源代码链接: https://github.com/MWHunter/Grim
# 版权归 DefineOutside 和 贡献者所有,基于GPLv3开源协议。
# 修改过的二进制文件,或带有复制的Grim代码的插件,必须是私有仓库,不得公开售卖此插件。
# 中文翻译提供 nuym ,如有错误请提交 Issues 并@我
# 中文翻译提供 nuym/Dg32z_ ,如有错误请提交 Issues 并@我

alerts:
# 是否在控制台显示作弊消息?
Expand All @@ -27,21 +27,22 @@ client-brand:
- "^Feather Fabric$"

spectators:
# 把所有拥有 grim.spectartor 权限的人都隐藏起来,不管他是否观察玩家。
# 将拥有 grim.spectator 权限的人进行隐藏,不管他是否在观察玩家
hide-regardless: false
# 观察者这些世界不会隐藏
allowed-worlds:
- ""

# 在我们让他们超时之前,玩家应该有多长时间? 此处的60 指60s
# 在玩家无法接收 GrimAC的 transaction 数据包后,多少秒对玩家进行踢出
# 踢出原因为: disconnect.timeout
max-transaction-time: 60

# Should the duplicate movement packet be cancelled?
# Mojang has fixed this issue in 1.21. This was their attempt to fix the "bucket desync". https://bugs.mojang.com/browse/MC-12363
# This setting only applies to 1.17-1.20.5 clients on 1.8 servers.
# 是否对重复的移动数据包进行撤销?
# 这可以修复 "bucket desync". https://bugs.mojang.com/browse/MC-12363,不过Mojang已经在1.21修复了这个问题
# 这仅仅适用于1.8服务器中使用1.17-1.20.5版本的玩家
cancel-duplicate-packet: true

# Whether or not to ignore the rotation in duplicate packets
# 是否忽视重复的数据包中的玩家转头
ignore-duplicate-packet-rotation: false

Simulation:
Expand Down Expand Up @@ -84,7 +85,7 @@ PositionPlace:
RotationPlace:
cancelvl: 5

# Prediction-based NoSlow 检查
# 使用模拟移动进行的NoSlow(使用物品时不会减速)检查
# 在这里解释错误的服务器代码......即使在发送垃圾数据包时右键单击和副手按钮也很分辨
# 比其他反作弊更稳定,但请报告任何错误......我在这里修复了大量的代码问题。
NoSlowA:
Expand Down Expand Up @@ -121,13 +122,13 @@ TimerA:
# 玩家卡顿时可以累积以供以后使用的毫秒数
# 如果设置得太高,可能会允许 1.8 快速使用/快速治疗/快速弓箭绕过,120 毫秒似乎是一个很好的平衡
drift: 120
# Ping at which the check will start to limit timer balance, to prevent abuse.
# Can cause some setbacks for legitimate players but only if they are over this ping threshold.
# -1 to disable
# 在检查玩家的延迟时对timer balance进行限制, 防止滥用
# 在合法玩家的延迟超过这个延迟阈值时可能会造成误拉回
# 填写-1则关闭
ping-abuse-limit-threshold: 1000

NegativeTimer:
# Number of milliseconds lost while moving before we should start flagging
# 在开始检查玩家时,玩家的移动丢失了多少毫秒数
drift: 1200

# 与 TimerA 相同的检查方法,但适用于坐骑
Expand Down Expand Up @@ -157,8 +158,10 @@ Reach:
enable-post-packet: false

exploit:
#是否允许玩家在使用鞘翅时候进行的疾跑跳跃
allow-sprint-jumping-when-using-elytra: true
# 该选项可在发生鬼块时重新同步玩家,从而减轻玩家在鬼块上的位置。
# 这可以在玩家遇到幽灵方块时进行同步,这可以减少玩家所碰到幽灵方块
allow-building-on-ghostblocks: true
distance-to-check-if-ghostblocks: 2

Expand All @@ -173,11 +176,12 @@ experimental-checks: false
packet-spam-threshold: 100

# Grim 能够强制执行一个规则:被设置为非飞行状态的玩家的 ping 值不能超过 X 毫秒。这是因为 Grim 目前不检查处于飞行状态的玩家。
# To disable, use -1
# 填写-1则关闭
max-ping-out-of-flying: 1000

# Maximum ping when a firework boost is removed from the player.
# This prevents high latency players from being able to use 1 firework boost with an elytra forever.
# 限制玩家在使用鞘翅飞行时使用烟花加速的延迟
# 这可以解决高延迟的玩家可以使用鞘翅时一直使用 1 个烟花就可以加速
# 填写-1则关闭
max-ping-firework-boost: 1000

config-version: 9
14 changes: 7 additions & 7 deletions src/main/resources/discord/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ enabled: false
webhook: ""
embed-color: "#00FFFF"
violation-content:
- "**Player**: %player%"
- "**Check**: %check%"
- "**Violations**: %violations%"
- "**Client Version**: %version%"
- "**Brand**: %brand%"
- "**Ping**: %ping%"
- "**TPS**: %tps%"
- "**玩家名**: %player%"
- "**检查**: %check%"
- "**违规率**: %violations%"
- "**游戏版本**: %version%"
- "**客户端品牌**: %brand%"
- "**延迟**: %ping%"
- "**服务器卡顿程度**: %tps%"
6 changes: 3 additions & 3 deletions src/main/resources/messages/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ upload-log-start: "%prefix% &f上传中...请等待"
upload-log-not-found: "%prefix% &c找不到该日志."
upload-log-upload-failure: "%prefix% &c上载此日志时出错, 有关详细信息, 请参阅控制台"

# Valid placeholders:
# 变量:
# %prefix% - 前缀
# %player% - 玩家
# %check_name% - 检查名字
# %description%
# %experimental%
# %description% - 检查的介绍
# %experimental% - 检查是否是实验性
# %vl% - VL值
# %verbose% - 检查中的额外信息,例如偏移量,并非所有检查都会添加信息
alerts-format: "%prefix% &f%player% &b触发了 &f%check_name%%experimental% &f(x&c%vl%&f) &7%verbose%"
Expand Down
16 changes: 8 additions & 8 deletions src/main/resources/punishments/zh.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# %check_name% - 检查名称
# %description% - description of the check
# %description% - 检查的介绍
# %vl% - 违规
# %verbose% - 额外信息
# %player% - 玩家名字
# [alert] - 警告的特殊命令
# [webhook] - 警告discord webhook 的特殊命令
# [proxy] - special command to alert to other servers connected to your proxy (BungeeCord/Velocity)
# [proxy] - 用于使用(BungeeCord/Velocity)服务器时的警报
Punishments:
Simulation:
# 多少秒后重置VL
remove-violations-after: 300
# This section will match all checks with the name,
# To exclude a check that would otherwise be matched, put an exclamation mark in front of the name
# For example, !BadPacketsN
# 这个部分将会匹配检查的名字
# 要关闭掉一个检查就在检查前面加感叹号
# 例如, !BadPacketsN
checks:
- "Simulation"
- "GroundSpoof"
- "Timer"
- "NoFall"
# Threshold:Interval Command
# 最大vl:下一次执行需要的vl
#
# 这是个例子, 当到达100VL时为了以 "incorrect movement!" 为理由踢出玩家
# commands:
# - "100:0 kick %player% incorrect movement!"
# 0 means execute exactly once
# 后面的数如果使用0就代表只执行一次
# - "100:50 say %player% is cheating"
# Execute when the user hits flag 100, and after that, every 50th flag after 100
# 在100vl后执行say %player% is cheating,之后的每50vl都执行一次say %player% is cheating
#
commands:
- "100:40 [alert]"
Expand Down

0 comments on commit c58ae74

Please sign in to comment.