Allow your players to kill all Patrol Helicopters that have spawned, by simply voting in chat!
Supported Games
works with
- Loot Defender2.2.5
NOTE: Version 2.0.0 is not backwards compatible with 1.x - please backup your config file!
About Kill Heli Vote
This plugin allows your players to kill all Patrol Helicopters that have spawned, by simply voting in chat!
Snaplatack Note
I originally made this plugin for my servers, but haven't seen anything similar that was already published. So I figured I would release it here 🙂
HunterZ Note
Version 2.x is my own rewrite of another rewrite started by Snaplatack, which adds new features and addresses some issues I encountered in my own use.
Optional Dependencies
Features
- Kill all eligible Patrol Helicopters via a vote system
- Kill all eligible Patrol Helicopters via an Admin command
- Ignore Patrol Helicopters called by Heli Signals and/or while protected by Loot Defender
- Ban players from voting or resetting votes
- Reset votes on damage to Patrol Helicopters from a non-banned player
- Customize commands, permissions, and messages
Permissions
- killhelivote.use - controls whether voting command can be used by a player/group
- killhelivote.admin - controls whether kill command can be used by a player/group
- killhelivote.banned - controls whether voting command and damage reset features should be locked out for a player/group
Notes:
- The names of these can be overridden via the config file
- The plugin will react to permission changes without a reload
Commands
- /voteheli - record vote towards killing all eligible active helis
- /killhelis - kills all eligible helis on the map, bypassing any votes
Notes:
- These are the default command names, which can be overridden via the config file
Configuration
Plugin Settings
- Frequency of vote announcements [in seconds] - how often voting message/toast should be shown
- Percentage of votes required [0 - 100] - percentage of votes by eligible voters required to kill helis
- Ignore helis spawned by Heli Signals - whether helis called by Heli Signals should be ignored by this plugin
- "Ignore helis locked by Loot Defender - whether helis should be ignored by this plugin while protected by Loot Defender
- Reset vote when a heli takes damage - whether to reset votes when any kill-eligible heli is attacked by a player who is not banned from voting
Commands & Permissions
This section allows you to customize command and permission names used by the plugin.
Messages
- Steam ID to use for the image for messages [0 = default] - set this to the SteamID of an account whose profile picture you want to use for chat messages produced by this plugin
- Use chat messages - whether to show a given message via in-game chat
- Use native toast messages - whether to show a given message via toasts (popup banners)
- Toast type - style of toast to use (0 => Blue Normal, 1 => Red Normal, 2 => Blue Long, 3 => Blue Short, 4 => Server Event, 5 => Error)
Notes:
- Chat and toast messages can be enabled at the same time if desired
Credits
- snaplatack - original author
- nivex - (2.x) Loot Defender coordination
- Liam - (2.x) Heli Signals compatibility testing
- zeeuss - (1.x) finding objects more efficiently on reload
- mr01sam - (1.x) helping with some Init procedures
- ViolationHandler - (1.x) code cleanup and improved code efficiency
MIT License
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.
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.

