squad-js-map-vote/README.MD
2022-09-06 14:13:23 +02:00

1.7 KiB

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

    The set a seeding layer if server has less than 20 players.

    Default
    true
  • gamemodeWhitelist

    Description

    The random layer list will be generated with only selected gamemodes.

    Default
    [ "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

    
    {
        "plugin": "MapVote",
        "enabled": true,
        "minPlayersForVote": 30,
        "voteWaitTimeFromMatchStart": 10,
        "voteBroadcastInterval": 7,
        "numberRecentMapsToExlude": 4,
        "automaticSeedingMode": true,
        "gamemodeWhitelist": [ "AAS", "RAAS", "Invasion" ],
        "layerLevelBlacklist": [ "BlackCoast_Seed" ]
    }