Updated readme

This commit is contained in:
Dave Pedu 2016-02-13 00:14:45 -08:00 committed by dave
parent e292608cd0
commit d23d2ab0c1
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -1,6 +1,5 @@
{
"RestApiEnabled": true,
"RestApiPort": 7878,
"RestUseNewPermissionModel": true,
"ApplicationRestTokens": {}
"RestUseNewPermissionModel": true
}