# 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.

- Платформа: Minecraft
- Каноническая страница: https://devtoolsgg.com/ru/minecraft/start-script
- Пишется в: Save next to your server jar

## Фреймворки

- Windows
- Linux
- systemd

## Опции

### Server

- `jar` Jar file name (обязательно). Exactly as it sits on disk: server.jar, paper-1.21.4-100.jar, fabric-server-launch.jar.
- `memory` Memory (MB) (обязательно). Used for both -Xms and -Xmx. Equal values stop the JVM resizing the heap while players are online.

### Behaviour

- `flags` JVM flags. 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.
- `restart` Restart when it stops. Loops the script so a crash brings the server back, with ten seconds to interrupt it.
- `gui` Show the server window. Off adds --nogui. The window costs memory and shows nothing the console does not.

### systemd

- `user` System user. The account the service runs as. Never root.
- `directory` Server directory. Absolute path holding the jar and the world.

## Как цитировать

Minecraft Server Start Script Generator, devtoolsgg.com. https://devtoolsgg.com/ru/minecraft/start-script
