mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 18:23:52 -06:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
308f197d3a
50
mapvote.js
50
mapvote.js
@ -22,11 +22,11 @@ export default class MapVote extends DiscordBasePlugin {
|
|||||||
return {
|
return {
|
||||||
...DiscordBasePlugin.optionsSpecification,
|
...DiscordBasePlugin.optionsSpecification,
|
||||||
commandPrefix:
|
commandPrefix:
|
||||||
{
|
{
|
||||||
required: false,
|
required: false,
|
||||||
description: "command name to use in chat",
|
description: "command name to use in chat",
|
||||||
default: "!vote"
|
default: "!vote"
|
||||||
},
|
},
|
||||||
entryFormat: {
|
entryFormat: {
|
||||||
required: false,
|
required: false,
|
||||||
description: "The format of an entry in the voting list",
|
description: "The format of an entry in the voting list",
|
||||||
@ -48,29 +48,29 @@ export default class MapVote extends DiscordBasePlugin {
|
|||||||
default: 0
|
default: 0
|
||||||
},
|
},
|
||||||
minPlayersForVote:
|
minPlayersForVote:
|
||||||
{
|
{
|
||||||
required: false,
|
required: false,
|
||||||
description: 'number of players needed on the server for a vote to start',
|
description: 'number of players needed on the server for a vote to start',
|
||||||
default: 40
|
default: 40
|
||||||
},
|
},
|
||||||
voteWaitTimeFromMatchStart:
|
voteWaitTimeFromMatchStart:
|
||||||
{
|
{
|
||||||
required: false,
|
required: false,
|
||||||
description: 'time in mins from the start of a round to the start of a new map vote',
|
description: 'time in mins from the start of a round to the start of a new map vote',
|
||||||
default: 15
|
default: 15
|
||||||
},
|
},
|
||||||
voteBroadcastInterval:
|
voteBroadcastInterval:
|
||||||
{
|
{
|
||||||
required: false,
|
required: false,
|
||||||
description: 'broadcast interval for vote notification in mins',
|
description: 'broadcast interval for vote notification in mins',
|
||||||
default: 7
|
default: 7
|
||||||
},
|
},
|
||||||
automaticSeedingMode:
|
automaticSeedingMode:
|
||||||
{
|
{
|
||||||
required: false,
|
required: false,
|
||||||
description: 'set a seeding layer if server has less than 20 players',
|
description: 'set a seeding layer if server has less than 20 players',
|
||||||
default: true
|
default: true
|
||||||
},
|
},
|
||||||
numberRecentMapsToExlude: {
|
numberRecentMapsToExlude: {
|
||||||
required: false,
|
required: false,
|
||||||
description: 'random layer list will not include the n. recent maps',
|
description: 'random layer list will not include the n. recent maps',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user