Minecraft server ran on verison 1.17.1 with "Core Protect" and "Player Warps" plugins, as well as "Copper Tools" and "Jumpstart" data packs, capable of being ran locally, dockerized, or through an AWS EC2 instance.
- run "cd server-data"
- run "java -Xms1G -Xmx1G -jar paper-1.17.1-411.jar nogui" to start server
- Open docker desktop to confirm it is running
- run "cd legacyserver"
- run "docker-compose up" to build your server
- Use Ctrl + C in terminal
- Then use "docker-compose down"
- Create a t2.large EC2 instance using Amazon Linux 2 AMI
- Create a security group with the following specifications:
- SSH with port number 22 with source as anywhere
- Custom TCP with port number 25565 (minecraft specific) with source as anywhere
- Create a new key pair to access EC2 instance
- Select instance and connect to it using actions tab
- Choose EC2 instance connect, and connect
- run "sudo yum update -y" to update instance
- run "sudo yum install java-17.0 -y" to install java
- "wget https://launcher.mojang.com/v1/objects/c8f83c5655308435b3dcf03c06d9fe8740a77469/server.jar" (minecraft file installation)
- "java -Xmx1024M -Xms1024M -jar server.jar nogui" to run minecraft server
- "nano eula.txt" and change eula=false to eula=true