Initial commit
This commit is contained in:
16
hamster-ball-server/src/main/resources/config.yml
Normal file
16
hamster-ball-server/src/main/resources/config.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
# 绑定网卡地址
|
||||
host: "0.0.0.0"
|
||||
# 绑定端口
|
||||
port: 58888
|
||||
|
||||
# 线程池数量
|
||||
# 建议设置为全服最大玩家数 / 20
|
||||
# 不建议低于 5
|
||||
nio-thread: 10
|
||||
|
||||
# 是否启用IP 白名单
|
||||
enable-accept-list: true
|
||||
|
||||
# 允许连接至服务的 ip 名单
|
||||
accept-list:
|
||||
- "127.0.0.1"
|
Reference in New Issue
Block a user