Skip to content

Commit

Permalink
docs: 更新配置文件和 README 中关于服务器编码部分
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Oct 22, 2020
1 parent 5edcab9 commit f4e6b0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Flags:
--ui.rttvheight int 历史查看模式下实时文本区域高度 (default 10)
-H, --mud.host IP/Domain 服务器 IP/Domain (default "mud.pkuxkx.net")
-P, --mud.port Port 服务器 Port (default 8080)
--mud.encoding Encoding 服务器输出文本的 Encoding (default "UTF-8")
--mud.encodings Encodings 服务器的 Encodings,允许指定多个,用逗号分隔 (default "UTF-8,GB18030,GBK,GB2312")
--lua.enable 是否加载 Lua 机器人 (default true)
-p, --lua.path path Lua 插件路径 path (default "lua")
```
Expand All @@ -178,7 +178,7 @@ UI:
MUD:
Host: mud.pkuxkx.net
Port: 8080
Encoding: UTF-8
Encodings: UTF-8,GB18030,GBK,GB2312
Lua:
Enable: true
Path: lua
Expand All @@ -198,7 +198,7 @@ Lua:
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080,
"Encoding": "UTF-8"
"Encodings": "UTF-8,GB18030,GBK,GB2312"
},
"Lua": {
"Enable": true,
Expand Down
2 changes: 1 addition & 1 deletion config-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080,
"Encoding": "UTF-8"
"Encodings": "UTF-8,GB18030,GBK,GB2312"
},
"Lua": {
"Enable": true,
Expand Down
2 changes: 1 addition & 1 deletion config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ UI:
MUD:
Host: mud.pkuxkx.net
Port: 8080
Encoding: UTF-8
Encodings: UTF-8,GB18030,GBK,GB2312
Lua:
Enable: true
Path: lua

0 comments on commit f4e6b0f

Please sign in to comment.