VoteChecker


Description

VoteChecker allows players to see their vote tallies and see how they stack up against other people. This plugin reads in the 'votes.log' from Votifier, and requires nothing else. VoteChecker was originally made for a private server I play on, and decided to put on Bukkit Dev hoping that other people might find it useful. This plugin also allows for competiveness against other players, boosting your server popularity. WARNING: You must have java 7 or higher or this plugin will not load.

Commands

/vhelp - list commands
/vcheck <player> - lets player check his or other players total tally of votes (defaults to command executor if '<player>' is not provided)
/vtop <month> - displays top ten players of a month, NOTE: see Setup for instructions
/vlist <page numer> - allows players to scroll through all players vote tallies, allowing them to see their place against other players
/vtotal - allows players to see that total amount of votes for this server

Permissions

  • votechecker.* (permissions correspond to commands)
    • votechecker.vhelp
    • votechecker.vcheck
    • votechecker.vtop
    • votechecker.vlist
    • votechecker.vtotal

Setup

Although '/vtop <month>' allows players to see the top voters of a month, you have to manually setup the dividers between months in the votes.log. To do this, first put '<month <name>>' to state a new month in the votes.log, like this:

<month july>
Vote (from:Minestatus username:Anonymous address:217.146.110.73 timeStamp:2012-06-14 12:52:07 -0700)
Vote (from:Minestatus MCQuarterly Promo username:Anonymous address:217.146.110.73 timeStamp:2012-06-14 12:52:08 -0700)
Vote (from:PlanetMinecraft.com username:masktails address:82.17.16.124 timeStamp:1339705299)
Vote (from:Minestatus username:Randude14 address:82.17.16.124 timeStamp:2012-06-14 13:22:13 -0700)
Vote (from:Minestatus username:Randude14 address:76.181.99.169 timeStamp:2012-06-14 13:24:27 -0700)
Vote (from:Minestatus MCQuarterly Promo username:Anonymous address:76.181.99.169 timeStamp:2012-06-14 13:24:27 -0700)
Vote (from:Minestatus username:armyman104 address:71.222.98.77 timeStamp:2012-06-14 13:26:02 -0700)

The plugin will read to the end of the file, but when you do reach the end of the month, simply put '</month>' at the end, like this:

<month july>
Vote (from:Minestatus username:Anonymous address:217.146.110.73 timeStamp:2012-06-14 12:52:07 -0700)
Vote (from:Minestatus MCQuarterly Promo username:Anonymous address:217.146.110.73 timeStamp:2012-06-14 12:52:08 -0700)
Vote (from:PlanetMinecraft.com username:masktails address:82.17.16.124 timeStamp:1339705299)
Vote (from:Minestatus username:Randude14 address:82.17.16.124 timeStamp:2012-06-14 13:22:13 -0700)
Vote (from:Minestatus username:Randude14 address:76.181.99.169 timeStamp:2012-06-14 13:24:27 -0700)
Vote (from:Minestatus MCQuarterly Promo username:Anonymous address:76.181.99.169 timeStamp:2012-06-14 13:24:27 -0700)
Vote (from:Minestatus username:armyman104 address:71.222.98.77 timeStamp:2012-06-14 13:26:02 -0700)
</month>

Links


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    41447
  • Created
    Jul 1, 2012
  • Last Released File
    Jul 4, 2012
  • Total Downloads
    3,548
  • License

Categories

Members

Recent Files

Bukkit