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
@Tealk123
I'm not sure what you are asking. JCVaultListener does not use permissions at this time.
is it possible to switch permissions group for bpermission?
@xSkivy
Please Votifier's Troubleshooting Page.
Whenever I try launching my server with EssEcoListener and Votifier, I get this error. "[SEVERE] [Votifier] Error initializing vote receiver. Please verify that the configured" Anyone help?
@Patolord
Dollars to doughnuts, chances are that your answer lies in the first paragraph and Problem Source #2 of Troubleshooting VaultListener
@DCC_23
If VaultListener is installed properly, you should see its initialization messages in the logs.
Make sure VaultListener.class is in the plugins/Votifier/listeners directory? If it is in the correct location, check Votifier's config.yml and see what value listener_folder is set to; it should be plugins/Votifier/listeners.
Why when I restart my server with the VaultListener.class do I not get this config file in the /votifier folder? I don't get one at all. Why would it be doing this? Also, is there a place I can download one if It is not giving me one?
No errors in the console! Minestatus say it was sucessfully able to ping Votifier! Im using VaultListener with latest vault and votifier!
My votifier is working 90% Fine except it doesnt grant the Money or the broadcast Message
What is Happening!?
Greetings:
I just wanted to let everyone know that over the next week, we will be working on many of our plugins, one of which is VaultListener. We plan on folding in the ability to pay different amounts based on voting service and adding a few other refinements. We'll also take a look at past posts to see if we missed any important requests. If you have one, we ask that you make our job a bit easier and bump it up or re-post it - better yet, post it as a Feature Request in Tickets.
One of our next goals is to work with Votifier developers to implement more detailed diagnostic messages to help point out to sysadmins where problems really are. In many cases, a mirror would do the trick, but we just say that in jest. Even the seasoned among us sometimes don't see the forest for the trees. Our goal is to figure out a way to help those willing to do so, help themselves.
@Keseff
Please don't take this personally Keseffm but this is a regularly posted question concerning Votifier. Please read the posts to find your answer. Hint; Its not a VaultListener issue.
Tested on Minestatus, says successfully communicates with server however no votes are counting.
@AirCougar
Bad padding errors are a Votifier issue. See their troublshooting page for more details.
Hello i got this error, im not sure if its with Votifier or this listener, so I thought i would start here. http://pastebin.com/L5NnH209 Thanks, my config is this http://pastebin.com/9ksUL2RA, and im using EssentialsEcon
Suggestion: If a player has not voted, the player will have messages sent to them every 2 minutes telling them to vote.
Config : True True or False
Hope it helps, just an idea ;)
@n3wton
Your suggestion is appreciated. I will add that to the upcoming release. I've just returned from an extended, unplanned business trip, so it will take a couple of days before I can commit a new release.
@Gunnerrrrr
By reading VaultListener Configuration
Hey thanks for this. Just wondering if you can add it so it only broadcasts messages if a player has actually been on the server. The problem is, people sometimes use abusive messages as there ign on voting sites.
So it would be nice to have something like,
if (plugin.getServer().getOfflinePlayer(ign) == null) return;
I tried adding that in to the on vote method, but I don't think I build the class file correctly.
So either adding it, or some advice on how to compile it would be great.
Cheers, N3wton
How do we use the multi-line in the in-game broadcast?
@etherz10
I like your suggestion. I'm on the road for the rest of the week, but I will give it a closer look when I return.
@etherz10
I have the same idea... Different voting sites hold different 'vaules' and prestige, so it would be kind of nice to be able to change the rewards that players get per site.
Service-specific rewards would be nice! :D