{"id":22783851,"url":"https://github.com/greg-kennedy/minecraft-server","last_synced_at":"2025-03-30T15:16:55.049Z","repository":{"id":86779637,"uuid":"98660193","full_name":"greg-kennedy/minecraft-server","owner":"greg-kennedy","description":"Scripts to help stand up a vanilla Minecraft server","archived":false,"fork":false,"pushed_at":"2017-07-28T15:28:14.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T16:47:51.760Z","etag":null,"topics":["minecraft","minecraft-server","systemd","systemd-service","systemd-unit"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greg-kennedy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-07-28T14:58:14.000Z","updated_at":"2020-08-01T03:20:30.000Z","dependencies_parsed_at":"2023-07-12T07:31:04.746Z","dependency_job_id":null,"html_url":"https://github.com/greg-kennedy/minecraft-server","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/greg-kennedy%2Fminecraft-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-kennedy%2Fminecraft-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-kennedy%2Fminecraft-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-kennedy%2Fminecraft-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greg-kennedy","download_url":"https://codeload.github.com/greg-kennedy/minecraft-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246334455,"owners_count":20760646,"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":["minecraft","minecraft-server","systemd","systemd-service","systemd-unit"],"created_at":"2024-12-11T22:09:37.353Z","updated_at":"2025-03-30T15:16:55.042Z","avatar_url":"https://github.com/greg-kennedy.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minecraft-server\nGreg Kennedy \u003ckennedy.greg@gmail.com\u003e\n\nA collection of scripts to help stand up a vanilla Minecraft server\n\n## Description\nThis repository is a collection of tools to help start and manage a vanilla Minecraft server.\n\n## Installation\n* Start from an existing Ubuntu installation\n* Become root (`sudo su`)\n* Install Dependencies\n  * Install `openjdk8` and `perl` from apt\n  * Create a user \"minecraft\" and group \"minecraft\", no password, home directory `/home/minecraft` and login shell `/bin/false`\n* Install server, server wrapper and announce script\n  * `cd /home/minecraft`\n  * Get the latest Minecraft server jar and put that in this folder\n  * Place `announce.pl` and `minecraft-server.sh` in here\n  * `chown -R minecraft:minecraft .` from within /home/minecraft\n* Install systemd unit files\n  * `cd /etc/systemd/system`\n  * Place `minecraft-server.service` and `minecraft-announce.service` here\n  * `systemctl enable minecraft-server.service`\n  * `systemctl enable minecraft-announce.service`\n * Reboot, or just start the services\n\n## Usage\nTo change the server name that appears in LAN clients, edit `announce.pl` and change the value for $server_name\n\nWhen the server is running, you can interact with it by writing data to the named pipe.  By default, this is at `/tmp/minecraft-stdin` (edit `minecraft-server.sh` to change these locations).  For example,\n\n    echo \"say hi\" \u003e /tmp/minecraft-stdin\n\nwill print \"[Server] hi\" to all connected players.  You can also monitor server status by reading `/tmp/minecraft-stdout`.\n\nConnecting these files to a web UI is left as an exercise to the reader.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-kennedy%2Fminecraft-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreg-kennedy%2Fminecraft-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-kennedy%2Fminecraft-server/lists"}