File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ The following environment variables can be used to configure the Hytale server:
5656| ` HYTALE_SERVER_PORT ` | ` 5520 ` | Port the server binds to |
5757| ` HYTALE_PARAMETERS ` | _ (see below)_ | Override all JVM/server parameters |
5858| ` HYTALE_ADDITIONAL_PARAMETERS ` | _ (none)_ | Append additional parameters to the default |
59+ | ` HYTALE_MAX_VIEW_RADIUS ` | _ (none)_ | Override ` MaxViewRadius ` in ` config.json ` |
5960
6061### Example with Custom Memory Settings
6162
Original file line number Diff line number Diff line change 3838 echo " No Hytale server zip file found to unzip."
3939fi
4040
41+ if [ -f /app/Hytale/config.json ] && [ -n " $HYTALE_MAX_VIEW_RADIUS " ]; then
42+ sed -i " s/\" MaxViewRadius\" [[:space:]]*:[[:space:]]*[0-9.]\+/\" MaxViewRadius\" : $HYTALE_MAX_VIEW_RADIUS /" /app/Hytale/config.json
43+ fi
44+
4145# Start the Hytale server
4246exec java $HYTALE_PARAMETERS
You can’t perform that action at this time.
0 commit comments