Skip to content

Simulation Distance variable -e flag #1065

Description

@finndo77

I have not been able to set the simulation distance in server.properties via
-e SIMULATION_DISTANCE=
or
-e CFG_SIMULATION_DISTANCE=

is this something that you need to add? it is a parity add from bedrock, it is called TICK_DISTANCE on the minecraft-bedrock-server documentation.

this was added to java in snapshot 21w38a
https://www.minecraft.net/en-us/article/minecraft-snapshot-21w38a

this is the startup script i am using if needed, everything is working except simulation distance (I put each entry on a separate line, because it was hard to read in the narrow columns on github)

#! /bin/bash
echo "starting up Snapshot server"

docker run -d
-e INIT_MEMORY=1G
-e MAX_MEMORY=4G
-e PVP=TRUE
-e SPAWN_PROTECTION=30
-e ENABLE_COMMAND_BLOCK=false
-e VIEW_DISTANCE=7
-e SIMULATION_DISTANCE=3
-e NETWORK_COMPRESSION_THRESHOLD=256
-e USE_AIKAR_FLAGS=true
-e LEVEL=snapshot2
-e DIFFICULTY=hard
-e SEED="-2446887223678575115"
-e EULA=TRUE
-e MAX_WORLD_SIZE=90000
-e PLAYER_IDLE_TIMEOUT=180
-e FORCE_GAMEMODE=TRUE
-e SERVER_NAME=snapshot2
-e VERSION=snapshot
-p 45578:25565
-e ENABLE_AUTOPAUSE=FALSE
-v /mnt/minecraft-1/snapshot2:/data
-v /etc/timezone:/etc/timezone:ro
--name mc-snapshot2
itzg/minecraft-server:java16 
exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/ready to testAn image or docs update is ready to be tested by the reporterstatus/staleNo recently activity has been seen and will be closed soon.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions