Skip to content
Person8880 edited this page Jan 1, 2013 · 9 revisions

Overview

The vote scramble plugin provides a vote to scramble the teams in a similar way to Team Fortress 2. If enough players vote to scramble, the teams will be shuffled either randomly or based on player score.

Config

The default config file should look something like this:

{
    "IgnoreSpectators": true,
    "MinPlayers": 10,
    "IgnoreCommanders": true,
    "ScrambleType": 2,
    "VoteDelay": 5,
    "PercentNeeded": 0.75
  }

The file should be called “VoteScramble.json” and should be placed in the directory defined as your plugin config directory (default is config://shine/plugins).

Config Options

Option Description
IgnoreSpectators Sets whether to ignore spectators/ready room players when switching teams.
IgnoreCommanders Sets whether to switch commanders.
MinPlayers Sets the minimum number of players required on the server to be able to start a vote.
ScrambleType Sets the type of the scramble. Currently there are 2 options, 1 will scramble at random with no method. 2 will scramble based on player score.
PercentNeeded Percentage of the server population needed for a vote to succeed.
VoteDelay Time in minutes after a successful vote before a new scramble vote is allowed.

Commands

Command Chat Command Arguments Description
sh_votescramble !votescramble or !scramble or !scrambleteams or !scramblevote Votes to scramble the teams.
Clone this wiki locally