-
Notifications
You must be signed in to change notification settings - Fork 23
Vote All Talk
Person8880 edited this page Jan 4, 2020
·
5 revisions
The vote all talk plugin allows players to vote to enable/disable global all talk.
Note that this plugin requires the basecommands
plugin to be enabled. When a vote passes it will permanently change the all talk state until either another vote passes, or an admin changes it.
The default config file should look something like this:
{
"BlockUntilSecondsIntoMap": 0,
"NotifyOnVote": true,
"PercentNeeded": 0.6,
"VoteSettings": {
"AFKTimeInSeconds": 60,
"ConsiderAFKPlayersInVotes": true,
"ConsiderSpectatorsInVotes": true
},
"VoteTimeoutInSeconds": 60,
"__Version": "1.1"
}
The file should be called “VoteAllTalk.json” and should be placed in the directory defined as your plugin config directory (default is config://shine/plugins).
Option | Description |
---|---|
BlockUntilSecondsIntoMap | If set to a value greater than 0, voting will be blocked until this many seconds after a map change. |
NotifyOnVote | Whether to display votes to all players. |
PercentNeeded | The percentage of the total players needing to vote in order for the vote to pass. |
VoteSettings | Allows for controlling whether AFK players are considered in votes. Set ConsiderAFKPlayersInVotes to false to prevent AFK players from counting towards the total votes. |
VoteTimeoutInSeconds | After this many seconds with no votes, the vote count is reset to 0 if it never passed. |
Command | Chat Command | Arguments | Description |
---|---|---|---|
sh_votealltalk | !votealltalk | N/A | Votes to enable or disable all talk. |