Server Launcher
The [launcher]
table lets mcman create launch scripts for you while running the build command.
Default values aren't written back to config - except for aikars_flags
, proxy_flags
and eula_args
which are always written.
Example ServerLauncher
[launcher]
disable = false # (1)
# (2)
jvm_args = "-exampleidk"
game_args = "--world abc"
aikars_flags = true # (3)
proxy_flags = false # (4)
eula_args = true # (5)
nogui = true # (6)
memory = "2048M" # (7)
# (8)
[launcher.properties]
hello="thing"
- Disables generating launch scripts completely.
false
by default - If needed, you can add custom arguments here. The format is
java [jvm_args] -jar server.jar [game_args]
- Use aikar's flags - these do optimizations, see flags.sh for more info
- Like aikar's, but for proxies (bungeecord, waterfall, velocity)
- Adds
-Dcom.mojang.eula.agree=true
- this flag exists in spigot/paper to ignoreeula.txt
. Writes toeula.txt
when on fabric or quilt - Adds
--nogui
to game args, disable if its a proxy server as they dont support it - Specify
-Xmx
/-Xms
(memory) for the server. - A table of properties. This is the same as using
Fields:
Name | Type | Description |
---|---|---|
disable |
bool | Disables script generation altogether |
nogui |
bool | Adds --nogui at the end |
aikars_flags |
bool | Use aikars flags flags.sh |
proxy_flags |
bool | Use proxy flags flags.sh |
jvm_args |
string | Custom jvm args (before -jar serv.jar ) |
game_args |
string | Custom game args (after -jar serv.jar ) |
memory |
string | How much memory to give (-Xmx /-Xms ), example: "2048M" |
properties |
table | sets -D -prefixed system property jvm args |