Minecraft Server Manager written in Python for Minecraft servers running on linux accesible by SSH.
-
Install the requirements as stated in
requirements.txt. -
Use PyInstaller with the command in
PyInstaller_One_Folder.batwhereABSOLUTE_PATH_TO_YOUR_END_RESULT_FOLDERis the absolute path to your folder where the end result will show up. -
Run the resulting .exe once and edit the
settings.jsonbefore proceeding.remote_diris the remote directory of the Minecraft serverworld_nameis the name of the world folders, for example putting intest worldwould be used astest world,test world_netherandtest world_the_endserver_jar_compiler_commandis the cmd command for generating the server jarserver_jar_diris the directory where the server jar is stored after compilingserver_jaris the name of the server jar after compiling without the file extension_target_hostis the SSH address of the minecraft server_proxy_hostis the proxy address for the SSH server if used, leave empty if not_proxy_portsame as_proxy_hostbut the port_client_certand_client_keyif the proxy uses certificates, put the file locations here._known_hostsis the known_hosts file generated by SSH containing the key_private_keyis the file location of the private SSH key
-
You should now be able to start it up and use it.
Example settings.json
{
"remote_dir": "/home/remote_user/Minecraft",
"world_name": "world",
"server_jar_compiler_command": "/home/local_user/compile.sh",
"server_jar_dir": "/home/local_user",
"server_jar": "server",
"_target_host": "ssh.example.com",
"_proxy_host": "",
"_proxy_port": ,
"_client_cert": "",
"_client_key": "",
"_known_hosts": "known_hosts",
"_private_key": "ssh_key"
}Note: If you wish to change some buttons, feel free to edit these in the MC_Main.py file.