... | ... | @@ -13,7 +13,7 @@ The contents of this file will look something like this: |
|
|
Let's break down the available options.
|
|
|
|
|
|
- `ServerID` is the ID of your server at TServerWeb. You can set it up in-game or in the console, using the `/tserverweb` command. You can read more about this in the [auto-setup guide](https://gitlab.xghozt.com:2345/tsw/TSWVote/-/wikis/Setting-up-the-plugin-using-auto-setup).
|
|
|
- `NumberOfWebClients` is the maximum number of connections that your server will make to TServerWeb at any given time. Under normal circumstances, this will not need to exceed the number of player slots on your server, and lower values might work fine too. The default is `30`. The value does not need quotation marks `""` around it.
|
|
|
- `NumberOfWebClients` is the maximum number of connections that your server will make to TServerWeb at any given time. Under normal circumstances, this will not need to exceed the number of player slots on your server, and lower values might work fine too. The default is `30`. The value does _not_ need quotation marks `""` around it.
|
|
|
- `Timeout` is the number of milliseconds (one second is 1000 milliseconds) that the plugin will wait for to get a response from TServerWeb. If this is too low, you will get errors even when a vote gets placed successfully. If you're getting any errors mentioning something timing out, try increasing this value. The default is `10000` (which is 10 seconds). The value does _not_ need quotation marks `""` around it.
|
|
|
- `RequirePermission` is whether voting on your server will require the player's group to have a certain permission. The default is `false`. The other option is `true`. The value does _not_ need quotation marks `""` around it.
|
|
|
- `PermissionName` is the permission that players will need to vote. This only takes effect if `RequirePermission` is set to `true`. The default is `vote.vote`. The value _does_ need quotation marks `""` around it.
|
... | ... | |