devtoolsgg.com
Guides
GuidesFiveMFiveMGarry's ModMinecraftShared
MinecraftBeta

Server setup

  • Download
  • Start script

Text and chat

  • Color codes
  • Book generator
  • Skin downloader

Reference lists

  • Formatting codes
devtoolsgg.com

Generators for game server owners

Platforms

  • FiveM
  • Garry's Mod
  • Minecraft
  • Shared

Resources

  • Home
  • llms.txt

Social

  • Coming soon.

© 2026 devtoolsgg.com

Not affiliated with, endorsed by or associated with Cfx.re, Rockstar Games, Facepunch Studios, Mojang, Microsoft or Valve. All trademarks belong to their respective owners.

  1. Minecraft
  2. Server setup
  3. Start script

Minecraft Server Start Script Generator

The launch script for a Minecraft server on Windows, Linux or systemd: memory, JVM flags, auto restart and the eula file, for vanilla, Paper, Purpur, Fabric or Forge alike.

required

Exactly as it sits on disk: server.jar, paper-1.21.4-100.jar, fabric-server-launch.jar.

required

Used for both -Xms and -Xmx. Equal values stop the JVM resizing the heap while players are online.

optional
recommended

PaperMC's own advice is to try no flags first on a modern JVM, and reach for Aikar's only if the server is stuttering.

optional

Loops the script so a crash brings the server back, with ten seconds to interrupt it.

optional

Off adds --nogui. The window costs memory and shows nothing the console does not.

Save next to your server jar
1REM Generated with devtoolsgg.com2@echo off3title Minecraft Server45java -Xms4096M -Xmx4096M -jar "server.jar" --nogui67pause8
batch8 lines, 126 characters

Related tools

Download