squad-js-map-vote/README.MD

60 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-09-06 07:23:04 -05:00
## MapVote
The `MapVote` plugin for squad js based on the original version https://github.com/maskedmonkyman/squad-js-map-vote
### Options
#### minPlayersForVote
###### Description
The number of players needed on the server for a vote to start.
###### Default
```
30
```
#### voteWaitTimeFromMatchStart
###### Description
The time in mins from the start of a round to the start of a new map vote.
###### Default
```
10
```
#### voteBroadcastInterval
###### Description
The broadcast interval for vote notification in mins.
###### Default
```
7
```
#### automaticSeedingMode
###### Description
Set a seeding layer if server has less than 20 players.
###### Default
```json
true
```
#### gamemodeWhitelist
###### Description
The random layer list will be generated with only selected gamemodes.
###### Default
```json
[ "AAS", "RAAS", "INVASION" ]
```
#### layerLevelBlacklist
###### Description
The random layer list will not include the blacklisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1).
###### Default
```
[]
```
### Example configuration
```json
2022-09-06 07:23:48 -05:00
{
2022-09-06 07:13:23 -05:00
"plugin": "MapVote",
"enabled": true,
"minPlayersForVote": 30,
"voteWaitTimeFromMatchStart": 10,
"voteBroadcastInterval": 7,
"numberRecentMapsToExlude": 4,
"automaticSeedingMode": true,
"gamemodeWhitelist": [ "AAS", "RAAS", "Invasion" ],
"layerLevelBlacklist": [ "BlackCoast_Seed" ]
}
2022-09-06 07:23:04 -05:00
```