How to use/create start.sh on Pterodactyl

Do you need to have your server startup with ./start.sh? The following guide should assist you 

First create a `start.sh` file in the index. On our Web File Manager, you should see that you are in the /home/container directory, or if you are connecting using the external SFTP server you would be in the / directory.

Add the following default startup line, which is.

java -Xms128M -Xmx[server memory in megabits. Ex. 1GB would be 1024]M -jar server.jar

If you want to use a different file name that contains your server jar. Change server.jar on the line above to [New File Name].jar

Next, you must set the start.sh to 744. You must use the external SFTP to change this one value.

 

Lastly, you must request one of our System Administrator to change the Startup Command to /home/container/start.sh In the meantime, you should be capable of completing the beginning steps while you wait for us to switch out the startup command.

---

Commonly Faced Issues:

/entrypoint.sh: line 15: /home/container/start.sh: Permission denied You forgot to allow start.sh execute permission. Make sure the file has 744 access.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to setup Votifier on your Bungeecord network

This tutorial is for a Bungeecord Network, please consider this tutorial to set it up on a spigot...

How to setup Votifier on your Spigot server

This tutorial is for a spigot server, please consider this tutorial if you need to set it up on a...

How to link your Bungeecord and Spigot servers

In this tutorial, I will be going over how you can link your Bungeecord server and other Spigot...

Status of Minecraft Server Deployment

We no longer sell Minecraft servers at this time. If you somehow manage to still order one,...

Powered by WHMCompleteSolution