Minecraft is one of the most popular online sandbox games ever created. With more than 170 million monthly active players, there is a lot to explore, design, and create in this 3D virtual world.
Package | Version | License |
---|---|---|
Minecraft: Java Edition Server | 1.20.1 | Minecraft End User License Agreement |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Minecraft: Java Edition Server 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Minecraft: Java Edition Server Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-minecraftjavaedi-18-04"}' \
"https://api.digitalocean.com/v2/droplets"
It is recommended to use 4GB RAM and 2 Cores Premium Intel Droplet size for the best experience.
NOTE: After Minecraft Droplet was created it will start world generation which can take ~5 minutes depending on the Droplet size. If you are getting Timed out
errors - make sure to give your server a minute.
After a few minutes passed after droplet creation, you can access your server and play with your friends:
There are many reasons to have admin privileges, especially if you are sharing your Minecraft server publicly, next steps will show how to promote a player to an admin:
Login into your droplet via cloud console or SSH:
$ ssh <your Minecraft Droplet IP>
Switch to a minecraft
user:
$ su - minecraft -s /bin/bash
Now, use screen
to run a command on a Minecraft server terminal:
$ screen -p 0 -S minecraft -X eval 'stuff "op <user nickname>"\\015'
Make sure to change &amp;amp;lt;user nickname&amp;amp;gt;
to a username that needs to become an admin.
Done! Now &amp;amp;lt;user nickname
can use admin commands on the server itself.
/opt/minecraft
.Minecraft is a trademark of Mojang Synergies AB and Microsoft Corporation, and we refer to the name for referential purposes only and not to indicate any sponsorship, endorsement or affiliation between these companies and DigitalOcean. We offer this one-click app for your convenience, but you are solely responsible for creating, using, and maintaining your server in accordance with all applicable terms and conditions. More information about setting up your server and applicable terms can be found here: https://www.minecraft.net/en-us/download/server.