feat: add JSON support for serverPort and hostPort

This commit is contained in:
2025-12-28 16:56:37 +08:00
parent 19698996cd
commit e366d47790
4 changed files with 9 additions and 6 deletions

View File

@@ -19,7 +19,8 @@
},
"network": {
"server_ip": "127.0.0.1",
"port": 12345,
"server_port": 12345,
"host_port": 12345,
"max_players": 2
}
}