gekware / minecraft-server-hibernation-pterodactyl-egg

egg for gekware/minecraft-server-hibernation
https://github.com/gekware/minecraft-server-hibernation
MIT License
36 stars 8 forks source link

Server is not starting cant find why #16

Closed 410-ghost closed 4 months ago

410-ghost commented 5 months ago

Hello im running on the paper version and i have 2 problems

  1. "msh-config.json" is empty by default can you add "{}" so it'll stop crashing
  2. can you add an eula.txt file and put it on true by default or just create an eula.txt file ?

thank you for the project !

410-ghost commented 5 months ago

also now the server is not detecting when a player is trying to join image image image

BolverBlitz commented 5 months ago

"msh-config.json" is empty by default can you add "{}" so it'll stop crashing

Its not empty by default. The install script is downloading a fresh prefilled file.

if [ ! -f msh-config.json ]; then
    echo -e "Downloading MSH msh-config.json"
    curl -o msh-config.json https://gist.githubusercontent.com/BolverBlitz/fa895e8062fcab7dd7a54d768843a261/raw/7224a0694a985ba1bff0b4fe9b44f2c79e9b495e/msh-config.json
fi

can you add an eula.txt file and put it on true by default or just create an eula.txt file ?

We cant set it to true by default. But its generated automaticly when you run msh the first time (assuming your msh-config is correct) because it checks if the file exists and if not, it starts minecraft to generate it.

About the images: Fix the startup command in msh-config file, and it will start.

410-ghost commented 5 months ago

Okeyy I'll try once I get home for the install script

For the eula thing I want to start a free hosting kinda thing so it'll be easier if it's true by default is it that hard to change it ?

BolverBlitz commented 5 months ago

The egg supports the EULA Popup when you first run the server, if you use a loglevel where you can see the minecraft servers logs.

Its not hard to autoaccept the eula, but its not supposted to be. its the ENDUSER Lizenz, so the user should accept it. If not, then whatever the user does, becomes your problem.

410-ghost commented 5 months ago

ok understood and where can i change the default startup command while creating a server i cant find it

BolverBlitz commented 5 months ago

Its created by pterodactyl. Egg Config: grafik

410-ghost commented 4 months ago

ty