|
|
|
Server:
|
|
|
|
Debug: false
|
|
|
|
Listen: 0.0.0.0:11111
|
|
|
|
UserCenterRpc:
|
|
|
|
Etcd:
|
|
|
|
Hosts:
|
|
|
|
- 127.0.0.1:2379
|
|
|
|
Key: usercenter.rpc.dev
|
|
|
|
Kafka:
|
|
|
|
Danmaku:
|
|
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
|
|
Topic: "danmaku-dev"
|
|
|
|
ConsumerGroup: "msgToPush-dev"
|
|
|
|
Gift:
|
|
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
|
|
Topic: "gift-dev"
|
|
|
|
ConsumerGroup: "giftToPush-dev"
|
|
|
|
Game:
|
|
|
|
Common:
|
|
|
|
Commands: [ "q", "查询", "打卡", "签到" ]
|
|
|
|
Zhg:
|
|
|
|
Commands: [ "j", "加入", "加入游戏", "s", "w", "我在哪", "s1", "s2", "s3", "s4", "c1", "c2", "c3", "c4", "r1", "r2", "r3", "m1", "m2", "m3" ]
|
|
|
|
OutbreakCount: 5
|
|
|
|
OutbreakBaseCost: 200
|
|
|
|
OutbreakCostDict:
|
|
|
|
1: 100 # 步兵
|
|
|
|
2: 120 # 骑兵
|
|
|
|
3: 200 # 弓箭手
|
|
|
|
4: 180 # 法师
|
|
|
|
Zhghz:
|
|
|
|
Commands: [ "j", "加入", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "w", "我在哪", "m1", "m2", "m3", "m4", "f", "开炮" ]
|
|
|
|
Zhgfb:
|
|
|
|
Commands: [ ]
|
|
|
|
Log:
|
|
|
|
Console:
|
|
|
|
Level: debug
|
|
|
|
Format: console
|
|
|
|
File:
|
|
|
|
Enabled: false
|
|
|
|
Level: info
|
|
|
|
Format: json
|
|
|
|
Path: ./logs
|
|
|
|
Filename: dcg.log
|
|
|
|
FileMaxSize: 8 # 10mb
|
|
|
|
FileMaxBackups: 30 #
|
|
|
|
MaxAge: 7 # 保留7天
|
|
|
|
Compress: true # 压缩日志
|