== Short Description == This plugin allows you to start votes on your server. == Configuration Overview == [code=js,'configs/plugins/votings.json']{ "votings": { "enabled": true, "banduration": 60, "changevote": false, "decaytime": 180, "democracy": true, "duration": 60, "gametypes": ["*"], "implicitvote": true, "interval": 15, "maps": ["*"], "minplayers": 3, "minvotes": 3, "persistent": true, "quorum": "50%" } }[/code] == Detailed Configuration Variables == The configurationfile of the "votes" function is located in the configs/plugins directory and is named [lexicon]votings[/lexicon].json. An explanation of the variables follows: [table] [tr] [td][size=12][b][u]Variable[/u][/b][/size][/td] [td][size=12][b][u]Zulässige Werte[/u][/b][/size][/td] [td][size=12][b][u]Beschreibung[/u][/b][/size][/td] [/tr] [tr] [td][size=10][tt]enabled[/tt][/size][/td] [td][size=10][tt]true[/tt][tt]false[/tt][/size][/td] [td][size=10]You can (de)active the plugin with this variable.[/size][/td] [/tr] [tr] [td][size=10][tt]banduration[/tt][/size][/td] [td][size=10][tt]number[/tt][/size][/td] [td][size=10]This variable defines the duration (in minutes) of a successful voteban. [size=10][tt]0[/tt] stands for infinite duration (perm ban).[/size][/size][/td] [/tr] [tr] [td][size=10][tt]changevote[/tt][/size][/td] [td][size=10][tt]true[/tt][tt]false[/tt][/size][/td] [td][size=10]This variable defines, if players which decided already for !yes or !no are able to switch their vote option.[/size][/td] [/tr] [tr] [td][size=10][tt]decaytime[/tt][/size][/td] [td][size=10][tt]number[/tt][/size][/td] [td][size=10]This variable defines the vote cooldown (in seconds).[/size][/td] [/tr] [tr] [td][size=10][tt]duration[/tt][/size][/td] [td][size=10][tt]number[/tt][/size][/td] [td][size=10]This variable defines the vote time duration (in seconds).[/size][/td] [/tr] [tr] [td][size=10][tt]gametypes[/tt][/size][/td] [td][/td] [td]Includes each array of allowed gametypes for the vote. [tt]*[/tt] stands for any in the gametypes.json allowed gametypes.[/td] [/tr] [tr] [td][size=10][tt]implicitvote[/tt][/size][/td] [td][tt]true[/tt][tt]false[/tt][/td] [td][size=10]This variable defines, if the vote starter votes !yes automatically.[/size][/td] [/tr] [tr] [td][size=10][tt]interval[/tt][/size][/td] [td][size=10][tt]number[/tt][/size][/td] [td][size=10]This variable defines the duration between the vote in progress messages (in seconds).[/size][/td] [/tr] [tr] [td][size=10][tt]maps[/tt][/size][/td] [td][/td] [td]Includes each array of allowed maps for the vote. [tt]*[/tt] stands for any in the maps.json allowed maps.[/td] [/tr] [tr] [td][size=10][tt]minplayers[/tt][/size][/td] [td][size=10][tt]number[/tt][/size][/td] [td]This variable defines the minimum required players to start a vote.[/td] [/tr] [tr] [td][size=10][tt]minvotes[/tt][/size][/td] [td][size=10][tt]number[/tt][tt]number%[/tt][/size][/td] [td][size=10]This variable gives the amount (in percent or static), how many players must vote to not to fail the vote.[/size][/td] [/tr] [tr] [td][size=10][tt]persistent[/tt][/size][/td] [td][tt]true[/tt][tt]false[/tt][/td] [td][size=10]This variable defines if votes should end, when a map ends. (Important for e.g. Search & Destroy in Call of Duty)[/size][/td] [/tr] [tr] [td][size=10][tt]quorum[/tt][/size][/td] [td][size=10][tt]number[/tt][tt]number%[/tt][/size][/td] [td]This variable gives the amount (in percent or static), how many players must vote yes to not to fail the vote.[/td] [/tr] [/table] The following permissions are delivered by this plugin: [table] [tr] [td]Permission[/td] [td]Beschreibung[/td] [/tr] [tr] [td][tt]votings.admin[/tt][/td] [td]Ignores the decaytime and allowes to start the vote.[/td] [/tr] [tr] [td][tt]votings.immunity.kick[/tt][/td] [td]Makes a specific group immune against votekicks.[/td] [/tr] [tr] [td][tt]votings.immunity.tempban[/tt][/td] [td]Makes a specific group immune against votetempbans.[/td] [/tr] [tr] [td][tt]votings.immunity.ban[/tt][/td] [td]Makes a specific group immune against votebans.[/td] [/tr] [/table]
Sie betrachten gerade eine ältere Version des Eintrags. Klicken Sie hier, um zur aktuellen Version zu gelangen.