You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom server variables are passed in as comma-separated simple key-value pairs or as a full JSON string.
203
+
204
+
Server variables are parsed into their most likely type (number-like turn into numbers, all other inputs are treated as string) using [jq's `fromjson` command](https://jqlang.github.io/jq/manual/#convert-to-from-json). In the example below, `var1` is a string, `var2` is a number, and `var3` is a string.
205
+
206
+
For greater control on types, users can provide a full string JSON representation that is used as-is.
207
+
208
+
All variables are written to the variables file located at `config/default/variables.json`. There is no support for Module-specific variable handling at this time.
Also known as behavior or resource packs, in order to add mods into your server you can follow these steps, tested with [OPS (One Player Sleep)](https://foxynotail.com/addons/ops/) and [bedrocktweaks](https://bedrocktweaks.net/resource-packs/)
0 commit comments