forked from mirror/MCSManager
删除 - 配置文件默认编码
This commit is contained in:
parent
ae1f64013d
commit
ca9be584a5
@ -18,20 +18,6 @@
|
||||
* 绝大部分设置,需要重启面板生效!!
|
||||
*/
|
||||
|
||||
|
||||
/* --------------- 功能代码区,请勿修改 ---------------*/
|
||||
//控制台默认编码代码
|
||||
const os = require("os");
|
||||
let auto_console_coding;
|
||||
if (os.platform() == "win32")
|
||||
auto_console_coding = 'GBK';
|
||||
else
|
||||
auto_console_coding = 'UTF-8';
|
||||
/* --------------- 功能代码区,请勿修改 ---------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
/*--------------- 配置开始,这与 Minecraft 服务器配置基本一样 --------------- */
|
||||
|
||||
//HTTP 服务监听端口
|
||||
@ -67,11 +53,6 @@ MCSERVER.localProperty.ftp_end_port = 20200;
|
||||
MCSERVER.localProperty.console_send_times = 1200;
|
||||
|
||||
|
||||
//控制台默认编码,默认自动选择,你可以去除变量 auto_console_coding 自己写,如 "UFT-8" 或 "GBXXXX"
|
||||
//如果控制台中文乱码,你可以尝试更改此选项
|
||||
MCSERVER.localProperty.console_encode = auto_console_coding;
|
||||
|
||||
|
||||
//是否开启 gzip 静态文件压缩,但是如果你使用反向代理或某 HTTP 服务自带的gzip,请关闭它
|
||||
MCSERVER.localProperty.is_gzip = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user