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
@LordKainzo I can certain appreciate the want for consolidating listeners. However at this time, JCVaultListener is primarily intended for giving economic rewards using any currency system supported by Vault. There have been considerations to expand JVL beyond its initial scope - in small steps - to add some regularly requested features. We'd certain could add a command capability, but it would be limited to commands that do not require a player's online presence when a vote is received; otherwise, we'd have to queue command and/or actions, which has been the bane of many other vote "listeners."
Please update this to 1.4.6?
I didn't see it, but is it possible to submit commands to be passed through as well? Trying to consolidate listeners but doesn't seem that it can do that.
@Rosiepoo284
Was that necessary? I can certainly understand that you may want to vent some frustrations, but don't go making false accusations. I will always leave room that there may be some bug or other "undocumented feature" that rears its ugly head, but given the limited information in your post, I can only surmise that this is a PEBKAC issue.
Our servers regularly receive votes from PMC and I'm certain that many of the 1000+ users of this plugin also receive votes from that site and many more. We spent a lot of time putting together configuration and trouble-shooting documents - which are available on this site. I suggest you read them.
this plugin doesnt work -nobody waste their time. I tested it for planet minecraft and server status. results : absolutely nothing
@Haha2funnyGaming
OK SO I FINALLY FIGURED IT OUT SOMEWHAT kk so i changed some stuff and i hope it works if it dosnt will you please help me...?
I really need help ive been trying to work this all night but it still dosnt broadcast or give out the money...
@Lodo12345
kebunn's issue was resolved with version 2.0.3. Please make sure you are using the most current version. Also, please read Troubleshooting JCVaultListener and follow its troubleshooting suggestions. If all else fails, open a ticket and provide a copy of your configuration and server log output generated by Votifier's and JCVaultListener's debug modes.
@DuckNukem123
Please read; or, if you have, re-read Troubleshooting JCVaultListener? It contains a lot of information intended to empower you to help yourself hunting down configuration issues. Your first focus, should be to verify that Votfier is working properly (put it in debug mode).
I'm having the same issue as kebunn. I'll repost his issue here:
I Am Having problems trying to get Jcvaultlistener to broadcast the message i want. It Just keeps Broadcasting the default message. Can Someone Please help me. Thank You messages:
Vote confirmation sent to an online player. confirm: "Thanks {IGN}, for voting on {SERVICE}!"
Payment confirmation message sent to an online player after currency units have been added to a valid economy account. payment: "{AMOUNT} has been added to your {ECONOMY} balance."
Server message that is broadcast whenever a vote is received. Only sent if broadcastVote is enabled. broadcast: "&4{IGN} Received $75 for Voting At http://tinyurl.com/PVvote"
Hey, I configure without parser errors, it says it's enabled, and votifier works, it says so on the websites that support it. However, my players are not rewarded when they vote, what's up with that? There isn't even a message! Help.
This does not work
@masteryodaaa
Your player gets 30 coins because that is what your configuration is set up for - fixed reward, 30 currency units. Change the amount accordingly to what you wish to pay out.
My players gets 30 coins why is that help please before i changed rate from 1.00 i had 0.01 they got 39 coins they are supposed to get 300 what am i doing wrong?
http://pastebin.com/ms8R82E7
I love this plugin... One thing that distracts me we the need to give a mix of Currency or Item or Currency and Item as a reward for the vote on different servers.
This would put the cream and cherry on top of a wonderful plugin.
All I can say is that I should be facing a firing squad for having let that bug slip through. v2.0.3 fixes what was supposed to be a simple fix in 2.0.2. Once again, my apologies for the delay. Real life was still pulling me in multiple directions for longer than I thought it would.
I Am Having problems trying to get Jcvaultlistener to broadcast the message i want. It Just keeps Broadcasting the default message. Can Someone Please help me. Thank You messages:
@deathhzone
I am also experiencing this. Anyone have any idea why?
I set the messages with colour codes and different text and deleted all listeners in Votifier folder but it still says it as all white text and isn't the same message as i put. Please help.
My players are just receiving 30 currency even though I changed the config to give them 5,000, any ideas why? And yes, I did send a ticket :)