{"id":24319771,"url":"https://github.com/isomorpheme/mcserverstart","last_synced_at":"2025-03-10T20:42:10.143Z","repository":{"id":17737391,"uuid":"20577019","full_name":"isomorpheme/mcserverstart","owner":"isomorpheme","description":"A small server \u0026 client combo for starting Minecraft servers remotely","archived":false,"fork":false,"pushed_at":"2014-06-06T20:29:50.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T15:50:47.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isomorpheme.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-06T20:22:57.000Z","updated_at":"2014-11-03T22:51:26.000Z","dependencies_parsed_at":"2022-07-26T19:17:00.799Z","dependency_job_id":null,"html_url":"https://github.com/isomorpheme/mcserverstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isomorpheme%2Fmcserverstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isomorpheme%2Fmcserverstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isomorpheme%2Fmcserverstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isomorpheme%2Fmcserverstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isomorpheme","download_url":"https://codeload.github.com/isomorpheme/mcserverstart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242926225,"owners_count":20207754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-17T15:39:27.552Z","updated_at":"2025-03-10T20:42:10.106Z","avatar_url":"https://github.com/isomorpheme.png","language":"Python","readme":"#Introduction\nThis is a small set of python scripts meant for starting any Minecraft server remotely, as long as its .jar or startup script is runnable. It simply uses standard TCP sockets with python's `socket` and `socketserver` modules. The client and server communicate using a set of standard messages. The client asks the user if they want to start the configured server. It then sends a start request, and if the MC server is not running, the Python server will start it. If the server is already running, the client can shut down, or alternatively, send a restart request.\n\n# Messages\n##Client requests\n * `MCSERV_ON` - Turn the Minecraft server on.\n * `MCSERV_RS` - Restart an already running server. Not yet implemented\n\n##Server responses\n * `MCSERV_00` - Empty message. Means the server didn't do anything whatsoever.\n * `MCSERV_OK` - (Re)start succesful. As far as the server knows, starting the server went fine.\n * `MCSERV_AR` - The server is already running. The client may send a restart request after this (not yet implemented successfully)\n * `MCSERV_??` - Generic error (should actually be called unknown command). The server didn't understand the client's request.\n * `MCSERV_ER` - Server error. There was a serverside error.\n\n#Things to add\n * Restart function. Having problems with that, because `Popen.kill()` doesn't really seem to do anything to the server...\n * Maybe turn it into a complete server wrapper? Who knows...\n * New world command","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisomorpheme%2Fmcserverstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisomorpheme%2Fmcserverstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisomorpheme%2Fmcserverstart/lists"}