This plugin is currently marked as broken and unavailable for download
Permissions
polling.can.cleanhistory-- Allows usage of/poll "Clean History"command to clean history filepolling.can.endpolls-- Allows player to end polls before their timers endpolling.create.airdrop-- Allows player to start a vote for an airdrop at a random locationpolling.create.ban-- Allows player to start a vote for to ban a playerpolling.create.custom-- Allows player to start a custom votepolling.create.heli-- Allows player to start a vote for a patrol helicopter at a random locaitonpolling.create.kick-- Allows player to start a vote to kick a playerpolling.create.time-- Allows player to start a vote to change time to day/night
Configuration
- ChatCommand: To change chat command /poll
- ChatTag: Announcements will use this as name
- ConfigVersion: Do not edit this settings
- CountNonVoters: If this set to true , active players who does not voted will be counted as No - This only apply for predefined Yes/No type of polls
- ReminderTimer: Every given second a reminder will remind active players who haven't voted yet to vote.
- AutoSkipNights
- Enabled: If this set to true every given in-game time there will be a skip night poll
- TimeOfSkip: The in-game time for starting a skip night poll
- CargoPlane
- Enabled: If you have another plugin to manage Cargo Planes set this to true and fill PluginConsoleCommand
- PluginConsoleCommand: If this option enabled poll system will use this console command to call a Cargo Plane
- PatrolHelicopter
- Enabled: If you have another plugin to manage Patrol Helicopter set this to true and fill PluginConsoleCommand
- PluginConsoleCommand: If this option enabled poll system will use this console command to call a Patrol Helicopter
Default Configuration
{
"Settings": {
"Main Settings": {
"ChatCommand": "poll",
"ChatProfile": "76561198286931766",
"ChatTag": "Polling",
"ConfigVersion": "1.2.2",
"CountNonVoters": true,
"ReminderTimer": 20
},
"Plugin Settings": {
"AutoSkipNights": {
"Enabled": true,
"TimeOfSkip": "18:00"
},
"CargoPlane": {
"Enabled": false,
"PluginConsoleCommand": ""
},
"PatrolHelicopter": {
"Enabled": false,
"PluginConsoleCommand": ""
}
},
"Poll Schuldes": [],
"Polls": {}
}
}
Custom Polls
You can add custom polls like given example.This one will add a custom poll that ask players to restart server, and if players say Yes poll will run "save" and "quite" commands in order.
"Polls": {
"Restart": {
"AskQuestion": "Do you want to restart server now?",
"Description": "You can use following command to create a poll to restart server.",
"PollChoices": {
"0": {
"ChoiceConsoleCommand": "save,quit",
"ChoiceText": "Yes"
},
"1": {
"ChoiceConsoleCommand": "",
"ChoiceText": "No"
}
}
}
}
Poll Schedules
You can add poll schedules like given example below. This one will run a poll every hour, on the hour for calling Airdrop for 120 seconds.
"Poll Schedules": [
{
"Cron": "0 * * * *",
"Duration": 120,
"PollType": "Airdrop"
}
]
Localization
{
"AlreadyVoted": "You have already <color=#ce422b>voted</color> for current poll!\n\nCheck back later or keep an eye on chat for an announcement for new poll.",
"AutoRefresh": "This menu refresh automatically every <color=#ce422b>10</color> seconds.",
"BanReason": "You have been banned by poll results.",
"ButtonClose": "Close",
"ButtonCurrent": "Current Poll",
"ButtonEndVote": "End Poll",
"ButtonHelp": "Help",
"ButtonHistory": "Poll History",
"ButtonNextPage": "Next Page",
"ButtonPreviousPage": "Previous Page",
"ButtonReRunPoll": "Re-run Poll",
"ButtonResults": "Results",
"CanCreatePoll": "<color=#ce422b>Admin</color> Menu\n You have permission to create given types of polls.\n\n",
"CantCreatePoll": "You <color=#ce422b>don't</color> have permission to create polls.",
"CurrenOwner": "<color=#ce422b>Current</color> Poll By",
"CurrenQuestion": "<color=#ce422b>Current</color> Poll Question",
"CurrenStarted": "<color=#ce422b>Current</color> Poll Started",
"CurrenTimeleft": "<color=#ce422b>Current</color> Poll Will End in {0} Second(s)",
"CustomPollCount": "Currently there is/are {0} custom polls",
"Day": "Day",
"ErrorAlreadyPoll": "There is already a poll running.",
"ErrorEndVote": "You <color=#ce422b>don't</color> have permission to end polls.",
"ErrorNoActivePoll": "There is <color=#ce422b>no</color> active poll right now!\n\nCheck back later or keep an eye on chat for an announcement.",
"ErrorPermission": "You <color=#ce422b>don't</color> have permission to create {0} polls.",
"ErrorSyntax": "There has been an syntax error in command.\nCorrect form is\n",
"ErrorTime": "You have entered an invalid time.Time limits Min:30 Max:3600",
"HelpAirdropPoll": "<color=#ce422b> * </color>You can use following command to create a poll to call an airdrop.",
"HelpAirdropPollUsage": "<color=#ce422b> /{0}</color> 'Airdrop' 'Timer'",
"HelpCustomPoll": "<color=#ce422b> * </color>You can use following command to create a custom poll to ask anything.",
"HelpCustomPollUsage": "<color=#ce422b> /{0}</color> 'Custom' 'Timer' 'Question' 'Choice1' 'Choice2' 'Choice3' ... 'ChoiceN'",
"HelpHeliPoll": "<color=#ce422b> * </color>You can use following command to create a poll to call an patrol helicopter.",
"HelpHeliPollUsage": "<color=#ce422b> /{0}</color> 'Heli' 'Timer'",
"HelpTimePoll": "<color=#ce422b> * </color>You can use following command to create a poll to call to change time.",
"HelpTimePollUsage": "<color=#ce422b> /{0}</color> 'Time' 'Timer' 'Day|Night'",
"HelpUserBanPoll": "<color=#ce422b> * </color>You can use following command to create a poll to ban a player.",
"HelpUserBanPollUsage": "<color=#ce422b> /{0}</color> 'Ban' 'Timer' 'Name|SteamID'",
"HelpUserKickPoll": "<color=#ce422b> * </color>You can use following command to create a poll to kick a player.",
"HelpUserKickPollUsage": "<color=#ce422b> /{0}</color> 'Kick' 'Timer' 'Name|SteamID'",
"HistoryCount": "Currently there is/are <color=#ce422b>{0}</color> poll(s) in history.",
"HowToVote": "You can use /{0} to vote.",
"KickReason": "You have been kicked by poll results.",
"Night": "Night",
"No": "No",
"NoPoll": "There is <color=#ce422b>no</color> active poll right now!",
"NoUser": "There is no user found with search with Name/SteamID ({0})",
"Page": "Page {0}",
"PollNotVoted": "You haven't voted.Please vote now!\n <color=red>*</color> {0}",
"PollStarted": "Poll Started\n <color=red>*</color> {0}",
"QuestionAirdrop": "Do you want to call an Airdrop ?",
"QuestionBan": "Do you want to ban {0} ?",
"QuestionCustom": "Don't edit this",
"QuestionHeli": "Do you want to call a Patrol Helicopter ?",
"QuestionKick": "Do you want to kick {0} ?",
"QuestionTime": "Do you want to change time to {0} ?",
"Voted": "You have voted <color=#ce422b>{0}</color> for {1}.",
"VoteFinish": "Vote Finished\n <color=red>*</color> {0}",
"VoteResult": "{0} people gave vote for {1}",
"Yes": "Yes"
}
This plugin is unlicensed and the original author reserves all rights to it.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

