As of late 2019, it was the second best-selling video game of all time. Originally released in 2009, it allows players to build, explore, craft, and survive in a block 3D generated world. Minecraft is a popular sandbox video game.
The keys should be the full ASCII armoured GPG public keys. List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). Space separated list of extra deb packages to install. mcstatus (Gets server status) (Apache 2.0)Īllow generation of the nether, true or false.Minecraft developers for a great game! Upstream Project Name
Nathan Adams at Mojang for the mcstatus code. juju attach-resource server-jar="server.jar" Contact & Attribution Simply attach a new server-jar with juju which will restart the server with the new version. # ctrl-a d (Gets you out) Upgrading the server You can attach to this at any time to operate the server. The charm sets up a 'screen' session named 'minecraft' as the user minecraft. ConfigurationĪll configuration changes triggers a server restart.Įxample, set gamemode and server-port like this: juju config minecraft-server gamemode='creative' server-port=12345 Operating the server If you enable the query-port with juju config, you can query the server with mcstatus. The server runs default on port 25565 in survival mode. juju attach-resource minecraft-server server-jar=minecraft_server.1.14.jar
You can attach a server-jar after deploy also with juju attach-resource if you like to upgrade later for example. Juju deploy cs:~erik-lonroth/minecraft-server -constraints "mem=2G cores=2" -resource server-jar=minecraft_server.1.14.jar Start by downloading the official server jar.ĭeploy with the server jar as a juju resource: The server needs about 2GB ram and 2 cpus to be happy (might need more).
You have to download the server jar first, which you attach as a resource. This charm deploys a stand alone minecraft server for you.