mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-24 02:33:52 -06:00
updated documentation
This commit is contained in:
parent
75ef808991
commit
54e572a2d1
18
README.MD
18
README.MD
@ -83,6 +83,20 @@ The random layer list will not include the blacklisted layers or levels. (accept
|
|||||||
```
|
```
|
||||||
[]
|
[]
|
||||||
```
|
```
|
||||||
|
#### hideVotesCount
|
||||||
|
###### Description
|
||||||
|
Hides the number of votes a layer received in broadcast message.
|
||||||
|
###### Default
|
||||||
|
```json
|
||||||
|
false
|
||||||
|
```
|
||||||
|
#### showRerollOption
|
||||||
|
###### Description
|
||||||
|
vote option to restart the vote with random entries.
|
||||||
|
###### Default
|
||||||
|
```json
|
||||||
|
false
|
||||||
|
```
|
||||||
### Example configuration
|
### Example configuration
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@ -94,6 +108,8 @@ The random layer list will not include the blacklisted layers or levels. (accept
|
|||||||
"numberRecentMapsToExlude": 4,
|
"numberRecentMapsToExlude": 4,
|
||||||
"automaticSeedingMode": true,
|
"automaticSeedingMode": true,
|
||||||
"gamemodeWhitelist": [ "AAS", "RAAS", "Invasion" ],
|
"gamemodeWhitelist": [ "AAS", "RAAS", "Invasion" ],
|
||||||
"layerLevelBlacklist": [ "BlackCoast_Seed" ]
|
"layerLevelBlacklist": [ "BlackCoast_Seed" ],
|
||||||
|
"hideVotesCount": false,
|
||||||
|
"showRerollOption": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -82,12 +82,12 @@ export default class MapVote extends BasePlugin {
|
|||||||
},
|
},
|
||||||
hideVotesCount: {
|
hideVotesCount: {
|
||||||
required: false,
|
required: false,
|
||||||
description: 'hides the number of votes a layer received',
|
description: 'hides the number of votes a layer received in broadcast message',
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
showRerollOption: {
|
showRerollOption: {
|
||||||
required: false,
|
required: false,
|
||||||
description: 'vote option to restart the vote',
|
description: 'vote option to restart the vote with random entries',
|
||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user