You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.9 KiB
YAML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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"
GuardBuy:
Addr: [ "127.0.0.1:9093" ]
Topic: "guardBuy-dev"
ConsumerGroup: "guardBuyConsumerG-dev"
RewardPool:
Addr: [ "127.0.0.1:9093" ]
Topic: "rewardPool-dev"
ConsumerGroup: "rewardPoolConsumerG-dev"
Game:
ModeDict:
8722013: 0
Common:
# jc示例格式jc 阵营(r|b):(数字积分数)
# fp封盘?仅主播可用? TODO 暂时要不得,再想想
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: 220 # 步兵
2: 260 # 骑兵
3: 240 # 弓箭手
4: 220 # 法师
Zhghz:
Commands: [ "j", "加入", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "w", "我在哪", "m1", "m2", "m3", "m4", "f", "开炮" ]
Zhgfb:
Commands: [ ]
Zhgzd:
Commands: [ "j", "加入", "加入游戏", "w", "我在哪", "s", "s1", "s2", "s3", "s4", "c1", "c2", "c3", "c4", "r1", "r2", "r3", "r4", "p0", "p1", "p2", "p3", "p4", "p5" ]
CommandUnitDict:
1: "001"
2: "003"
3: "004"
4: "006"
CommandCostDict:
s:
Common: 1
Units:
"001": 2
"003": 3
"004": 3
"006": 2
c:
Common: 1
r:
Common: 1
p:
Common: 1
DispatchCountDict:
"001": 5
"003": 5
"004": 3
"006": 3
GiftEffect:
StrategicMaximal:
# 这个好诶 10电池 1元
GiftIds: [ 30758,30971,31213,31478]
Addon: 2
Limit: 5
StrategicRecover:
# 打call 5电池 0.5元
GiftIds: [ 31278,31037,31212,31485 ]
Addon: 1
Duration: 5
Limit: 10
SupportSkill:
# 辣条随机 免费
- GiftIds: [1]
SkillIds: ["S0001", "S0002", "S0003", "S0005"]
# 小花花 - 火墙 1电池 0.1元
- GiftIds: [31036, 31476]
SkillIds: ["S0001"]
# 牛哇牛哇 - 雷击 1电池 0.1元
- GiftIds: [31225, 31214, 31039, 31202, 31477]
SkillIds: ["S0003"]
# i了i了 - 箭雨 1电池 0.1元
- GiftIds: [ 31060, 31216 ]
SkillIds: [ "S0002" ]
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 # 压缩日志