[INFO] Poll v0.1 - a simple poll plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Schm0ftie, Sep 7, 2011.

  1. Poll - a simple poll plugin:
    Version: v0.2

    Poll is a plugin that is very easy to use, it allows the creation of multiply polls with multiply answer options. It offers basic commands to manage the polls. It is my first plugin feel free to leave comments or feature requests.
    The data is stored in a SQLite File and it curently only supports Permissions (tested with v.3.1.6 (Yeti) ).


    User Commands - Permission Node: poll.user

    * /poll - to show the help of Poll
    * /poll list - to show all active polls
    * /poll list inactive (pagenumber) - to show all inactive polls (using it without the pagenumber will always show the first 10 inactive polls)
    * /poll info <pollid> - to show all options of the poll with that id, also show if you already voted for it
    * /poll vote <pollid> <optionid> - to vote

    Admin Commands - Permission Node: poll.admin

    * /poll toggle <pollid> - to toggle the given poll between active/inactive
    * /poll create <pollquestion> - to create a poll with that question (new created poll are active by default)
    * /poll addoption <pollid> <optionid> <answeroption>- to create the vote option for the given poll
    * /poll result <pollid> (active) - to evaluate a poll and set it to inactive by default (when active is given the poll will not be set to inactive)
    * /poll remove <pollid> to remove the given poll with all poll options and votes regarding that poll

    Example - create a poll with options

    We will create a test poll that ask "Does this plugin work?" and possible answers will be "Yes", "No" and "Plugin?!?". Let's start!
    * /poll create Does this plugin work? Now the poll is created, but we don't have any options to vote for. Since it is the first poll we made it has the id 1, else we would use /poll list to get the poll id.
    * /poll addoption 1 1 Yes Now we created the first (1) answer for the poll with the id 1 the answer "Yes". Let's add another option since one answer does not make any sense =)
    * /poll addoption 1 2 No Now we have created the second (2) answer for the poll with the id 1 the answer "No". We add another one.
    * /poll addoption 1 3 Plugin?!? Okay now we have all 3 answer options, the poll itself and it is set to active by default. We are done!

    Example - vote for an existing poll

    Okay we have the poll we made before (see Example - create a poll with options). How does someon vote for it? First we get all active polls to know which polls are currently running.
    * /poll list Now we have the poll id (1), we need the possible answers of that poll.
    * /poll info 1 Okay now we see that we haven't voted yet and the possible answers with their option numbers. We decide to vote for "Plugin?!?" with the option number 3.
    * /poll vote 1 3 And thats it! If we now check with /poll info 1 we will see that we already voted =)

    Requirements:
    * Permissions v.3.1.6


    Features: * allows creating custom polls with customizable number of answers <Edit by Moderator: Redacted mediafire url>
    Also on dev.Bukkit
    http://dev.bukkit.org/server-mods/poll-simple-poll-plugin/

    Changelog: Version 0.2 * Added the ability to remove polls from the database
    * Improved the help menu and corrected some mistakes
    Version 0.1 * Releasing my awesome plugin
     
    Last edited by a moderator: Nov 12, 2016
  2. Offline

    fatmarley

    awesome indeed!
     
  3. any update on this or? Is it dead
     
  4. Offline

    Raycrash

    No it isn't atleast aslong someone wants it.

    Is there a problem with it ?
     
  5. Offline

    Mortana

    Any release for CB1337?
     
  6. Offline

    Raycrash

    It still works ;)
    We use it.
     
  7. Offline

    caseif

    It gives me internal errors on CB 1798.

    Update?
     
  8. Could you give me the error code (using pastebin or something like that) ?
     

Share This Page