ecs/conf/game_example.json

39 lines
883 B
JSON
Raw Permalink Normal View History

2025-06-04 18:17:39 +08:00
{
"name": "game",
"appId": 1,
"logDir": "./logs",
"logLevel": "DEBUG",
"logConsole": true,
"serverConfig": {
2025-07-16 10:05:22 +08:00
"dataDir": "./data",
"areaConfig": {
"platform": 0,
"channel": 0,
"area": "测试",
"name": "测试1服"
}
2025-06-04 18:17:39 +08:00
},
"innerServer": {
"network": "tcp",
2025-07-16 10:05:22 +08:00
"bind": ":44001",
"address": "http://127.0.0.1:44001",
2025-06-04 18:17:39 +08:00
"detectable": true
},
"exterServer": {
"network": "tcp",
2025-07-16 10:05:22 +08:00
"bind": ":54001",
"address": "192.168.2.144:54001"
2025-06-04 18:17:39 +08:00
},
"mongoClient": {
"address": "mongodb://127.0.0.1:27017",
2025-07-18 10:45:29 +08:00
"database": "ecs_game_dev_1"
2025-06-04 18:17:39 +08:00
},
2025-07-16 10:05:22 +08:00
"sdConfig": {
2025-06-04 18:17:39 +08:00
"servers": [
"127.0.0.1:2181"
],
"timeout": 15000,
"rootPath": "/sk.org/server/ecs"
},
2025-07-16 10:05:22 +08:00
"httpRpcClient": {}
2025-06-04 18:17:39 +08:00
}