DEV Community

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

Collapse
 
zeekblitz profile image
zeek Blitz

Alright, I did everthing exactly as you described, but after the minecraft.service file runs, nothing happens. I checked the status logs and it continues to say that I need to change the EULA to true. I even used nano to check if it had been changed to true and it is in fact set to true. What I think is happening is the server.jar is being ran in another folder somewhere on the instance where I can't find and creating a new eula.txt. Do you have some insight?

Collapse
 
hsimah profile image
hsimah

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.

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

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

Thread Thread
 
hsimah profile image
hsimah

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.