Simple Vote Listener

SimpleVoteListener


SVL requires Java 7


Description

SimpleVoteListener was designed to be as lightweight as possible and make endless possibilities. SimpleVoteListener can perform commands, broadcast messages, and do everything you could possibly need it to do.


PLANNED Features

  • Vault Economy support.
  • Bungeefier and Spigot support.
  • Public broadcasts.
  • Private messaging to voting players.
  • Offline voting.
  • Unknown player blocking. (Vote will not go through unless player has joined server previously)
  • Configurable
  • Permissions can be given and taken upon vote.
  • Items can be given to player.
  • Commands can be run through console upon voting.
  • Service-specific awards.
  • Permission-specific awards.
  • Vote counting.
  • Vote count awards.
  • Timed commands.
  • Timed commands continue after restarting server.
  • Config variables.
  • Color codes in config.

Installation

Requires Votifier

  1. Drop SimpleVoteListener.jar into your plugins directory.
  2. Reload or restart your server.
  3. Done!

note: You don't need to do anything special to get SimpleVoteListener to connect to Votifier


Planned Commands

/svl reload - Reloads configuration.

/svl test - Tests vote process.

/svl debug - Toggles debug mode for development.


Usage

Sample usage:

# Changing the version will ruin your config.
version: 1.0

debug: false
vault: true
time-format: 'HH:mm:ss'

public-broadcast: '&e%player% voted from %service%!'
private-message: '&aThanks, &c%player%&a, for voting!'

player-awards:
  money: 100
  permissions:
    - 'example.permission'
    - 'example.permission.two'
  items:
    - 'ITEM{DATA_VALUE}:AMOUNT'
    - 'WOOL{6}:64'
  commands:
    - 'warp %player% vote'
# Note that specific awards do not include the awards above.
specific:
  # Awards given to players that vote from a specific voting service.
  service:
    PlanetMinecraft:
      money: 100
      permissions:
        - 'example.permission'
      items:
        - 'DIAMOND:1'
      commands:
        - 'warp %name% pmc'
  # Awards given to players that have a specific permission.
  # Replace dots with dashes in permissions.
  permissions:
    example-permission:
      money: 100
      permissions:
        - 'example.permission'
      items:
        - 'GOLD_BAR:1'
      commands:
        - 'warp %name% china'
  # Awards given to players that have voted a specific amount of times.
  votes:
    100:
      money: 100
      permissions:
        - 'example.permission'
      items:
        - 'DIAMOND:10'
      commands:
        - 'say %name% has voted %votes% times!'
  • %name% - Username of the player. Not the nickname.
  • %ip% - IP Address of the player who voted
  • %time% - Not sure what format of time, Votifier handles the format.
  • %service% - Service used when voting, eg. "PlanetMinecraft.com"
  • %votes% - Amount of times player has voted.
  • %connection% - Returns "online" or "offline" accordingly.

Troubleshooting

Nothing is Happening on Vote

  • Check to make sure the port you are using in your Votifier config is not already in use.
  • Read the Troubleshooting section on the Votifier page.

Plugin not generating files

  • Make sure your plugins folder isn't restricted. Usually this is not the case if other plugins can write files to it.
  • Try using Java 7 instead of Java 6.
  • Check that you're using the correct version of CraftBukkit corresponding to the version of SVL.

Config not working

  • Parse your config by pasting it. If there is an error it will tell you the line and column number!
  • Make sure you are using correct variables (listed above)

Commands not being run

  • Check to make sure you have a plugin that can run the commands you are trying to run!
  • Some plugins don't let certain commands run from the console, and there is nothing that can be done except look for a different plugin!

Connecting to Votifier but not SVL

  • Make sure SVL started up without errors and is enabled by typing /pl (it should be green in the list).
  • Make sure config works by checking advanced setups section of Configuration Page

Still not working?/Question not answered?

Leave a comment with the following:

  • SVL version
  • Votifier version
  • CraftBukkit version
  • Errors in console (if one is given)
  • Config file posted on either pastie.org or pastebin.com
  • Actual problem typed and explained to best of detail

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of GiraffeKnee GiraffeKnee Mar 07, 2015 at 22:52 UTC - 0 likes

    The manager of this page needs to update the page to fit the newest version (2.6). There have been several changes that aren't reflected on the page. For example, there is now only one sub command (/svl reload) instead of the three "planned commands" shown above. Also, the newest version generates a different file than the one shown above.

  • Avatar of sexyrussian sexyrussian Mar 04, 2015 at 00:30 UTC - 0 likes

    Ops sorry, removed

    Last edited Mar 04, 2015 by sexyrussian
  • Avatar of BootyCrafter BootyCrafter Feb 26, 2015 at 01:01 UTC - 0 likes

    @SoAaron: Go

    Your port may not be open, use Minecraftservers.org to test vote. If it says unable to reach server, your port is not open, or you didn't setup the IP right. Also you may have not given the voting site you're public rsa key.

    Hi, my name is Jed. My minecraft server IP is: Play.SomeSkyblock.net Image
  • Avatar of dsteeves1121 dsteeves1121 Feb 24, 2015 at 21:21 UTC - 0 likes

    When I attempt to use the test command, it seems that it doesn't work, even when i used one of my alt account to test it, it doesn't even give me the error of not having permission use /svl test. Any idea why this could be happening? I've tried to it with a clean config file, and one that I made the changes to.

  • Avatar of SoAaron SoAaron Feb 11, 2015 at 05:25 UTC - 0 likes

    Hi. I installed the plugin (put it into my plugins folder), setup rewards, and test voted but nothing happened. Any help?

  • Avatar of apc300 apc300 Jan 29, 2015 at 10:35 UTC - 0 likes

    @pepper82: Go

    can confirm!

  • Avatar of pepper82 pepper82 Jan 18, 2015 at 18:05 UTC - 0 likes

    Will this plugin work with spigot 1.8.1 ?


    German Minecraft Server [RPG][PVP][SURVIVAL][+MANY FEATURES]
    Minecraft RPG Survival PvP Server

  • Avatar of Minecraftian_Servers Minecraftian_Servers Nov 28, 2014 at 23:53 UTC - 0 likes

    Hey, you should really do the To-Do's soon :L

  • Avatar of Adzdon Adzdon Aug 29, 2014 at 22:25 UTC - 0 likes

    Been using this plugin for quite a long time, and will be using it till the end. But you need to update it with the following 'to-do' :$

    http://i.imgur.com/Les9NXV.png
    Come and join the Adventure, Survival - Prisonbreak - Creative
    IP: play.blazecraft-mc.net

  • Avatar of werte12345 werte12345 Jul 26, 2014 at 08:10 UTC - 0 likes

    Hi, I got a few questions on your plugin:

    1. My developer setup the actual version of the plugin (2.6), I confirmed it while looking in the jar-file / plugin.yml, but my config looks compleatly different - no version-stuff at the beginning etc

    1. Sends private message to the voting player. private-message: '&6[&4Vote&6] &aDanke für das voten!'
    1. Sends public broadcast to server. public-message: '&6[&4Vote&6] &e%name% hat auf minecraft-server.eu für uns gevotet'

    2. If i use the variable 5votes% in my config, it don't work - ...?!

    3. Is there any method to readout Playerpoints in the messages of SVL?

Facts

Date created
Jan 21, 2013
Category
Last update
Apr 06, 2013
Development stage
Beta
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Simple Vote Listener
Downloads
43,485
Recent files

Authors