The Startup page allows you to configure how your server starts, including Java arguments, memory allocation, and game-specific launch parameters.

Understanding Startup Variables

1

View Current Variables

Navigate to the Startup tab to see all configured variables
2

Common Variables

SERVER_JARFILE
string
default:"server.jar"
The server executable file name
VANILLA_VERSION
string
default:"latest"
Minecraft version to use (for vanilla servers)
STARTUP
string
required
Complete startup command with all arguments
MEMORY_LIMIT
number
default:"1024"
Maximum memory allocation in MB
3

Modify Variables

Click on any variable field to edit its value
Changes to startup variables require a server restart to take effect

Memory Configuration

1

Determine Memory Needs

Calculate memory requirements based on:

Player Count

  • 1-10 players: 1-2GB
  • 10-50 players: 2-4GB
  • 50+ players: 4GB+

Modifications

  • Vanilla: Base memory
  • Light mods: +25%
  • Heavy modpacks: +50-100%
2

Set Memory Allocation

Update the memory variables:
MEMORY_LIMIT: 1024
3

Verify Allocation

Check the startup command includes correct memory flags:
Minecraft Example
java -Xms128M -Xmx{{MEMORY_LIMIT}}M -jar {{SERVER_JARFILE}}

Java Arguments Optimization

-Xms128M -Xmx{{MEMORY_LIMIT}}M
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200

Game-Specific Startup Options

1

Server Type Configuration

SERVER_JARFILE: server.jar
VANILLA_VERSION: 1.20.4
2

Additional Arguments

Common Arguments
-Dfile.encoding=UTF-8
-Djline.terminal=jline.UnsupportedTerminal
-Dlog4j2.formatMsgNoLookups=true

Advanced Configuration

Environment Variables

1

Add Custom Variables

You can add custom environment variables for specific needs:
Examples
TZ=America/New_York (Set timezone)
LANG=en_US.UTF-8 (Set language)
JAVA_TOOL_OPTIONS=-Duser.timezone=UTC
2

Reference Variables

Use variables in your startup command:
java -Xmx{{MEMORY_LIMIT}}M -jar {{SERVER_JARFILE}} --port {{SERVER_PORT}}

Startup Command Customization

Basic Structure
java [JVM_ARGS] -jar [SERVER_JAR] [GAME_ARGS]
JVM_ARGS
string
Java Virtual Machine arguments (memory, garbage collection)
SERVER_JAR
string
Path to the server executable file
GAME_ARGS
string
Game-specific startup arguments

Troubleshooting Startup Issues

Best Practices

Regular Testing

Test startup changes on a quiet server first

Backup Configuration

Document working configurations before changes

Monitor Resources

Watch CPU and memory usage after modifications

Stay Updated

Keep Java arguments current with best practices
Need help optimizing your startup configuration? Our support team can help you choose the best settings for your specific use case.