Skip to content

Commit 883993d

Browse files
committed
Update example config
1 parent 2b02970 commit 883993d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/main/resources/Languages/en-US/Replacers/Example.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# The settings of this replacer config.
1+
# This configuration file shows most of the options we have. You can have a check.
2+
# !!! If you directly modify the Replaces/Blocks entries of this configuration, it will not take effect !!!
3+
# Because we have limited the permissions and client locales required to take effect. Please go to line 72 to view them.
4+
5+
# The options of this replacer config.
26
Options:
37
# Whether this config is enabled or not. Plugin will not process this config
48
# if configured false. By default, it's false if undefined.
@@ -87,6 +91,7 @@ Options:
8791

8892
# List of replace strings.
8993
# Replace mode priority: Direct > Json > Common. This ignores priority in replacer configs.
94+
# Tip: You can use `/psr capture` command to capture the exact original strings fast.
9095
Replaces:
9196
# Common string replace mode.
9297
# Each entry in a common replace mode is split according to a different format in Json.

src/main/resources/Languages/zh-CN/Replacers/Example.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 本配置文件展示了大多数常用的设定选项, 供您了解.
2+
# !!! 如果您直接修改本配置的替换/屏蔽项, 它将不会生效 !!!
3+
# 因为我们限制了生效所需的权限、客户端语言. 请前往 70 行查看它们.
4+
15
# 此替换配置文件的相关设定.
26
Options:
37
# 是否开启本替换配置. 若为false则不会为这个文件处理. 若未定义, 默认为false.
@@ -89,6 +93,7 @@ Options:
8993

9094
# 替换的字符串列表.
9195
# 替换模式优先度: Direct > Json > Common, 忽略文件优先度.
96+
# 提示: 您可以使用 /psr capture 指令以快速抓取准确的原字符串.
9297
Replaces:
9398
# 常规文本替换模式.
9499
# 常规替换模式中的每个条目根据 Json 中的不同格式分割.
@@ -122,7 +127,7 @@ Replaces:
122127
Replacement: '§7* Rothes 正在聊天'
123128

124129
# 屏蔽的字符串列表. 如果一个数据包中的任何字符串被匹配,
125-
# 这个数据包将整个被屏蔽发送给玩家.
130+
# 这整个数据包将被屏蔽发送给玩家.
126131
# 此功能同样适用于控制台消息.
127132
Blocks:
128133
Common:

0 commit comments

Comments
 (0)