Name: usercenter.rpc ListenOn: 127.0.0.1:40001 Timeout: 5000 Mode: dev Etcd: Hosts: - 127.0.0.1:2379 Key: usercenter.rpc.dev Timeout: 5000 # default is 2000 NonBlock: true Log: Mode: console KeepDays: 7 Level: info DB: DataSource: root:root@tcp(127.0.0.1:3306)/dmgame?charset=utf8mb4&loc=Asia%2FShanghai&parseTime=true Kafka: UserCoinNotify: Addr: [ "127.0.0.1:9093" ] Topic: "notify-user-coin-dev" RankUpdate: Addr: [ "127.0.0.1:9093" ] Topic: "rank-update-dev" RewardPool: Addr: [ "127.0.0.1:9093" ] Topic: "rewardPool-dev" UserRetriever: Enabled: false UpdateDuration: 720 # 720 hours = 30 Day = 1 Month NobilityPlatforms: [ "bilibili" ] # 需要获取贵族的平台列表 Cron: PlatformUser: "0 0/5 * * * ?" # 每隔5分钟执行一次 Nobility: "0 0/10 * * * ?" # 每隔10分钟执行一次 Bilibili: RoomId: 6925399 # Mid: 6704420 RoomShortInfoApi: https://api.live.bilibili.com/room/v1/Room/room_init TopListApi: https://api.live.bilibili.com/guard/topList Rank: Enabled: true Cron: Update: "@every 10s" # 10s一次 Persistence: "@every 10m" # 10min一次 GiftCollector: Enabled: false Platforms: [ "bilibili" ] Cron: CollectGift: "0 0 0/6 * * ?" # 每隔6小时执行一次 Coin: # 签到配置 CheckIn: # 签到 一周 0(周日) 1 2 3 4 5 6 Points: [ 60,10,15,20,25,30,50 ] Critical: 0.08 # 签到暴击率 CriticalRadio: [ 1.2, 1.3, 1.5 ] # 暴击倍率 # RMB到弹币的转换 RMBToCoin: 10 # 平台礼物到RMB的转换 GiftToRMB: bilibili: 0.001 # 平台免费礼物到弹币的转换 FreeToCoin: bilibili: 0.01 # 价值1毛 Elite: LiveDict: { "1": "1001", "2": "1002" } Default: Id: 0 Sort: 1 Items: - Id: 1001 PriceDay: 100 PriceForever: 10000 - Id: 1002 PriceDay: 100 PriceForever: 10000 Title: LiveDict: { "1": "3" } Items: - Id: 99999 Name: 无上意志 Type: custom - Id: 1 Name: 祁池帝姬 Type: custom - Id: 2 Name: 废物舰长 Type: custom - Id: 3 Name: 无用之人 Type: default PriceDay: 50 PriceForever: 100000 - Id: 1000 Name: 三军统帅 # 名将榜首 Type: rank RankType: 3 - Id: 1001 Name: 人屠 # 小兵击杀榜首 Type: rank RankType: 5 - Id: 1002 Name: 破营 # 拆迁榜首 Type: rank RankType: 7 - Id: 1003 Name: 不败 # 常胜榜首 Type: rank RankType: 9 - Id: 1004 Name: 勇冠三军 # 一血榜首 Type: rank RankType: 11 - Id: 1005 Name: 求放过 # 被一血榜首 Type: rank RankType: 12 GiftPackMap: - PackType: starter PackName: 新手礼包 Condition: UserLimit: 1 UserResetType: unset StartTime: "2022-05-21 09:00:00" EndTime: "2022-05-21 09:00:00" Content: Coin: 50 - PackType: subsistence PackName: 低保 Condition: UserLimit: 3 UserResetType: daily StartTime: "2022-05-21 09:00:00" EndTime: "2022-05-21 09:00:00" Content: Coins: [ 10, 15, 20 ]