{"id":24701303,"url":"https://github.com/mjanders6/minecraft-installer","last_synced_at":"2025-08-04T12:36:36.425Z","repository":{"id":236861755,"uuid":"793301145","full_name":"mjanders6/Minecraft-Installer","owner":"mjanders6","description":"Light python script to create a Java Edition Minecraft Server ","archived":false,"fork":false,"pushed_at":"2025-03-30T06:27:18.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T07:24:27.857Z","etag":null,"topics":["home-lab","minecraft","minecraft-java-edition","minecraft-server","python-script","ubuntu-server"],"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/mjanders6.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-29T00:26:40.000Z","updated_at":"2025-03-30T06:27:21.000Z","dependencies_parsed_at":"2024-05-02T02:27:30.118Z","dependency_job_id":"979eb000-0ee1-41eb-9375-08588c92dee2","html_url":"https://github.com/mjanders6/Minecraft-Installer","commit_stats":null,"previous_names":["mjanders6/minecraft-installer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjanders6/Minecraft-Installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanders6%2FMinecraft-Installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanders6%2FMinecraft-Installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanders6%2FMinecraft-Installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanders6%2FMinecraft-Installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjanders6","download_url":"https://codeload.github.com/mjanders6/Minecraft-Installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanders6%2FMinecraft-Installer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268696936,"owners_count":24292386,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["home-lab","minecraft","minecraft-java-edition","minecraft-server","python-script","ubuntu-server"],"created_at":"2025-01-27T05:07:14.497Z","updated_at":"2025-08-04T12:36:36.409Z","avatar_url":"https://github.com/mjanders6.png","language":"Python","readme":"# Minecraft-Installer\nLight python script to create a Java Edition Minecraft Server \n\nI have been using [How to Make Minecraft Server on Ubuntu 20.04](https://linuxize.com/post/how-to-make-minecraft-server-on-ubuntu-20-04/#configuring-backups) to make a solid Minecraft server. This also works for Ubuntu 22.04. I am essentially breaking up this instructions into a python script to automate the process. I will then test it out in an Ubuntu 22.04 VM to ensure it works properly. \n\nI initially crated bash scripts to automate the process. This can be found in [Minecraft-Installer---Bash-Scripts](https://github.com/mjanders6/Minecraft-Installer---Bash-Scripts.git). \n\n# Minecraft Jar files: \nGet the server link at: [Java Edition server](https://www.minecraft.net/en-us/download/server)\n- [1.20.5](https://piston-data.mojang.com/v1/objects/79493072f65e17243fd36a699c9a96b4381feb91/server.jar)\n- [1.20.6](https://piston-data.mojang.com/v1/objects/145ff0858209bcfc164859ba735d4199aafa1eea/server.jar)\n- [1.21.0](https://piston-data.mojang.com/v1/objects/450698d1863ab5180c25d7c804ef0fe6369dd1ba/server.jar)\n- [1.21.1](https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar)\n- [1.21.3](https://piston-data.mojang.com/v1/objects/45810d238246d90e811d896f87b14695b7fb6839/server.jar)\n- [1.21.4](https://piston-data.mojang.com/v1/objects/4707d00eb834b446575d89a61a11b5d548d8c001/server.jar)\n- [1.21.5](https://piston-data.mojang.com/v1/objects/e6ec2f64e6080b9b5d9b471b291c33cc7f509733/server.jar)\n\n# Dependencies\n## To be Installed during installation \n- git\n- build-essentials\n- openjdk-21(or latest version)\n- mcrcon repository: `https://github.com/Tiiffi/mcrcon.git`\n- Optional: UFW Firewall to set firewall rules\n\n## Required prior to running the script \n- Ensure `sed` is installed\n- Inquirer and subprocess for the python script\n\n# Running the Python Script\n1. Run the script with \n\t- `sudo python3 mc-installer.py`\n2. Enter the password for mcrcon when prompted\n3. Paste in the link to the Minecraft Jar file.\n4. When installation is complete, run the following to verify that everything worked:\n\t- `sudo systemctl status minecraft`\n\n# Un-install Minecraft\n1. Run the script with \n\t- `sudo python3 mc-installer.py`\n\t- Select `Uninstall`\n\t- Enter the name of the minecraft server. If the default was left during installation, leave the default name during this process.\n\n# Accessing the console\n1. `/opt/minecraft/tools/mcrcon/mcrcon -H 127.0.0.1 -P 25575 -p 'strong-password' -t`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjanders6%2Fminecraft-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjanders6%2Fminecraft-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjanders6%2Fminecraft-installer/lists"}