How to set up your own local Minecraft Java server using AMP

AMP control panel with one Minecraft instance running

So, having given up my Shockbyte server earlier this month and moved our Minecraft world to a local single player instance, I have now created our own local Minecraft server using AMP (Application Management Panel) from CubeCoders.

Here’s how I did it…

What is AMP?

AMP (Application Management Panel) allows you to easily create game servers (such as Minecraft, CS:GO, Call of Duty 4, Ground Branch, etc.) on your local network.

AMP runs on both Windows and Linux. I am running it on Windows 11 as I have a Windows 11 laptop available.

Once installed, AMP gives you a user-friendly control panel to add new servers or configure existing ones. Setting up a new Minecraft server, for example, takes only a few clicks.

Once your Minecraft instance is set up, you can easily configure it, e.g. add operators via the console, change the server to Spigot or Forge, etc. to enable mods, change the amount of RAM used by the server (I have 32GB RAM available so I set my server to 8GB).

How much does AMP cost?

AMP requires a paid licence to run servers, although you can install it without a licence to see how it works.

The AMP Professional licence costs only £7.50 (approx. US$10 or €9.50). This allows you to run up to 5 AMP application instances (i.e. servers) at the same time, either all on the same machine or on different machines.

You can buy multiple AMP Professional licences to increase your capacity by 5 each time. The next tier up, AMP Network Edition allows for 50 instances for only £30 (US$40 or €36).

There is also an AMP Enterprise Edition for hosts and commercial resellers.

How to set up AMP and create a Minecraft server

1. Install the latest version of Java

If you are wanting to run a Minecraft Java server, you will first need the latest version of Java.

I didn’t check this and after the Minecraft server would not run, I discovered that I was running a very old version of Java (Java v8) rather than the latest, Java v20.

You can check which version of Java you have installed by opening a Command Prompt or Windows PowerShell and typing:

java -version

You will get a response something like:

java version "16.0.2" 2021-07-20
Java(TM) SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)

Download and install the latest version of Java.

2. Purchase a licence key

Buy a licence key for AMP.

I used PayPal and the licence key and receipt were emailed to me almost immediately. The licence key is in the format:

1ab23c45-12ab-1ab2-1a23-1a2b3c45d678

3. Download and install AMP

Next, download and install AMP.

You will need the licence key that was emailed to you.

This video gives a great overview of what you need to do.

4. Create a Minecraft server

The next step is to create your Minecraft instance.

  1. Click the Create Instance button.
  2. Select the server you want to install—in this case, Minecraft Java Edition.
  3. Click the Create Instance button.
  4. Wait for your Minecraft server to be created.

This video will walk you through the process.

5. Configure your Minecraft server

Finally, you can use the AMP control panel to easily configure the server. Use the search box (top right) to find the settings you want to change.

I updated the amount of RAM (search for ‘memory’) dedicated to the server. By default it installs with 1GB; I updated mine to 8GB.

You can also change the type of server from Official to Spigot, for example, if you want to install mods. Just search for ‘spigot’.

I also enabled ‘Use Whitelist’ and used the Console to give operator rights to myself and my children.

6. IP address, ports and port forwarding

On the Instances overview page, clicking the “Edit Ports” button will bring up a dialog that shows you the ports that your server is running on and on which protocols, e.g.

Port: 25565
Protocol: TCP+UDP

Note that different instances, e.g. different Minecraft servers will be assigned a different port, e.g. 25565, 25566, 25567, etc.

LAN games

If you want other machines on your LAN to connect to this server, you will need to know your local IP address. If you don’t already know it, open a Command Prompt and type:

ipconfig /all

From here, you will be able to find your IPv4 address, e.g. 192.168.1.45.

Coupled with your port number, you will be able to connect to the server by connecting to, in this example: 192.168.1.45:25565.

WAN games

Finally, if you want users to connect to it from outwith your LAN, you will need to set up port forwarding on your router. If you don’t know how to do that, just search online for your router model and ‘port forwarding’ and follow the instructions. You’ll need the port and protocol information from the “Edit Ports” dialog.

So, in this example we have a Minecraft server on port 25565 (TCP/UDP) you will need to create port forwarding rules with start and end values of 25565 (to forward only that one port) to the IP or name of the machine on your LAN where AMP is running, and you’ll need to tell it to use TCP/UDP protocol.

Repeat for all the servers you wish to share outwith the local network.

If you also want to enable trusted users to be able to connect to your AMP server control panel, then you will also need to forward port 8080 (TCP).

And if you want to enable other users to be able to connect to your SFTP server so they can upload new mods, etc. to the AMP server, you will also need to forward port 2223 (TCP).

External IP address

Now, you will need your external IP address to share with other users—that is the IP address of your router. You will likely find that in your router’s admin. Or you can use an external service like WhatIsMyIPAddress.

So, imagine your external IP address is 145.50.156.99. You will share that with the port number for your server, i.e. 145.50.156.99:25565.

DynamicDNS

Another option is to sign up for a free dynamic DNS service such as NoIP.

This gives you a custom URL from their pool of domain names, e.g. customURL.ddns.org or customURL.serveminecraft.net which you can give to your friends so they don’t need to remember your IP address.

The benefit of this is that if your router’s IP address changes, this service keeps in sync with the change so your custom URL always points to your local server.

Security

To improve security, make sure your have a whitelist of users on your server.

On your Minecraft instance, go to Gameplay and Difficulty settings and switch on “Use Whitelist”.

Check out this Minecraft wiki for how to use a whitelist.

Conclusion

Once I got round the issue of having the wrong version of Java, everything was plain sailing with setting up the Minecraft server with AMP.

Next up, I want to see if I can get our old Shockbyte world running on a new Minecraft instance, and then I’ll hand over the server to Joshua so he can mod it to his heart’s delight.

Published by

Gareth Saunders

I’m Gareth J M Saunders, 52 years old, 6′ 4″, father of 3 boys (including twins). Enneagram type FOUR and introvert (INFP), I am a non-stipendiary priest in the Scottish Episcopal Church, I sing with the NYCGB alumni choir, play guitar, play mahjong, write, draw and laugh… Scrum master at Safeguard Global; latterly at Sky and Vision/Cegedim. Former web architect and agile project manager at the University of St Andrews and previously warden at Agnes Blackadder Hall.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.