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
- Drop SimpleVoteListener.jar into your plugins directory.
- Reload or restart your server.
- 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
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' :$
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
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?
@bgsteiner
Thanks
I have updated this to 1.7.2 and I plan on continuing this plugin after I make sure that it is ok with the developer but I may end up rewriting this from scratch and give it a new look and feel.
In my version I compacted it a little by using my own logging system that also creates log files.
You can access my builds from my Jenkins server at http://ci.steinserv.net/ And if you find any bugs or have any suggestions please use my bugtracker at http://bt.steinserv.net
Does this listener work in 1.7.9?
@xPuyttre Pleeaaassee update it so that timers continue after restarts! D:
@DeveloperCricket
kk
@LeeTheENTP
Yea but I was really hoping for the Bungeefier feature
@Bumbleboy92
Hey I am continuing the plugin i'm working on updating it now
@Bumbleboy92
The plugin works fine.
Anyone got like something close to this?
Or is anyone going to continue it??
aww man.... abandonded? fucking crap. First he says he is going to update the plugin and is letting the server owners wait about 2 months untill he says its abandonded..
Crap... abandoned...
Anyone know a good replacement? I would be very appreciative. :-P
Really interessting, first he says that version 3.0 comes out soon and he's developing it... And now the plugin is discontinued... I was waiting around 20 days now for it and checking it every day for nothing...
SVL Version: 2.6 Votifier Version: 1.9 CraftBukkit Version: #2982 Errors in console (if one is given):
Config file posted on either pastie.org or pastebin.com: http://pastebin.com/rRaTNAWF Actual problem typed and explained to best of detail: I'm not sure why, but it says it's connected, the plugin is enabled, and one of the commands are being run. I know for a fact that all the commands I entered are able to be executed because they are Essentials commands. The only command that is working is the console sending mail to the player with my edited message.
How would i enable '/vote' so that they can get the links to all voting sites?
Would it be somehow possible to block receiving rewards in specific world? Like I dont want to players receive rewards in skyblock. thx for reply
cant wait for V3.0 :D Hope Votecounter is included :)
@xPuyttre
heya, no worries. All is fine :)
Wish you luck developing it :)
Hello,
at spigot 1.7.2 votes are kinda OK , but no reward at all.
Any clues what to do?
Kind regards :)