Commit 91c6c3ed authored by mercury233's avatar mercury233

update config

parent 236cf33b
{ {
"port": 7911, "port": 7911,
"version": 4924,
"hostinfo": {
"lflist": 0,
"rule": 0,
"mode": 0,
"comment": "rule: 0=OCGONLY, 1=TCGONLY, 2=OT; mode: 0=SINGLE, 1=MATCH, 2=TAG",
"enable_priority": false,
"no_check_deck": false,
"no_shuffle_deck": false,
"start_lp": 8000,
"start_hand": 5,
"draw_count": 1,
"time_limit": 180
},
"modules": { "modules": {
"welcome": "YGOPRO Server", "welcome": "Mycard YGOPRO Server",
"update": "请更新游戏版本", "update": "请更新游戏版本",
"stop": false, "stop": false,
"tips": "http://mercury233.me/ygosrv233/tips.json", "tips": {
"dialogues": "http://mercury233.me/ygosrv233/dialogues.json", "enabled": true,
"enable_random_duel": false, "get": false
"enable_halfway_watch": true, },
"enable_cloud_replay": false, "dialogues": {
"enable_windbot": false, "enabled": true,
"enable_websocket_roomlist": false, "get": "http://mercury233.me/ygosrv233/dialogues.json"
"enable_public_roomlist": false, },
"redis_port": 6379, "random_duel": {
"windbot_port": 2399, "enabled": false,
"spawn_windbot": false, "hang_timeout": 90
"hang_timeout": 90, },
"default_version": 4924, "cloud_replay": {
"default_room_info": { "enabled": false,
"lflist": 0, "redis_port": 6379,
"rule": 0, "enable_halfway_watch": true
"mode": 0, },
"comment": "rule: 0=OCGONLY, 1=TCGONLY, 2=OT; mode: 0=SINGLE, 1=MATCH, 2=TAG", "windbot": {
"enable_priority": false, "enabled": false,
"no_check_deck": false, "botlist": "./windbot/bots.json",
"no_shuffle_deck": false, "spawn": false,
"start_lp": 8000, "port": 2399
"start_hand": 5,
"draw_count": 1,
"time_limit": 180
}, },
"mycard": { "mycard": {
"enabled": false, "enabled": false,
...@@ -87,6 +98,8 @@ ...@@ -87,6 +98,8 @@
"http": { "http": {
"port": 7922, "port": 7922,
"password": "123456", "password": "123456",
"websocket_roomlist": false,
"public_roomlist": false,
"ssl": { "ssl": {
"enabled": false, "enabled": false,
"port": 7923, "port": 7923,
...@@ -103,5 +116,17 @@ ...@@ -103,5 +116,17 @@
"badword_level2": ["死妈", "草你妈"], "badword_level2": ["死妈", "草你妈"],
"badword_level3": ["迷奸", "仿真枪"], "badword_level3": ["迷奸", "仿真枪"],
"illegal_id": ["^Lv.\\d+", "^VIP.\\d+"] "illegal_id": ["^Lv.\\d+", "^VIP.\\d+"]
},
"tip": [
"欢迎来到本服务器",
"本服务器使用萌卡代码搭建"
],
"dialogues": {
"46986414": [
"出来吧,我最强的仆人,黑魔导!"
],
"58481572": [
"我们来做朋友吧!"
]
} }
} }
\ No newline at end of file
...@@ -2,13 +2,15 @@ ...@@ -2,13 +2,15 @@
"port": 7911, "port": 7911,
"modules": { "modules": {
"welcome": "Mycard YGOPro Server", "welcome": "Mycard YGOPro Server",
"update": "请更新游戏版本,可在社区手动下载更新包", "update": "请更新游戏版本,可在社区(https://ygobbs.com)手动下载更新包",
"tips": "http://mycard.moe/tips.json", "tips": {
"dialogues": "http://mercury233.me/ygosrv233/dialogues.json", "enabled": true,
"enable_windbot": true, "get": "http://mycard.moe/tips.json"
"enable_websocket_roomlist": true, },
"windbot_port": 2399, "dialogues": {
"spawn_windbot": true, "enabled": true,
"get": "http://mercury233.me/ygosrv233/dialogues.json"
},
"mycard": { "mycard": {
"enabled": true, "enabled": true,
"auth_base_url": "https://ygobbs.com", "auth_base_url": "https://ygobbs.com",
...@@ -28,9 +30,16 @@ ...@@ -28,9 +30,16 @@
"post_score": "https://mycard.moe/ygopro/arena/index.php?c=update", "post_score": "https://mycard.moe/ygopro/arena/index.php?c=update",
"get_score": "https://mycard.moe/ygopro/arena/index.php?c=query&username=" "get_score": "https://mycard.moe/ygopro/arena/index.php?c=query&username="
}, },
"windbot": {
"enabled": true,
"botlist": "./windbot/bots.json",
"spawn": false,
"port": 2399
},
"http": { "http": {
"port": 7922, "port": 7922,
"password": "123456", "password": "123456",
"websocket_roomlist": true,
"ssl": { "ssl": {
"enabled": true, "enabled": true,
"port": 7923, "port": 7923,
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment