xImAnton / mcweb

a web-remote minecraft server wrapper with some unique features
GNU General Public License v3.0
1 stars 0 forks source link

Dynamic Server Management #12

Open xImAnton opened 3 years ago

xImAnton commented 3 years ago

When server not online, run lightweight Query Server on Server Port When player tries to connect, start real minecraft server and display "Server Starting" disconnect message. When no player is online, stop server after specified amount of time. Addition to Server Object would be:

{
    "port": 25565,
    "dsm": {
        "enableDSN": true,
        "stopAfter": 120,
        "onlyPermitted": false,
        "permittedPlayers": [
            "67de1a18a8dd4015a4b346a58ef77feb"
        ]
    }
}

when onlyPermitted is true, only permittedPlayers are able to stop the server

xImAnton commented 3 years ago

basic minecraft query server running. disconnects players on connect, stops itself and triggers event. adding authentication for checking player name soon. difficulties with encryption

xImAnton commented 3 years ago

encryption and verification done. need to implement endpoints, automatic starting and Webinterface ui