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
@Veinlockx
Don't worry, you weren't the first to make that mistake - including myself.
@frelling
Would saying that I now feel stupid help correct this? -_-
@Veinlockx
Deleting tickets without answering them is about as useful as using a ticket system without learning how to use it. Your ticket is alive and well here. I suggest you familiarize yourself with the Filters section.
What's the point in submitting a ticket if you just delete them without answering anyway?
The listener isn't working. I've got the updated version of all my plugins and have configured them correctly + tested it through the minestatus tester.
Still nothing. What's going on?
@deleted_7536780
Thank you for all your suggestions. We regularly flog our developers when they begin showing signs of Swiss Army Knife syndrome until they once more come to understand that many small plugins doing tasks well are better than one or a few monolithic plugins that try to do it all.
I've left some suggestions in the tickets box.
If you manage to do these that would be great! as then we wouldn't need votifier classes... xD once nice easy config.
@denxerator
I'm not familiar with PMC. I use my own vote agent to cast test votes. If you could provide a link to PMC, I'll take a closer look.
Even though this is a Votifier issue, I 'm willing to help on this specific matter. Could you provide a dump of the exact error message your are getting? I'm assuming that this error is occurs when votes are received rather than with PMC, correct? The only thing I can suggest is that you make sure that PMC is using the public key to encrypt data and to verify that the public key used by Votifier and that used by PMC are actually one and the same. If you are transferring files between server and desktop you also want to make sure that they are FTPed in ASCII mode, not binary. Without further information, that's about all I can offer at this time.
Best,
Frelling
Hi, Great plugin! I love it. However, I have one problem with it. When I ping the plugin with PMC's test connection, it works, however on the console it says the wrong public key. So I deleted the RSA folder and let it regenerate, and used the new public key's for PMC. Still, same results, public key invalid. Any solutions? Thanks again!
Thank you could maybe ass item rewards aswell. I personally only use this for the broadcasting, and i have another listener for item giving. But I had to running in two seperate listeners since it bugs now and then. Please add this! You'd have yourself a super listener!
@polo3400
Not at this time. You might want to check Votifier Listener forums for one that does.
@Gunnerrrrr
Looks like you didn't update Votifier to version 1.8
@Gunnerrrrr
Don't uncomment documentation comments!! While in this case it doesn't matter, its bad practice, unless comments indicate otherwise. Go back and "re-comment" the sample default: section. You've already got your configuration set down below in the rewards: configuration section.
Can't we have the ability to chose in game items? Not money?
@frelling I'm not in a rush, so I'd rather wait (: Don't like to use more plugins, less is more :D
@bjornleijdstrom
I have created a ticket for your feature request. SQL support is in the plans, although I cannot give you an exact date. In the interim, you might want to look at some of the vote listener classes list in the Votifier Vote Listener Forums. If I recall correctly, there are one or two that perform some type of SQL logging. In the worst case you could use Votifier's FlatFileVoteListener that logs raw votes to a log file, which could be parse and imported to come up with some aggregate statistics.
Please add support for mysql; would be awesome for me to count the ammount of times a user have voted. Nice for statistics on our homepage (:
@Tealk123
Alright, I'll play 20 question with you.
1. You ask whether it is possible to switch permission groups for bPermissions?
2. JCVaultListener does not depend on any permissions.
3. Yes, Vault supports permissions, but JCVaultListener uses it as an economy interface.
4. Again, it has no configurable permissions.
If you feel more comfortable restating your question in German and provide some details as to what you are hinting at, please feel free to do so.
@frelling
because you use vault and this support permission systems so i have think you could add this