Start Script Generator

Create a start.bat or start.sh for your server with the right memory settings, optional optimized garbage collection flags and an automatic restart loop.

How to use the Start Script Generator

  1. Enter your jar name and memory.
  2. Choose Windows or Linux and whether to use the optimized flags.
  3. Download the script into your server folder and run it.

Frequently asked questions

What are Aikar's flags?

A well-known set of Java garbage collection options that reduce lag spikes on Paper and Spigot servers. They help most with 4 GB of RAM or more.

How much RAM should I give?

Use the RAM calculator. Do not allocate all of the machine's memory, leave about 1 to 2 GB for the system.

Do I need to chmod the script on Linux?

Yes, run chmod +x start.sh once before running ./start.sh.

Related tools

Guides