Skip to content

Commit 6c74d4c

Browse files
authored
Merge pull request #59 from JustOneSummer/master
以http服务支持minimap_renderer小地图渲染
2 parents d73daa4 + 51d686f commit 6c74d4c

File tree

5 files changed

+71
-2318
lines changed

5 files changed

+71
-2318
lines changed

.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ proxy = http://localhost:7890 #代理地址,如果上面选项开启,这
2626
ocr_on = true #是否开启ocr(识图指令)
2727
ocr_offline = false #是否只使用hash验证,即设置为true后只能识别服务器已记录的图片,如果群较多(>300)导致响应延迟较高可以开启
2828
ocr_url = http://ocr.benx1n.com:23338 #默认ocr地址,一般不用动
29+
minimap_renderer_on = false # 是否启用
30+
minimap_renderer_url = http://localhost:9876 # minimap_renderer地址
31+
minimap_renderer_user_name = yuyuko # 鉴权用户名 参考minimap_renderer的token.json文件
32+
minimap_renderer_password = yuyuko # 鉴权用户密码 参考minimap_renderer的token.json文件
2933
http2 = true #是否开启http2,默认开启,如果有问题请设置为false
3034
battle_listen_time = 1 #监控刷新时间,分钟级,如果性能或流量不够可以适当延长,推荐在5分钟以内

.env.prod-example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ proxy = http://localhost:7890 #代理地址,如果上面选项开启,这
2626
ocr_on = true #是否开启ocr(识图指令)
2727
ocr_offline = false #是否只使用hash验证,即设置为true后只能识别服务器已记录的图片,如果群较多(>300)导致响应延迟较高可以开启
2828
ocr_url = http://ocr.benx1n.com:23338 #默认ocr地址,一般不用动
29+
minimap_renderer_on = false # 是否启用
30+
minimap_renderer_url = http://localhost:9876 # minimap_renderer地址
31+
minimap_renderer_user_name = yuyuko # 鉴权用户名 参考minimap_renderer的token.json文件
32+
minimap_renderer_password = yuyuko # 鉴权用户密码 参考minimap_renderer的token.json文件
2933
http2 = true #是否开启http2,默认开启,如果有问题请设置为false
3034
battle_listen_time = 1 #监控刷新时间,分钟级,如果性能或流量不够可以适当延长,推荐在5分钟以内

0 commit comments

Comments
 (0)