Skip to content

settings in .env are at least partly ignored #52

Description

@ChrissWalters

I followed the exact steps setting up my server in docker compose on ubunut 24.04 (server).

This is my .env:

User Settings

PUID=1001
PGID=1001

Server Settings

SERVER_NAME=Hytale - Hytaletest Server
DEFAULT_PORT=5520
MAX_PLAYERS=10

View Distance (in chunks, 12 chunks = 384 blocks)

Higher values require more RAM. Recommended max: 12

VIEW_DISTANCE=12

Authentication Mode (authenticated|offline)

authenticated: Requires player authentication (recommended)

offline: Allows unauthenticated players (for testing only)

AUTH_MODE=authenticated

Backup Settings

ENABLE_BACKUPS=true
BACKUP_FREQUENCY=30

Advanced Settings

DISABLE_SENTRY=true
USE_AOT_CACHE=true
ACCEPT_EARLY_PLUGINS=false

JVM Memory Settings (in GB)

Adjust based on your server resources and player count

MIN_MEMORY=4G
MAX_MEMORY=7G

Download Settings

Set to false to skip automatic server download on startup

DOWNLOAD_ON_START=true

Custom JVM Arguments (optional)

Example: JVM_ARGS=-XX:+UseG1GC -XX:+ParallelRefProcEnabled

JVM_ARGS=

This is the created config.json:

{
"Version": 4,
"ServerName": "Hytale Server",
"MOTD": "",
"Password": "",
"MaxPlayers": 100,
"MaxViewRadius": 32,
"Defaults": {
"World": "default",
"GameMode": "Adventure"
},
"ConnectionTimeouts": {},
"RateLimit": {},
"Modules": {},
"LogLevels": {},
"Mods": {},
"DisplayTmpTagsInStrings": false,
"PlayerStorage": {
"Type": "Hytale"
},
"Update": {},
"Backup": {}

As you can see, at least ServerName, MaxPlayers and MaxViewRadius are not correctly set in the config.json and are not live on the hytale server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions