This repository contains my very own Minecraft Server Deployment Configuration.
- https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server
- https://minecraft.gamepedia.com/Tutorials
The startup is pretty simple:
-
Clone the repository
-
Navigate into the
control
directorycd ./control/
-
Bootstrap the server:
./control.sh -m bootstrap -t $HCLOUD_TOKEN
-
Navigate into the
ansible
directorycd ../ansible/
-
Copy
inventory/group_vars/minecraft_hosts/personal.yml.template
toinventory/group_vars/minecraft_hosts/personal.yml
and configure your settingscp inventory/group_vars/minecraft_hosts/personal.yml.template inventory/group_vars/minecraft_hosts/personal.yml
-
Export your cloud provider token if necessary.
-
Create a keypair if you are using git.
cd playbooks/files && ssh-keygen -t rsa -b 4096 -f minecraft-git-key && cd -
-
Start the server:
ansible-playbook -i inventory/hcloud.py playbooks/main.yml --tags full
-
Log in using your Minecraft client.
Minecraft is a trademark of Mojang Synergies AB, a subsidiary of Microsoft Studios. These tools are designed to ease the use of the Mojang produced Minecraft server software on Linux servers. The tools are independently developed by me with no support or implied warranty provided by either Mojang or Microsoft.
The server config was created in 2021 by Thorian93.