This plugin rewards users for being online a specific time. By using permissions you can define multiple groups (to reward VIPs more or so..)
Note: If you want to use money reward, you need Vault.
This plugin uses a simple group system.
Every group has to be declared at the top of your config.yml.
This list NEEDS to be ordered after priority!
groups: - admin - vip - normal
Set use_vault to true, to use money reward.
Then you need to define the groups. time means the time in minutes the player has to be online to get the amount. You can also add an interest (in percent) and maxAmount (if a user's got more money then maxAmount, he won't receive paydays).
normal: time: 60 amount: 20 interest: 0.5 maxAmount: 1000 vip: time: 60 amount: 50 interest: 2 admin: time: 1 amount: 500.4843 interest: 10.68
Set use_vault to false, to use item reward.
You can choose an item by setting reward_item to its id.
Also here the groups need to get defined:
normal: time: 60 amount: 1 vip: time: 60 amount: 3 admin: time: 1 amount: 10
By creating a list restricted_worlds you can exclude the players in these worlds from being paid:
restricted_worlds: - world1 # Everybody in world1 won't get paid :( - prisonWorld # Here the same # Everybody else will get his reward
Essentials AFK support
Just set use_essentials to true, and PayDay doesn't decide afk players as online.
The message which is being sent to the player at receiving the money is customizable:
message: I gave you %a cause you were here %t minutes...
%a is being replaced with the amount(including the currency name if you use money rewarding).
%t is being replaced with the time in minutes.
You can also costumize the message sent to the player at /paycheck: The message which is being sent to the player at receiving the money is customizable:
paycheck-message: Your next payday is in %t minutes.
Also here %t means the remaining time. I think this isn't too hard at all.
/paycheck: Check the remaining time until your next PayDay.
/payday reload: Reloads the configuration file.
/payday reset: Deletes all user data.
To get a reward, a user needs to have the following permission:
Replace groupname with the name of the group ;)
If a user has multiple payday permissions, he will be assigned to the group with the highest priority (priority means the position in the config.yml).
To use /payday you need to have payday.admincommand If you find mistakes, please PM me. I'm not native English.
- Date created
- May 20, 2012
- Last update
- Feb 01, 2013
- Development stage
- GNU General Public License version 3 (GPLv3)
- Recent files