k1lly0u
Allows players to open a vote to call helicopters

Supported Games
GameServerKingsGameServerKings

Simple plugin to give players the ability to open a vote to call helicopter(s)

Chat Commands

  • /helivote open XX -- Open a vote to call helicopters, with optional amount of helicopters XX
  • /helivote yes -- Vote yes
  • /helivote no -- Vote no

Console Commands

  • helivote XX -- Open a vote for xx amount of helicopters

Permissions

  • helivote.use -- Required for use when "Use permission system only" is set to true

Configuration

{
  "Options - Display vote progress": true,
  "Options - Maximum helicopters to call": 4,
  "Options - Required yes vote percentage": 0.5,
  "Options - Timers - Minimum time between votes (minutes)": 5,
  "Options - Timers - Open vote timer (minutes)": 4,
  "Options - Send helicopters to the initiator": false, // sends the helicopters to the initiator of the vote
  "Options - Use permission system only": false
}

MIT License


Copyright (c) 2020 k1lly0u


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.