Sueta

Poll

1.1.3

A simple poll plugin

·Plugin

!! WARNING !! If you use it on versions below 1.14 you are doing it on your own risk.
Info poll.png
Poll
Version: 1.1.3
by: MrIvanPlays

Features poll.png

  • Ask questions to your players on the server with the question announcer the plugin provides!
  • Fully customizable
  • Clickable messages support
  • Unlimited questions with unlimited answers!
  • Metrics
  • Awards on question vote

Commands And Permissions poll.png
/poll reload - poll.reload - Reloads the plugin
/poll vote <question identifier> <question answer> - no permission - Vote on a specific question.
/pollvotes <question identifier> - no permission - View the votes on a specific question
/pollsend <player name|all> <question identifier> - poll.send - Send a poll to a player or all players
The question identifier can be viewed in the Configuration section below.

Configuration poll.png

#######################
#         Poll        #
#     by MrIvanPlays  #
#######################

# All polls
questions:
  difficulty: # This is the question identifier. Make it simple
    question: "&eServer: &aWhat is the difficulty that the server should be?"
    answers:
      - "&cHard"
      - "&eNormal"
      - "&aEasy"
  plugin:
    question: "&eServer: &aWhich plugin should the server implement?"
    answers:
      - "&aMcMMO"
      - "&b&lJobs"


# Should the plugin send all questions only on join
# By default that's false as we have the question announcer
send-questions-only-on-join: false

# I'm not sure why would you award the players when they
# vote on the question as this is a survey, but we have
# this feature
# Executes the specified commands when the player have voted
# on a question. Available placeholders: %answer% ; %questionId% ; %player%
awards:
  enabled: false
  commands:
    - "give %player% minecraft:diamond 1"

# Question announcer
# Announces the questions to the player between the interval specified
# If the player have voted already on the question, the question wont
# get sent to the player
# !! IMPORTANT !! Interval is measured in seconds
question-announcer:
  enable: true
  random-order: true
  interval: 300

# Should the plugin perform a check for update or no
# !! IT IS RECOMMENDED TO LEAVE THIS TRUE !!
update-check: true

# All messages
messages:
  hover-message: "&aClick to vote"
  usage: "&cUsage: /poll <reload|vote> [question identifier] [question answer]"
  no-permission: "&cYou don't have permission to perform this command. Please contact administrator if you believe this is wrong."
  reload-message: "&aReload success"
  no-console: "&cThe console can't vote"
  question-not-found: "&cThe specified question cannot be found"
  already-voted: "&cYou have already voted for this question!"
  invalid-answer: "&cInvalid answer. Valid options: %answers%"
  vote-success: "&aYou have voted successfully"
  pollvotes-usage: "&cUsage: /pollvotes <question identifier>"
  votes-for: "&eVotes for %question%"
  votes-message: "%answer% &rhas &e%votes% vote(s)"
  pollsend-usage: "&cUsage: /pollsend <player name|all> <question identifier>"
  player-not-found: "&cThat player cannot be found"
  sent-success: "&aSuccess sent!"

Similar projects

Plugin →