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:

  1. It should be straightforward and simple to configure. (not loads of similar commands that have a complex syntax)
  2. The system should be efficient and not some hog that keeps hanging when I reload. (Like some alternative timed pay plugins do)
  3. It will be kept simple (only one timer/ only online players get paid)

Todo:

  1. -improve this plugin page.
  2. -make a /wiipay help command to show the possible commands.

feature requests

  1. -add a variable per user and per group to indicate who will pay the salary of the group/user.
  2. -make a command for settings this variable: like /wiipay setgrouppayer <group_name> <acount_name_of_payer>

Wont do list:

  1. -make payment facilities for offine players.
  2. -add complex commands/facilities.

Changelog:

  1. 2012-12-08 1.1 - Compiled for java 6 (will work on java 6 and 7) Tested on 1.4.5
  2. 2012-12-08 1.0 - broken - Do not use Removed because of missing library file: .
  3. 2012-11-16 beta 0.9 - updated for craftbukkit 1.4.5
  4. 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.
  5. 2012-09-23 beta 0.7 -Wiipay will try to take the currency name you have configured in your economy plugin.
  6. 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.
  7. 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.
  8. 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
  9. 2012-03-24 - beta 0.3 - posted on bukkitdev.

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    37875
  • Created
    Mar 24, 2012
  • Last Released File
    Nov 16, 2012
  • Total Downloads
    9,237
  • License

Categories

Members

Recent Files

Bukkit