Alanaktion / MCHostPanel

A lightweight Minecraft server control panel for hosting services
MIT License
117 stars 59 forks source link

Nothing happens which start button is clicked. #55

Open wylieza opened 4 years ago

wylieza commented 4 years ago

I've got all the dependencies installed (Apache, PHP, Screen, Java). The home directory and the data directories are chowned by www-data.

The server.jar is selected and then the start button is clicked, but the server does not launch. No screen sessions seem to be created (even though S-www-data is chowned by www-data).

The only thing that does happen is a server.properties file is created when the start server button is pressed.

I'm probable missing something silly, just not sure how to debug the issue.

blwond commented 3 years ago

same. ¿have u fixed it?

nojux-official commented 3 years ago

I managed to solve this problem by changing line in data/config.php:

Change this line: define('KT_SCREEN_CMD_START','/usr/bin/screen -dmS %s /usr/bin/java -Xincgc -Xms%sM -Xmx%sM -jar craftbukkit.jar nogui'); to define('KT_SCREEN_CMD_START','/usr/bin/screen -dmS %s /usr/bin/java -Xmx%sM -jar craftbukkit.jar nogui');

PIN0L33KZ commented 2 years ago

THANKS!! I've Searching for this so long, you're my hero! :)