Commit 9cb4a4e4 authored by nanahira's avatar nanahira

remove

parent c86bf92b
{
"file": "./config/admin_user.json",
"permission_examples": {
"sudo": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"clear_duel_log": true,
"deck_dashboard_read": true,
"deck_dashboard_write": true,
"shout": true,
"stop": true,
"change_settings": true,
"ban_user": true,
"kick_user": true,
"start_death": true,
"pre_dashboard": true,
"update_dashboard": true,
"vip": true
},
"judge": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"deck_dashboard_read": true,
"deck_dashboard_write": true,
"shout": true,
"kick_user": true,
"start_death": true
},
"streamer": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"deck_dashboard_read": true
}
},
"users": {
"root": {
"password": "Nanahira",
"enabled": true,
"permissions": "sudo"
}
}
}
{
"file": "./config/config.json",
"port": 7210,
"version": 4930,
"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": {
"welcome": "YGOPro Koishi Server",
"update": "请更新游戏版本",
"stop": false,
"side_timeout": 3,
"tag_duel_surrender": true,
"replay_delay": true,
"i18n": {
"auto_pick": true,
"default": "zh-cn",
"fallback": "en-us",
"map": {
"CN": "zh-cn",
"HK": "zh-cn",
"MO": "zh-cn",
"TW": "zh-cn",
"JP": "ja-jp",
"AR": "es-es",
"BO": "es-es",
"CL": "es-es",
"CO": "es-es",
"CR": "es-es",
"CU": "es-es",
"EC": "es-es",
"SV": "es-es",
"ES": "es-es",
"GT": "es-es",
"GQ": "es-es",
"HN": "es-es",
"MX": "es-es",
"NI": "es-es",
"PA": "es-es",
"PY": "es-es",
"PE": "es-es",
"DO": "es-es",
"UY": "es-es",
"VE": "es-es",
"KR": "ko-kr"
}
},
"tips": {
"enabled": true,
"get": "https://purerosefallen.github.io/ygopro-tips/tips.json"
},
"dialogues": {
"enabled": true,
"get_custom": "http://purerosefallen.github.io/ygopro-tips/dialogues-222.json",
"get": "http://mercury233.me/ygosrv233/dialogues.json"
},
"words": {
"enabled": false,
"get": false
},
"vip": {
"enabled": false,
"generate_count": 500
},
"pre_release_compat": {
"enabled": false,
"official_database": "./ygopro/cards.cdb",
"pre_release_database": "./../ygopro-pre-data/expansions/pre-release.cdb"
},
"random_duel": {
"enabled": true,
"no_rematch_check": false,
"hang_timeout": 90
},
"cloud_replay": {
"enabled": true,
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"enable_halfway_watch": true
},
"windbot": {
"enabled": true,
"botlist": "./windbot/bots.json",
"spawn": false,
"port": 2399,
"server_ip": "127.0.0.1",
"my_ip": "127.0.0.1"
},
"chat_color": {
"enabled": true
},
"retry_handle": {
"enabled": true,
"max_retry_count": false
},
"reconnect": {
"enabled": true,
"auto_surrender_after_disconnect": false,
"allow_kick_reconnect": true,
"wait_time": 180000
},
"heartbeat_detection": {
"enabled": false,
"interval": 20000,
"wait_time": 10000
},
"mycard": {
"enabled": false,
"auth_base_url": "https://ygobbs.com",
"auth_database": "postgres://233@233.mycard.moe/233",
"auth_key": "233333"
},
"challonge": {
"enabled": false,
"post_detailed_score": true,
"api_key": "123",
"tournament_id": "456"
},
"deck_log": {
"enabled": true,
"accesskey": "233",
"local": "./decks_save/",
"post": false,
"arena": "233"
},
"big_brother": {
"enabled": false,
"accesskey": "233",
"post": "https://api.mycard.moe/ygopro/big-brother"
},
"arena_mode": {
"enabled": false,
"mode": "entertain",
"comment": "mode: athletic / entertain",
"accesskey": "233",
"post_score": false,
"get_score": false
},
"tournament_mode": {
"enabled": false,
"deck_check": true,
"deck_path": "./decks/",
"replay_safe": true,
"replay_path": "./replays/",
"replay_archive_tool": "7z",
"block_replay_to_player": true,
"show_ip": true,
"show_info": true,
"log_save_path": "./config/",
"port": 7212
},
"test_mode": {
"watch_public_hand": false,
"no_connect_count_limit": false,
"no_ban_player": false
},
"pre_util": {
"enabled": false,
"port": 7944,
"git_html_path": "../mercury233.github.io/",
"html_path": "../mercury233.github.io/ygosrv233/",
"html_filename": "pre.html",
"git_db_path": "../ygopro-pre-data/",
"db_path": "../ygopro-pre-data/unofficial/",
"html_img_rel_path": "pre/pics/",
"html_img_thumbnail": "thumbnail/",
"html_img_thumbnail_suffix": "!thumb",
"cdn": {
"enabled": false,
"exe": "upx",
"params": [
"sync"
],
"local": "./ygosrv233",
"remote": "/ygosrv233",
"pics_remote": "/ygopro/"
},
"ygopro_path": "../ygopro-pre/",
"only_show_dbs": {
"news.cdb": true,
"pre-release.cdb": true
},
"html_gits": [
{
"name": "GitHub",
"push": [
"push",
"origin"
]
},
{
"name": "Coding",
"push": [
"push",
"coding",
"master:master"
]
}
]
},
"webhook": {
"enabled": true,
"port": 7213,
"password": "Nanahira",
"hooks": {
"windbot": {
"path": "./windbot/",
"remote": "origin",
"branch": "master",
"forced": true,
"callback": {
"command": "xbuild",
"args": [
"/property:Configuration=Release",
"/property:TargetFrameworkVersion=v4.5"
],
"path": "./windbot/"
}
},
"ygopro": {
"path": "./ygopro/",
"remote": "origin",
"branch": "server",
"forced": true,
"callback": {
"command": "bash",
"args": [
"-c",
"cd ocgcore ; git pull origin master ; git reset --hard FETCH_HEAD ; cd ../script ; git pull origin master ; git reset --hard FETCH_HEAD ; cd .. ; ~/premake5 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
},
"srvpro": {
"path": ".",
"remote": "origin",
"branch": "master",
"forced": true,
"callback": {
"command": "npm",
"args": [
"install"
],
"path": "."
}
}
}
},
"update_util": {
"enabled": false,
"port": 7955,
"git_html_path": "../ygo233-web/",
"html_path": "../ygo233-web/",
"cdb_path": "./ygopro/cards.cdb",
"script_path": "./ygopro/script",
"changelog_filename": "changelog.json",
"html_gits": [
{
"name": "GitHub",
"push": [
"push",
"origin"
]
},
{
"name": "Coding",
"push": [
"push",
"coding",
"master:master"
]
}
]
},
"http": {
"port": 7211,
"websocket_roomlist": false,
"public_roomlist": false,
"show_ip": true,
"show_info": true,
"quick_death_rule": 1,
"ssl": {
"enabled": false,
"port": 7923,
"cert": "ssl/fullchain.pem",
"key": "ssl/privkey.pem"
}
}
},
"ban": {
"banned_user": [],
"banned_ip": [],
"illegal_id": [
"^Lv\\.-*\\d+\\s*(.*)",
"^VIP\\.\\d+\\s*(.*)"
],
"spam_word": [
"——"
]
}
}
{
"dbfile": "ygopro/cards.cdb",
"deckpath": "decks_save"
}
{
"file": "./config/admin_user.json",
"permission_examples": {
"sudo": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"clear_duel_log": true,
"deck_dashboard_read": true,
"deck_dashboard_write": true,
"shout": true,
"stop": true,
"change_settings": true,
"ban_user": true,
"kick_user": true,
"start_death": true,
"pre_dashboard": true,
"update_dashboard": true,
"vip": true
},
"judge": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"deck_dashboard_read": true,
"deck_dashboard_write": true,
"shout": true,
"kick_user": true,
"start_death": true
},
"streamer": {
"get_rooms": true,
"duel_log": true,
"download_replay": true,
"deck_dashboard_read": true
}
},
"users": {
"root": {
"password": "Nanahira",
"enabled": true,
"permissions": "sudo"
},
"judge": {
"password": "Clala",
"enabled": true,
"permissions": "judge"
},
"streamer": {
"password": "Aris",
"enabled": true,
"permissions": "streamer"
}
}
}
{
"file": "./config/config.json",
"port": 514,
"version": 4930,
"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": {
"welcome": "YGOPro Tourney",
"update": "请更新游戏版本",
"stop": false,
"side_timeout": 3,
"tag_duel_surrender": true,
"replay_delay": true,
"i18n": {
"auto_pick": true,
"default": "zh-cn",
"fallback": "en-us",
"map": {
"CN": "zh-cn",
"HK": "zh-cn",
"MO": "zh-cn",
"TW": "zh-cn",
"JP": "ja-jp",
"AR": "es-es",
"BO": "es-es",
"CL": "es-es",
"CO": "es-es",
"CR": "es-es",
"CU": "es-es",
"EC": "es-es",
"SV": "es-es",
"ES": "es-es",
"GT": "es-es",
"GQ": "es-es",
"HN": "es-es",
"MX": "es-es",
"NI": "es-es",
"PA": "es-es",
"PY": "es-es",
"PE": "es-es",
"DO": "es-es",
"UY": "es-es",
"VE": "es-es",
"KR": "ko-kr"
}
},
"tips": {
"enabled": true,
"get": "https://purerosefallen.github.io/ygopro-tips/tips.json"
},
"dialogues": {
"enabled": true,
"get_custom": "http://purerosefallen.github.io/ygopro-tips/dialogues-222.json",
"get": "http://mercury233.me/ygosrv233/dialogues.json"
},
"words": {
"enabled": false,
"get": false
},
"koishi_roomlist": {
"enabled": false
},
"vip": {
"enabled": false,
"generate_count": 500
},
"pre_release_compat": {
"enabled": false,
"official_database": "./ygopro/cards.cdb",
"pre_release_database": "./../ygopro-pre-data/expansions/pre-release.cdb"
},
"random_duel": {
"enabled": false,
"no_rematch_check": false,
"hang_timeout": 90
},
"cloud_replay": {
"enabled": true,
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"enable_halfway_watch": true
},
"windbot": {
"enabled": false,
"botlist": "./windbot/bots.json",
"spawn": false,
"port": 2399,
"server_ip": "127.0.0.1",
"my_ip": "127.0.0.1"
},
"chat_color": {
"enabled": false
},
"retry_handle": {
"enabled": true,
"max_retry_count": false
},
"reconnect": {
"enabled": true,
"auto_surrender_after_disconnect": false,
"allow_kick_reconnect": true,
"wait_time": 300000
},
"heartbeat_detection": {
"enabled": false,
"interval": 30000,
"wait_time": 15000
},
"mycard": {
"enabled": false,
"auth_base_url": "https://ygobbs.com",
"auth_database": "postgres://233@233.mycard.moe/233",
"auth_key": "233333"
},
"challonge": {
"enabled": false,
"post_detailed_score": true,
"post_score_midduel": true,
"cache_ttl": 60000,
"api_key": "11",
"tournament_id": "22",
"use_custom_module": false
},
"deck_log": {
"enabled": false,
"accesskey": "233",
"local": "./decks_save/",
"post": false,
"arena": "233"
},
"big_brother": {
"enabled": false,
"accesskey": "233",
"post": "https://api.mycard.moe/ygopro/big-brother"
},
"arena_mode": {
"enabled": false,
"mode": "entertain",
"comment": "mode: athletic / entertain",
"accesskey": "233",
"post_score": false,
"get_score": false
},
"tournament_mode": {
"enabled": true,
"deck_check": true,
"deck_path": "./decks/",
"replay_safe": true,
"replay_path": "./replays/",
"replay_archive_tool": "7z",
"block_replay_to_player": false,
"show_ip": true,
"show_info": true,
"log_save_path": "./config/",
"port": 5142
},
"test_mode": {
"watch_public_hand": false,
"no_connect_count_limit": true,
"no_ban_player": true
},
"pre_util": {
"enabled": false,
"port": 7944,
"git_html_path": "../mercury233.github.io/",
"html_path": "../mercury233.github.io/ygosrv233/",
"html_filename": "pre.html",
"git_db_path": "../ygopro-pre-data/",
"db_path": "../ygopro-pre-data/unofficial/",
"html_img_rel_path": "pre/pics/",
"html_img_thumbnail": "thumbnail/",
"html_img_thumbnail_suffix": "!thumb",
"cdn": {
"enabled": false,
"exe": "upx",
"params": [
"sync"
],
"local": "./ygosrv233",
"remote": "/ygosrv233",
"pics_remote": "/ygopro/"
},
"ygopro_path": "../ygopro-pre/",
"only_show_dbs": {
"news.cdb": true,
"pre-release.cdb": true
},
"html_gits": [
{
"name": "GitHub",
"push": [
"push",
"origin"
]
},
{
"name": "Coding",
"push": [
"push",
"coding",
"master:master"
]
}
]
},
"webhook": {
"enabled": true,
"port": 7213,
"password": "Nanahira",
"hooks": {
"windbot": {
"path": "./windbot/",
"remote": "origin",
"branch": "master",
"callback": {
"command": "xbuild",
"args": [
"/property:Configuration=Release",
"/property:TargetFrameworkVersion=v4.5"
],
"path": "./windbot/"
}
},
"ygopro": {
"path": "./ygopro/",
"remote": "origin",
"branch": "server",
"callback": {
"command": "bash",
"args": [
"-c",
"git reset --hard FETCH_HEAD ; cd ocgcore ; git pull origin master ; git reset --hard FETCH_HEAD ; cd ../script ; git pull origin master ; git reset --hard FETCH_HEAD ; cd .. ; premake5 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
},
"srvpro": {
"path": ".",
"remote": "origin",
"branch": "master",
"callback": {
"command": "npm",
"args": [
"install"
],
"path": "."
}
}
}
},
"update_util": {
"enabled": false,
"port": 7955,
"git_html_path": "../ygo233-web/",
"html_path": "../ygo233-web/",
"cdb_path": "./ygopro/cards.cdb",
"script_path": "./ygopro/script",
"changelog_filename": "changelog.json",
"html_gits": [
{
"name": "GitHub",
"push": [
"push",
"origin"
]
},
{
"name": "Coding",
"push": [
"push",
"coding",
"master:master"
]
}
]
},
"http": {
"port": 5141,
"websocket_roomlist": false,
"public_roomlist": false,
"show_ip": true,
"show_info": true,
"quick_death_rule": 2,
"ssl": {
"enabled": false,
"port": 7923,
"cert": "ssl/fullchain.pem",
"key": "ssl/privkey.pem"
}
}
},
"ban": {
"banned_user": [],
"banned_ip": [],
"illegal_id": [
"^Lv\\.-*\\d+\\s*(.*)",
"^VIP\\.\\d+\\s*(.*)"
],
"spam_word": [
"——"
]
}
}
{
"dbfile": "ygopro/cards.cdb",
"deckpath": "decks_save"
}
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