Language
TR EN
Currency
Script generator

Minecraft start script

Choose the memory and platform, then copy or download the file that starts your server.

A tool for our customers

This tool is available to members with the customer role on the Light Hosting Discord server. Sign in with your Discord account; only your username and profile picture are read.

Sign in with Discord

Not on our Discord server yet? Join the server.

About this tool

What does the start file do?

A Minecraft server is launched with a command like java -Xms1G -Xmx4G -jar server.jar nogui. The start file holds that command and decides what happens when the server stops, so you can bring it up with a double click or a single line. -Xms is the initial and -Xmx the maximum heap size.

How much memory should you set?

Do not give the whole machine to the game. Leave room for the operating system, plugins and file cache; otherwise the process is killed when the system runs out of memory and the server drops without warning. Measuring your real usage and raising the value gradually is safer than starting high.

Common problems

The file will not run on Linux: give the .sh file execute permission. The server starts then stops: usually the EULA was not accepted, or the jar name is wrong. The jar never starts: use the Java version your server version expects; newer jars will not start on older Java.

What does the start script do?

It generates a start script from your memory allocation, Java command, server JAR filename and operating system. It does not provide Minecraft server files or install Java.

  1. Match the JAR filename to the file on your server.
  2. Choose the output for your operating system and leave memory available for the system.
  3. Use the downloaded file in your server folder and check the console output on the first start.

The guide is public. Running the tool requires Discord sign-in and the Light Hosting customer role.

Minecraft memory planning guide · Compare Minecraft server plans