Pay players for their actual work time.
- Worktime based Salary
- Banking System support
- Exp support
- Assign permission groups while working
- Afk farming prevention
- Works great with AdvancedJobs
- Use /workshift start (permission: salary.workshift) to start your workshift.
- Use /workshift stop or /workshift end (permission: salary.workshift) to stop your workshift.
- Use /salary (permission: salary.salary) to withdraw your salary.
- You need Banking System if you want to use its support.
- You need Uconomy if you want to use its support.
A player needs the permission salary.group.YOUR_SALARY_GROUP_KEY to start his workshift.
Example: With the permission salary.group.police, the player can start his workshift for police.
You need to disable the /job alias for the /workshift command in your commands.config.xml file if you want to use it with AdvancedJobs.
To use minutes instead of whole hours just put decimal numbers like 0.5 in the config fields.
iconUrl: Url for the chat icon (default: https://i.imgur.com/YH1T001.png).
useBankingSystem: Should Banking System support be used instead of Uconomy (default: false).
useExperience: Should Experience support be used instead of Uconomy (default: false).
minHoursForWithdraw: min amount of work hours needed to withdraw your salary (default: 1).
key: Id / key of a salary group (used in the permission).
name: Name of a salary group.
permissionGroup: Permission group which is assigned to a players while they are in a workshift.
maxPaidHoursPerDay: Max work hours paid per day.
maxWorkshiftHoursWithoutBreak: Max hours a player can be in a workshift without restarting it (useful to prevent afk farming).
<salaryGroup key="police"> <name>Police</name> <permissionGroup>police.workshift</permissionGroup> <salaryPerHour>100</salaryPerHour> <maxPaidHoursPerDay>24</maxPaidHoursPerDay> <maxWorkshiftHoursWithoutBreak>2</maxWorkshiftHoursWithoutBreak> </salaryGroup>
You want a custom plugin, have questions on the product or report a bug? Feel free to contact me ;)
Game4Freak#9591 on Discord
Game4Freak on Steam