Wiipay
Features:
- pay groups and players at a regular configurable interval.
- set the interval between payments.
- set the salary per group
- set the salary per user
- set a popularity bonus, awarding players for the number of players online.
- a nice payslip is displayed on the players screen every time a payment occurs.
- the default payment interval is 1 minecraft day (1200 seconds)
- Uses Vault for permissions and economy handling.
Compatibility
This plugin has been tested to work on craftbukkit [1.4.5][1.3.2], [1.3.1], [1.2.5], [1.2.4], [1.2.3] [1.1]. You must install the latest Vault plugin version, since wiipay uses it for economy and permissions.
Download
Click here to download wiipay
Commands:
- /wiipay interval <interval in seconds> : Set the interval in seconds between payments
- /wiipay setgroup <groupname> <salary> : Set the salary members of this group will receive.
- /wiipay setuser <username> <salary> : Set the salary this user will receive every payment.
- /wiipay list : Show all configured groups and their salaries.
- /wiipay pay <number of payments> : Execute 1 or more wiipay days manually.
Usage:
users: To set the salary of individual players use: /wiipay setuser <username> <salary>
groups: This plugin does not create groups, it lets you set an salary for existing groups. You need to create user groups (like admin,mod,builder etc) with permissionsEx or another permissions manager that is supported by Vault. Then use the /wiipay setgroup <groupname> <salary> command of wiipay to set the salary for that group.
Configuration
You can edit all variables set by commands in the config file: wiipay.yml. You can also set a server name in the config file. example wiipay.yml that belongs to the screenshot on top of this page:
servername: minecrafters.nl # The name of your server. currency: euros # The name of your currency. interval: 1200 # The number of seconds between wiipay payments. bonus-per-player: 0 # The number of euros every player gets for every player online during a payment. show-payslip: true # Set to true if the payslip should be shown to the users when payment occurs. show-details: true #true: Show a breakdown of the salary per group or false: show only the salary total. salary: group: # The salary of members of the listed group names, the group names must exist in your permissions plugin. builder: 100.0 kilobuilder: 240.0 player: # The salary of the player with this name. wiigor: 10.0
Background:
WiiPay is a Minecraft bukkit Plugin Made By Wiigor for the Minecraft Alliance. (minecrafters.nl and minecarts.nl)
Like many servers minecrafters.nl needed an automated system to grant players money at regular intervals. Since i couldnt find a working plugin anymore or the plugins if found were very complex, faulty or inefficient I decided to write one from scratch.
I had 3 requirements for this system:
- It should be straightforward and simple to configure. (not loads of similar commands that have a complex syntax)
- The system should be efficient and not some hog that keeps hanging when I reload. (Like some alternative timed pay plugins do)
- It will be kept simple (only one timer/ only online players get paid)
Todo:
- -improve this plugin page.
- -make a /wiipay help command to show the possible commands.
feature requests
- -add a variable per user and per group to indicate who will pay the salary of the group/user.
- -make a command for settings this variable: like /wiipay setgrouppayer <group_name> <acount_name_of_payer>
Wont do list:
- -make payment facilities for offine players.
- -add complex commands/facilities.
Changelog:
- 2012-12-08 1.1 - Compiled for java 6 (will work on java 6 and 7) Tested on 1.4.5
- 2012-12-08 1.0 - broken - Do not use Removed because of missing library file: .
- 2012-11-16 beta 0.9 - updated for craftbukkit 1.4.5
- 2012-10-09 beta 0.8 - removed the new feature of taking the currency name from economy plugin thorugh vault, due to incompatiblities of these. - made the plugin stop the task when reloading. (more reload proof) -made the commands more resilient, will give a nicer formatted error message if wrong syntax -compiled and tested on the latest versions (craftbukkit 1.3.2 R1.0, Vault 1.2.19 and iconomy 6.0 and 7.0) -/wiipay pay can now be executed more than one time. by giving the number of executions. All quantities will be multiplied. -compressed the code for even better performance.
- 2012-09-23 beta 0.7 -Wiipay will try to take the currency name you have configured in your economy plugin.
- 2012-07-23 beta 0.6 -negative salaries now possible. Displays negative values in a red and displays " You Pay". -added property show-payslip: true/false to config.yml: this turns on or off the showing of the payslip. -added property show-details: true/false to config.yml: this turns on or off the showing of details on the payslip.
- 2012-05-28 - beta 0.5 - added currency variable to config file so admins can set their own currency name. (you must manually add the currency variable it if you already had a config file) - added a popularity bonus system to reward players for the server being filled.
- 2012-03-26 - beta 0.4 - added variable servername to wiipay.yml so a custom servername can be set for display on the payslip. - compiled on java 1.6 for compatibility with people running their servers on java 1.6
- 2012-03-24 - beta 0.3 - posted on bukkitdev.
@gold23
No he can't this is a global plugin for server admins, to make sure all groups/players receive some money every day. The payments are strictly server to player or server to group Its not possible for players themself to schedule daily payments to other players. So it not possible to let players pay players or players pay groups.
Looking fine, I'm currently using cashflow for features on my server such as government jobs and welfare, but would this work for player to play? E.G. Bob is the owner of the mining company, and he wants to pay Joe $100/day, can he use wiipay for this? Thanks, gold23
@Deaf719wow
Yes it works for 1.2.5.
This plugin does not create groups, it lets you set an salary for existing groups. You need to create user groups (like admin,mod,builder etc) with permissionsEx or another permissions manager that is supported by Vault. Then use my plugin to set the salary for that group.
Does this work for 1.2.5? I am trying to set it up on my server, and it doesnt seem to pay to groups, only to players, and it doesnt let me make groups using commands.
@ Robbie
That feature is still in alpha testing. IF it works out good. I might include it in the version in bukkit.
How can I set a population bonus? I saw it on your server.
@Namulator
Well i want to keep my plugin as simple as possible. I also im very busy with study/work atm so i dont have much time to enhance it but i will take your request into account once i have time. (could be during the summer holiday) i will write down your request in my page so i dont forget it. but i dont promise i will make it. due to lack of time.
I see only one thing I would like to see... configuring where the money comes from. On my server I work hard to keep track of the money system so that money is not created out of thin air, but rather based off of resources deposited into the server banks. This mod does everything I want it to, except that I do not see a way to configure which account the money comes from. Could you add a feature for this? Perhaps the ability to have payments for different groups by different users as well. The I could have different players paying for and running different groups.
@lambik Could you elaborate more on how you would like these this tax and multiple jobs functionality implemented? For example give some example commands with parameters.
Good so far, also please add option to set up custom taxes. And there is really need to create salaries with names because it will become unable to read when user will have 5 payments and I wont know for which job.