Go to file
Fantino Davide 72697007a1 readme
2022-09-06 14:14:57 +02:00
mapvote.js layer filtering in seeding mode 2022-09-06 13:44:31 +02:00
README.MD readme 2022-09-06 14:14:57 +02: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

    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

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