VaultListener
JCVaultListener
JCVaultListener is a plugin that works in conjunction with Votifier 1.8, or better, to receive voting events allowing you to reward players with currency when they vote for your server. JCVaultListener uses Vault to interface with many popular econony plugins.
Features
- Multi-economy support - iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, eWallet, EconXP, CurrencyCore, CraftConomy, AEco, and more (thanks to the great work by Sleaker and his Vault team.) See Vault for a complete list of supported economy plugins.
- Pays online and offline players instantly. No queues to get lost during server reboots.
- Custom reward amounts/types for different voting services (+).
- Two reward types:
- fixed - every player receives a fixed amount
- rate - reward is a percentage of a player's balance or a fixed amount, whichever is larger.
- Reward amount can be adorned with a prefix and/or suffix to set currency names and/or symbols.
- Optional player verification to ignore votes from players not known to your server. (+)
- Configurable messages for confirming vote and payment to player.
- Configurable broadcast message sent to online players.
- Colorized multi-line messages.
(+) New feature.
Test Validation & Verification
JCVaultListener has been extensively tested against the following components:
Problems?
If you run into problems with JCVaultListener, we'd like to hear from you. However, we expect that you do some research first. Make sure to check out the Troubleshooting JCVaultListener section; check this site's discussions and Tickets to make sure that your issue hasn't already been addressed. If not, please feel free to submit a Ticket.
Revision History
- v2.0.3 05/10/13
- Tested under CB 1.5.2-R0.1 Beta (b2771)
- 04/21/13
- Tested under CB 1.5.1-R0.2 Beta (b2754)
- v2.0.3 03/22/13
- Tested under CB 1.5.1-R0.1 Dev (b2723)
- v2.0.3 01/10/13
- Tested under CB 1.4.6-R0.3 Beta (b2586)
- v2.0.3 11/18/12
- Tested under CB 1.4.5-R0.1 Beta (b2483)
- v2.0.3 10/15/12
- Fixed what was supposed to be a simple fix. Custom messages, colors, and rewards should be functioning as expected.
- v2.0.2 09/21/12
- Minor bug fix. Periods in SERVICE_NAME were treated as configuration path separators. Path separator changed to '/'. Thank you to ModernDragoness for reporting the issue.
- v2.0.1 07/08/12
- Removed build artifacts that were causing McMyAdmin some grief.
- v2.0 06/11/12
- Converted to plugin supporting Votifier's
VotifierEvent
- Added support for custom reward configuration per voting service.
- Added optional player verification for ignoring votes from player unknown to a server.
- Eliminates potential concurrency issues with certain economy plugins
- Better error handling and diagnostics.
- Converted to plugin supporting Votifier's
- v1.1.5, 05/02/12
- Added ability to use message font styles in customized messages.
- Changed default reward_suffix from " USD" to "" (i.e. no suffix unless explicitly configured).
- Multi-line customized messages. Embed newline ("\n") in message to split into separate lines.
- v1.1.4, 03/23/12
- Cosmetic change only, no functional or operational changes.
- Payment type value is now correctly reported in configuration debug dump.
- v1.1.3, 03/15/12
- Tested and validated with CraftBukkit Beta Build 1.2.3-R0.2
- Fixed debug property not being saved when creating default configuration
- Added additional debug information for testing and verifying operation.
- Fixed messages not showing correct reward amount when using rate-based calculations.
- v1.1.2, 03/11/12
- Tested and validated against CraftBukkit beta Build 1.2.3-R0.2 (#2060)
- Added reward prefix and suffix properties to set currency names or symbols.
- Rewards can now be a fixed amount or a percentage of player's balance.
- v1.1.1, 01/30/12
- Added basic chat color support
- v1.1, 01/29/12
- Added broadcast message option to send a configurable message to all online players.
- v1.0, 12/06/11
- Initial release.
Installation
See JCVaultListener Installation
Configuration
See JCVaultListener Configuration
This doesn't work at all on my server! please help
I have the problem that when I restart my server there is no .propertie !
Just a quick comment since some have asked. VaultListener works with 1.6.x and 1.7.x.
pls update to bukkit 1.7.2
Occasionally, People are voting lets say twice, but only get the money once, It announces it in chat that they voted both times, and there's no errors in console, and the config is setup correctly (reward is fixed to 1000), but sometimes they just don't get the money.
@deathhzone
Yes works fine with 1.6.2
This works for 1.6.2 correct? Just confirming.
When someone votes on my server it doesnt give them any money it just broadcasts it someone help please
is it possible to set so if player vote 10 times they get reward some thing else better?
Is it possible, to give Money and Items?
I only see to get Money.. But I want both! (:
@TheVnChecker
You could try one of the older listener classes under Files; although you're on your own - we've stop support on the listener class version many months ago.
As long as you are using Votifier 1.8 or greater you should have no issues running our plugin version. Unfortunately, "doesn't work for me" helps you and me about as much as a screen door on a submarine. I recommend you read the configuration and troubleshooting guides should you decide to give it another try.
Do you have a "listener class file" for me? I use spigot and need a class-file for the listener folder. Plugin Listener doesn't work for me. Thank you :D
How would I make it run a command like pex user <user> timed add <permission> <lifetime in seconds> [world] so that I could give my users essentials.hat for 24 hours each time they vote?
Hey please add minecraft-server.eu to toplist it's a very good one site for listing servers.
Hi Please add this minecraft server list to the plugin MinecraftServers.org a really good one!
@Regablith2
At the top? http://dev.bukkit.org/server-mods/vaultlistener/files/10-jcvault-listener-2-0-3/
Where the hell is the download >:(
@Nikz11
You will need to get a listener that will make a log for that. This can be found on Votifiers plugin page.
"For having a log of votes, the FlatfileVoteListener can be used. This listener logs votes to a text file located at plugins/Votifier/votes.log"
Just throw that .class file into your plugins/votifier/listeners/ and it will log each vote.
Does this listener collect history?
@dotapurex1
Although, we haven't put it through its paces under 1.4.6, JCVaultListener should work.