Setting up a Minecraft server and configuring the Minecraft client shouldn’t be that hard, and it isn’t, but I couldn’t find comprehensive instructions in one place. Part of the problem may be that there are lots of options. Here is one way to do it with some notes and links to other possible options along the way.
This will be easier if you’re familiar with the command line and have used a cloud hosting service before, but hopefully possible to follow even if not.
TL;DR
- Create a t3a.large instance running Ubuntu 18.04
- Add inbound rules to the security group:
- TCP port 25565 from any address
- UDP port 19132-19133 from any address
- UDP port 25565 from any address
- ssh in to your server
apt-cache search openjdk
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
mkdir ~/minecraft
cd ~/minecraft
wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/3737db93722a9e39eeada7c27e7aca28b144ffa7/server.jar
- Start the server for the first time:
- I recommend starting the server with tmux, screen, in the background, etc. so that it keeps running even if you disconnect.
cd ~/minecraft
echo "eula=true" > eula.txt
java -Xmx2G -Xms2G -jar minecraft_server.jar nogui
- Check if it’s working at https://mcsrvstat.us/
- Type
stop
to stop the server
- Adding the Witchcraft and Wizardry mod:
- Edit the following lines in
~/minecraft/server.properties
:enable-query=true
allow-flight=true
enable-command-block=true
resource-pack=/home/ubuntu/minecraft/resources
- Copy the file at http://www.mediafire.com/file/liv31yxjsna3pfo/Witchcraft_and_Wizardry.zip/file to the home directory of your EC2 Instance
- Place those files with the commands:
cd ~
sudo apt install unzip
unzip Witchcraft_and_Wizardry.zip -d ./Witchcraft_and_Wizardry
mv Witchcraft_and_Wizardry/resources.zip minecraft/resources.zip
unzip minecraft/resources.zip -d minecraft/resources
rm -rf minecraft/world/*
cp -r Witchcraft_and_Wizardry/* minecraft/world/
- Now you can restart your minecraft server with
java -Xmx2G -Xms2G -jar minecraft_server.jar nogui
- Edit the following lines in
- To set up your client,
- Open the minecraft launcher
- Create a new install with version 1.13.2
- You need to put the unzipped
Witchcraft and Wizardry/resources
directory in your resourcepacks directory- You can find the directory by going to the menu and selecting Options… -> Resource Packs… -> Open Resource Pack Folder
- Once you’ve copied the unzipped resources folder, close and reopen the Resource Packs screen to refresh the options
- Click the new pack to move it to the right side, click Done, and go back to the game
- Now when you connect to the server the Witchcraft and Wizardry content should load properly!
Configuring Your Server
Setting up an AWS Instance
I’m going to use an Ubuntu server running on AWS. You could use a different OS and/or a different hosting service. There are instructions for other OSes here.
First, go to the AWS console (amazon account required), go to the EC2 section, and click to launch an instance.

I selected the Ubuntu Server 18.04 LTS server for x86 and a t3a.large instance type. The free tier, t2.micro, probably doesn’t have enough compute or RAM to run minecraft well. But the t3a.large only costs about 8 cents an hour and you can shut it off when you’re not using it.


Click “Review and Launch” and then on the next page “Launch” to accept the defaults. You’ll get a popup prompting you to create a key pair. This will let you ssh in to your instance once it’s launched. Create a new key pair, give it a name indicating that it’s for your minecraft server, and click “Download Key Pair”. Note where the .pem file gets downloaded. The location doesn’t matter but you’ll have to use the location later.

Then you can click “Launch Instances”. Once the progress screen finishes you can go back to the EC2 console to view your new instance. There’s also a button on the bottom right hand corner you can click to view your instances.
WARNING: You will be charged for any time your server is running. When you’re done with it, be sure to click Actions -> Instance State -> Stop. You can do the same thing and select Start to restart it later. If you select Terminate, the server will be gone forever and you’ll have to start over with a new one.

While we’re here, we’ll set the inbound network rules for our security group. Click on the launch-wizard-X link next to “Security groups”.

Now select the security group with the same name you clicked on, select the “Inbound rules” tab, and click the “Edit inbound rules” button.

Click “Add rule” to add three rules:
- Custom TCP port 25565 from any address
- Custom UDP port 19132-19133 from any address
- Custom UDP port 25565 from any address
You can restrict the addresses in the “Source” column, but then you need to know the IP addresses of any the players you intend to have join your server and will have to update these settings if your players’ IP addresses change.
Then click “Save Rules” to finish the inbound network settings.

Now go back to the EC2 console and note the public IP address of your server. You’ll need this both to ssh in to your server and to put in the Minecraft client to connect once your server is running.

Install Minecraft Server
If you haven’t used ssh before, it should be built in to Terminal on macOS and any flavor of Linux. If you’re on Windows, options include Windows Terminal and Git Bash.
Set the permissions on your .pem key with the command: chmod 400 /Users/parker/Downloads/minecraft-demo.pem
ssh into your server using the path to the .pem file and the IP address noted in the previous step, for example: ssh -i /path/to/key.pem ubuntu@3.90.140.166
If you get a questions about the authenticity of the host, just say yes.
Now that you’ve ssh’d in to your EC2 instance, run the following commands:apt-cache search openjdk
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
Now download and run the minecraft server. We’re going to use 1.13.2 because that’s what the Witchcraft and Wizardry mod works with.mkdir ~/minecraft
cd ~/minecraft
wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/3737db93722a9e39eeada7c27e7aca28b144ffa7/server.jar
I like to run in tmux so that the minecraft server doesn’t go down if I lose connection to the EC2 instance. You could also use any number of other methods, including screen and running in the background. I’ll show the commands for tmux:tmux
cd ~/minecraft
echo "eula=true" > eula.txt
java -Xmx2G -Xms2G -jar minecraft_server.jar nogui
You can change the -Xmx and -Xms values to something other than 2G to change the amount of memory available to the server.
If you get disconnected from your ssh session, once you reconnect you can tmux attach
to get back to the tmux session that was running previously.
Once the server has started up (it took maybe 15-30 seconds on this EC2 instance), you can check if it’s actually accessible at https://mcsrvstat.us/
Just put in your EC2 instance’s IP address to check. If it doesn’t connect, probably your minecraft server didn’t start up properly (check the output for errors) or your EC2 instance’s inbound network rules are not correct.
I got some warnings about the server not being able to keep up, but didn’t see any issues during gameplay.
Now that you’ve run the server once, type stop
to stop the server and we’re ready to install the Witchcraft and Wizardry mod.
You need to edit the server.properties
file. You can use any text editor, but Nano is a good one to start with if you haven’t used terminal-based editors before.nano server.properties
Change the following lines:enable-query=true
allow-flight=true
enable-coommand-block=true
resource-pack=/home/ubuntu/minecraft/resources
On your local computer:
Download the Witchcraft and Wizardry zip file from http://www.mediafire.com/file/liv31yxjsna3pfo/Witchcraft_and_Wizardry.zip/file
Open a new terminal and copy this zip file to your EC2 instance (You can’t (and are not allowed to) use programs to download from mediafire and I couldn’t find a url that would work with wget)
Rename the downloaded file to Witchcraft_and_Wizardry.zip
scp -i /path/to/key.pem /path/to/Witchcraft_and_Wizardry.zip ubuntu@<ip>:~/
Back on your EC2 instance ssh session:cd ~
sudo apt install unzip
unzip Witchcraft_and_Wizardry.zip -d ./Witchcraft_and_Wizardry
mv Witchcraft_and_Wizardry/resources.zip minecraft/resources.zip
unzip minecraft/resources.zip -d minecraft/resources
rm -rf minecraft/world/*
cp -r Witchcraft_and_Wizardry/* minecraft/world/
Now you can restart your server with cd ~/minecraft
java -Xmx2G -Xms2G -jar minecraft_server.jar nogui
Installing Client
Each player will have to install Minecraft and the Witchcraft and Wizardry mod on their own computers, then connect to the Minecraft server you just set up by using your EC2 instance’s IP address.
Remember, you’ll need Minecraft 1.13.2. To get this, download the latest Minecraft here.
Once Minecraft is installed, launch it and click “New…” to add a new minecraft version.

Now select version 1.13.2 and give it a name of your choice, then click “Create”

Go back to the install list and select your new installation. Click play, then select Multiplayer when the game starts up.

In the Multiplayer screen, choose “Direct Connect”.

Enter the IP address of your EC2 instance, then click “Join Server”. Note that this will change each time you stop and re-start the instance from the EC2 console.

After a few seconds, you should be connected to the server but are likely stuck on a black screen and unable to move. This is because we haven’t set up your local resources folder with the Witchcraft and Wizardry bundle yet. Press escape to bring up the game menu and then click “Options”.

Now click “Resource Packs…”

Click the “Open Resource Pack Folder” button to open a folder on your computer. You need to unzip the “Witchcraft and Wizardry.zip” file you downloaded earlier, then rename the “resource.zip” folder to “witchcraft-and-wizardry.zip” and copy that folder into the location opened by the “Open Resource Pack Folder” button.

Now click “Done” on the resource pack screen in Minecraft and click “Resource Packs…” to refresh the list of resource packs. The Witchcraft and Wizardry pack should now be on the left. Click on its icon to move it to the right to indicate you’d like to use it.

Now that the Witchcraft and Wizardry pack is on the right, click “Done” and exit out of the menus. Click “Back to Game” in the Game Menu screen.

Once you’re back in the game, you should see Hogwarts and “Press F to start” on the screen. Press “f” on your keyboard, then use the scroll wheel on your mouse to move over to “Multiplayer” and press F again to select it.
You’ll get walked through some menus and eventually get to a screen telling you how many players are connected. Once everyone is connected, press F again to start the game!