DEV Community

Discussion on: How To Run A Modded Minecraft Server on AWS

hsimah profile image

Hey! I came across the same issue. What I did:

  • ssh into your ec2
  • remove eula.txt
  • run minecraft server (not forge) using a command similar to this: java -Xmx1G -Xms1G -jar minecraft_server.1.12.2.jar nogui
  • this will close but will have generated you a new eula.txt
  • alter eula.txt to be true
  • start the forge server

Disclaimer - not sure how I am going to combine this command into the user data script, but at least it gets the server up and running. I'll try again tomorrow after work and see what I can find as to why this is necessary.

andrewbrown profile image
Andrew Brown 🇨🇦

I should really just shoot end-to-end videos on this stuff.

Thread Thread
hsimah profile image

I thought it was a great video. I've mostly used Azure for cloud services so it was a great help navigating through the AWS stuff.