mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 23:03:51 -06:00
Updated README.md with command usage and updated proper defaults
This commit is contained in:
parent
e9f6551a1f
commit
b881a29c7f
44
README.MD
44
README.MD
@ -1,19 +1,52 @@
|
|||||||
## MapVote
|
## MapVote
|
||||||
The `MapVote` plugin for squad js based on the original version https://github.com/maskedmonkyman/squad-js-map-vote
|
The `MapVote` plugin for squad js based on the original version https://github.com/maskedmonkyman/squad-js-map-vote
|
||||||
|
|
||||||
|
### Commands
|
||||||
|
|
||||||
|
#### User Commands
|
||||||
|
- `!vote help` - sends possbile commands to a player in the from of a warning
|
||||||
|
- `!vote choices` - sends choices to player in the from of a warning
|
||||||
|
- `!vote results` - sends player the results in a warning
|
||||||
|
|
||||||
|
#### Admin Commands
|
||||||
|
- `!vote start` - Starts a vote with 6 layers, random modes
|
||||||
|
- `!vote cancel` - Cancels current round of voting
|
||||||
|
- `!vote restart` - Restarts voting with 6 random maps and modes
|
||||||
|
- `!vote broadcast` - Broadcasts current voting results - happens every 7m automatically
|
||||||
|
|
||||||
|
##### Vote by modes
|
||||||
|
- `!vote start *_raas` - Starts a vote with 6 layers, all RAAS
|
||||||
|
- `!vote start *_aas` - Starts a vote with 6 layers, all AAS
|
||||||
|
- `!vote start *_inv` - Starts a vote with 6 layers, all INV
|
||||||
|
|
||||||
|
##### Vote by map
|
||||||
|
- `!vote start yeh gor lash gor albas` - Starts a vote with X maps, random modes
|
||||||
|
|
||||||
|
##### Vote by map + mode, mixed
|
||||||
|
- `!vote start yeh_raas gor_raas lash_inv gor albas_inv` - Starts a vote with X maps, X modes
|
||||||
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
#### commandPrefix
|
||||||
|
###### Description
|
||||||
|
The command name to use in chat.
|
||||||
|
###### Default
|
||||||
|
```
|
||||||
|
!vote
|
||||||
|
```
|
||||||
#### minPlayersForVote
|
#### minPlayersForVote
|
||||||
###### Description
|
###### Description
|
||||||
The number of players needed on the server for a vote to start.
|
The number of players needed on the server for a vote to start.
|
||||||
###### Default
|
###### Default
|
||||||
```
|
```
|
||||||
30
|
40
|
||||||
```
|
```
|
||||||
#### voteWaitTimeFromMatchStart
|
#### voteWaitTimeFromMatchStart
|
||||||
###### Description
|
###### Description
|
||||||
The time in mins from the start of a round to the start of a new map vote.
|
The time in mins from the start of a round to the start of a new map vote.
|
||||||
###### Default
|
###### Default
|
||||||
```
|
```
|
||||||
10
|
15
|
||||||
```
|
```
|
||||||
#### voteBroadcastInterval
|
#### voteBroadcastInterval
|
||||||
###### Description
|
###### Description
|
||||||
@ -29,6 +62,13 @@ Set a seeding layer if server has less than 20 players.
|
|||||||
```json
|
```json
|
||||||
true
|
true
|
||||||
```
|
```
|
||||||
|
#### numberRecentMapsToExlude
|
||||||
|
###### Description
|
||||||
|
The random layer list will not include the X recent maps
|
||||||
|
###### Default
|
||||||
|
```
|
||||||
|
4
|
||||||
|
```
|
||||||
#### gamemodeWhitelist
|
#### gamemodeWhitelist
|
||||||
###### Description
|
###### Description
|
||||||
The random layer list will be generated with only selected gamemodes.
|
The random layer list will be generated with only selected gamemodes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user