
Minecraft is a popular sandbox video game that allows players to build, explore, and survive in procedurally generated worlds. The Vultr Minecraft (Vanilla) Marketplace Application deploys a ready-to-use vanilla Minecraft Java Edition server on Ubuntu, including Java runtime, systemd-based service management, and screen session access for real-time console interaction.
This guide explains deploying and using Vultr's Minecraft (Vanilla) Marketplace Application. You will deploy a server, verify the installation, configure firewall security, customize server settings, manage players with whitelists and operators, optimize performance, set up backups, and troubleshoot common issues.
Log in to your Vultr Console and click the Deploy Server button.
Select your preferred server type.
Choose a server location.
Select a server plan based on expected player count:
Click the Configure button to proceed.
Under Marketplace Apps, search for Minecraft (Vanilla) and select it as the Marketplace Application.
Select the Limited Login option from the Additional Features section to create a limited user with sudo access.
Review your configurations and click the Deploy Now button to start deployment.
It may take up to 10 minutes for your server to finish installing Minecraft and Java.
After the instance shows the status of Running, navigate to the Server Overview page and copy the SSH connection details.
After deployment, verify the installation, configure a memorable server address, and secure your Minecraft server before allowing players to connect.
Create a DNS A record pointing to your server's IP address, such as mc.example.com. This provides a memorable address for players.
Connect to your Vultr server instance over SSH using the connection details from the Server Overview page.
Check the Minecraft service status.
The service should show as active (running).
Verify the Java installation.
Output:
Check the Minecraft server files.
You should see server files including server.jar, server.properties, world/, and other directories.
Secure your server by configuring the firewall to allow only necessary traffic. This is critical for preventing unauthorized access.
Allow SSH connections.
Allow Minecraft server traffic (default port 25565).
Enable the firewall.
Verify firewall status.
After configuring firewall security, connect to your server using the Minecraft Java Edition client.
Launch the Minecraft Java Edition game client.
Click Multiplayer.
Click Add Server or Direct Connect.
In the server address field, enter your server's IP or domain:
Or if you configured DNS:
Click Join Server to connect.
Customize your Minecraft server by editing the server.properties file to control game mode, difficulty, player limits, and other settings.
Stop the Minecraft server before making changes.
Edit the server configuration file.
Configure important settings:
Key settings explained:
survival, creative, adventure, or spectatorpeaceful, easy, normal, or hardtrue to require valid Minecraft accountstrue to enable whitelist-only accessSave and close the file.
Start the Minecraft server.
Control who can access your server and assign administrative privileges using whitelists and operators.
Edit the server properties to enable whitelist.
Save, close, and restart the server.
Add players via the server console (see "Access Server Console" section):
Whitelist settings are stored in /home/minecraft/whitelist.json.
Operators (OPs) have administrative privileges on the server.
Add a player as an operator (in server console):
Remove operator status:
Ban and pardon players:
Interact with the running Minecraft server in real-time using the screen session.
Attach to the screen session running Minecraft.
Run commands in the console:
To disconnect from the screen session without stopping the server, press Ctrl + A, then D.
Optimize your Minecraft server's performance by adjusting JVM memory allocation and garbage collection settings.
Edit the Minecraft startup script.
Update memory allocation based on your server's RAM (example for 4GB RAM server):
Key JVM flags:
For servers with different RAM, adjust -Xms and -Xmx proportionally. Save and close the file.
Restart the Minecraft server to apply changes.
Optimize view distance for better performance if needed.
Protect your Minecraft world data with regular backups to prevent data loss.
Stop the Minecraft server to ensure a consistent backup.
Create a compressed backup of the world data.
Start the server again.
Create a backup script.
Save and close the file.
Make the script executable.
Schedule daily backups with cron (3 AM daily).
Add:
Stop the server, back up current data, extract the backup, and restart.
The Minecraft server runs as a systemd service for automatic startup and management.
Check service status.
Start, stop, or restart the server.
Enable or disable automatic startup on boot.
View service logs.
Implement these recommendations to ensure your Minecraft server runs securely and efficiently.
Use whitelist mode for private servers.
Enable online mode to prevent cracked clients.
Disable unnecessary features.
Keep the system and Java updated.
Monitor disk space usage.
Clean up old log files periodically.
Monitor server performance with htop.
Set a custom server icon by placing a 64x64 pixel PNG file named server-icon.png in /home/minecraft/. The icon will appear in the client's multiplayer server list after a restart.
This section covers common issues and diagnostic commands.
Verify the Minecraft service is running.
View recent server logs.
Verify the firewall allows port 25565.
Check if the server is listening on the correct port.
Ensure server-ip is empty in server.properties.
Check available memory and increase JVM heap size if needed.
Reduce view distance to improve performance.
Review crash reports.
Check for port conflicts.
Verify file permissions.
Review service logs for errors.
The Vultr Minecraft (Vanilla) Marketplace application provides a reliable platform for various Minecraft server scenarios:
In this guide, you deployed Vultr's Minecraft (Vanilla) Marketplace Application and configured it for production use. You secured the server with firewall rules, customized game settings, implemented player management with whitelists and operators, optimized performance with JVM tuning, set up automated backups, and learned troubleshooting procedures. With this production-ready Minecraft server, you can host reliable multiplayer worlds for your community with proper security, performance, and management capabilities.
0 Comments
Be the first to comment and share your perspective with the community.