... | @@ -17,7 +17,7 @@ To create this user, you run `/user add` like this: `/user add tserverwebXXXX PA |
... | @@ -17,7 +17,7 @@ To create this user, you run `/user add` like this: `/user add tserverwebXXXX PA |
|
- Replace `TOKEN` with the token value you decided to use, `USERNAME` with the username you made in step 2, and `GROUP` with the group you made in step 1. In this step, you may also enable REST API and select the port for it. For more info on this, refer to step 2 of [this other guide](https://gitlab.xghozt.com:2345/tsw/TSWVote/-/wikis/Setting-up-the-plugin-using-auto-setup).
|
|
- Replace `TOKEN` with the token value you decided to use, `USERNAME` with the username you made in step 2, and `GROUP` with the group you made in step 1. In this step, you may also enable REST API and select the port for it. For more info on this, refer to step 2 of [this other guide](https://gitlab.xghozt.com:2345/tsw/TSWVote/-/wikis/Setting-up-the-plugin-using-auto-setup).
|
|
|
|
|
|
|
|
|
|
4) Now you can save the file and attempt to (re-)start your server. [JSON](https://www.w3schools.com/js/js_json_syntax.asp) is a pretty sensitive data structure and if you did anything incorrectly, you may have to come back and fix it before TShock can start properly. Make sure your config looks something like this:
|
|
4) Now you can save the file and attempt to (re-)start your server. [JSON](https://www.w3schools.in/json/json-syntax/) is a pretty sensitive data structure and if you did anything incorrectly, you may have to come back and fix it before TShock can start properly. Make sure your config looks something like this:
|
|
|
|
|
|
> "RESTRequestBucketDecreaseIntervalMinutes": 1,
|
|
> "RESTRequestBucketDecreaseIntervalMinutes": 1,
|
|
> "ApplicationRestTokens": {
|
|
> "ApplicationRestTokens": {
|
... | | ... | |