Back to blog
MinecraftTutorialVPS

How to Host a Minecraft Server on Your Own VPS

· 8 min · By M.A.F Cloud Team

Why Host on Your Own VPS?

Most paid Minecraft hosting plans cost RM 15-60/month for a single server. If you already have a VPS from DigitalOcean, Hetzner, or Contabo, you're already paying for the hardware — M.A.F Cloud lets you use it.

Step 1: Sign Up and Create a Node

1. Go to mafcloud.my.id and create a free account

2. In the dashboard, click 'Add Node' and give it a name (e.g. 'do-sgp1')

3. Copy the one-line install command generated for your node

Step 2: Run the Install Command

SSH into your VPS and paste the command as root:

curl -fsSL https://cexi.my.id/agent-install.sh | sudo MAFCLOUD_TOKEN=mn_your_token MAFCLOUD_API=https://cexi.my.id bash

This installs Docker, Node.js, and the M.A.F Cloud agent — automatically. No manual configuration needed.

Step 3: Deploy Your Server

Once the agent connects (takes ~30 seconds), you'll see your node as 'Connected' in the dashboard. Click 'Create Server', choose:

**Type**: Paper, Fabric, Forge, or Vanilla

**Version**: 1.21.4, 1.20.1, etc.

**Memory**: 1024 MB (adjust based on your VPS)

Step 4: Configure and Play

Your server starts automatically. Use the live console to watch startup logs, the file manager to edit server.properties, and invite friends using your VPS IP.

Tips

**Auto-restart**: Turn on the crash policy — your server recovers automatically

**Backups**: Snapshot your server data on demand or on a schedule from the Backups tab

**Custom domains**: On the Studio plan, point your own domain at your server

Try M.A.F Cloud free

Deploy your first server in about 30 seconds.

Start free