Vultr: Store Bedrock Minecraft Worlds on Decentralized Storage
Learn how to store Bedrock Minecraft worlds on decentralized storage.
Minecraft is an online sandbox virtual world video game. Users can host and maintain their own personal instances, or servers, of the virtual world and allow other players to join from around the world. Forge Minecraft refers to the classic version of Minecraft that does not include custom plugins or modifications, but offers cross-platform capabilities so players can join from different platforms such as Xbox, iOS, or Android operating systems.
Vultr is a cloud infrastructure deployment service that simplifies deploying cloud compute servers. Vultr offers a variety of pre-configured operating systems and software images for easy deployment. Vultr offers four Minecraft images, including PaperSpigot Minecraft.
Read below to learn how to store PaperSpigot Minecraft worlds on decentralized storage.
To do this, navigate to console.filebase.com. If you don’t have an account already, sign up, then log in.
Select ‘Create Bucket’ in the top right corner to create a new bucket.
Bucket names must be unique across all Filebase users, be between 3 and 63 characters long, and can contain only lowercase characters, numbers, and dashes.
When making this decision, consider the number of players you intend to have on your server and the size of the world they will create.
This server image is built using an Ubuntu 20.04 operating system.
When making this decision, again consider the player base size and world size. Typically, Minecraft servers use a large amount of RAM memory, so keep that in mind when estimating size.
This backup feature backs up the image to Vultr, and costs an additional hosting fee. We’ll configure automatic backups to Filebase, which offer increased reliability and geo-redundancy while being a fraction of the cost.
Take note of the server’s username and password.
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
To configure, use the following command:
When prompted with your Access Key ID and Secret Key, input your Filebase Access and Secret Keys.
This tutorial uses a working directory of
chmod +x backup.sh
Input the following content:
# Run the backup script
/home/backup.sh -c -i /home/minecraft/server/world -o /home/backups
# Script waits to assure that the backup script finishes:
# Te backup script puts the backup in a tar file using the current date and time that the backup was run.
# To upload the file to Filebase, we need to save the current date as a variable to reference
# Get the current date
# Upload the Backup for today to Filebase.
/usr/bin/aws --endpoint https://s3.filebase.com s3 cp $DATE*.tar.gz s3://filebase-ipfs/ --storage-class STANDARD_IA
filebase-ipfswith the name of your Filebase IPFS bucket.
Open your crontab with the following command:
0 8 * * * /home/minecraft_backup_job.sh
Replace the file path with the correct path for your configuration.
This cronjob is scheduled to run every day at 8:00AM on your server. Configure the cronjob values to reflect your desired configuration.
You’ve now secured your Minecraft server with routine, daily backups to decentralized storage!
If you have any questions, please join our Discord server, or send us an email at [email protected]