Hi, guys I figure it out. This EULA’s fault, because there are two places contain:
- the folder that I configure the server.
- the default folder in terminal.
If I start the server directly, the server will use the folder that I made for server. However, when I was using the command ‘_java -jar /Users/guanzd/Desktop/189server/forge-1.8.9-11.15.1.1902-1.8.9-universal.jar _’ It make the server using the default folder.
So guys if you want to use shell script to start your server. Please do make sure that you are in the correct folder.
Here is my script after modifying:
cd /Users/g******/****op/189server
java -Xmx1024M -Xms1024M -jar forge-1.8.9-11.15.1.1902-1.8.9-universal.jar
Finally, thank you soooo much for your help!
BTW: I am using OSX. If you get the same error, please do not hesitate.