Updated readme
This commit is contained in:
parent
e292608cd0
commit
d23d2ab0c1
10
README.md
10
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`
|
`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
|
Admin cli
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@ -22,5 +30,5 @@ Per-run token generation:
|
||||||
|
|
||||||
Execute arbitrary commads:
|
Execute arbitrary commads:
|
||||||
|
|
||||||
* `trcli -a cmd -c '/protectspawn'
|
* `trcli -a cmd -c '/protectspawn'v
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"RestApiEnabled": true,
|
"RestApiEnabled": true,
|
||||||
"RestApiPort": 7878,
|
"RestApiPort": 7878,
|
||||||
"RestUseNewPermissionModel": true,
|
"RestUseNewPermissionModel": true
|
||||||
"ApplicationRestTokens": {}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue