diff --git a/README.md b/README.md index 3fb4bee..7240379 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,14 @@ Reccomended usage: `docker run -d -p 7777:7777 -p 7878:7878 -v /host/terraria_data/:/opt/terraria/tshock/ terraria` +To enable RPC, *config.json* must be copied to `/host/terraria_data/`. + +Env vars +-------- + +* `WORLDSIZE` - default 1, can be 2 or 3 for small/med/large worlds +* `WORLDFILENAME` - default "terraria.wld", name for the world save file + Admin cli --------- @@ -22,5 +30,5 @@ Per-run token generation: Execute arbitrary commads: -* `trcli -a cmd -c '/protectspawn' +* `trcli -a cmd -c '/protectspawn'v diff --git a/config.json b/config.json index 05630b2..f27752e 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,5 @@ { "RestApiEnabled": true, "RestApiPort": 7878, - "RestUseNewPermissionModel": true, - "ApplicationRestTokens": {} + "RestUseNewPermissionModel": true } \ No newline at end of file