ecs/conf/game_example.json
2025-07-18 10:45:29 +08:00

39 lines
883 B
JSON

{
"name": "game",
"appId": 1,
"logDir": "./logs",
"logLevel": "DEBUG",
"logConsole": true,
"serverConfig": {
"dataDir": "./data",
"areaConfig": {
"platform": 0,
"channel": 0,
"area": "测试",
"name": "测试1服"
}
},
"innerServer": {
"network": "tcp",
"bind": ":44001",
"address": "http://127.0.0.1:44001",
"detectable": true
},
"exterServer": {
"network": "tcp",
"bind": ":54001",
"address": "192.168.2.144:54001"
},
"mongoClient": {
"address": "mongodb://127.0.0.1:27017",
"database": "ecs_game_dev_1"
},
"sdConfig": {
"servers": [
"127.0.0.1:2181"
],
"timeout": 15000,
"rootPath": "/sk.org/server/ecs"
},
"httpRpcClient": {}
}