Added
PlaceholderAPI support.
The following PAPI placeholders are available:
Code (Text):
%salarymanager_salary% - salary amount - normal
%salarymanager_salary_formatted% - salary amount - formatted
%salarymanager_salary_reason% - salary reason
%salarymanager_salary_time% - time till next payment
%salarymanager_salary_offline% - offline salary amount
%salarymanager_salary_offline_formatted% - offline salary amount - formatted
%salarymanager_salary_offline_reason% - offline salary reason
Fixed issue where if a player was paid both their offline and online salaries (i.e when
offline-salaries-paid-when-online: true is set), only one was saved in the log.
This affected all versions from 0.3.0 up to 0.3.3.
Fixed issue with NPE in latest version due to improper order of execution when dealing with daily limits.
This affected only version 0.3.3.
Thanks go out to
@KhrysAK47 for the wonderful suggestion.
PS:
I'm always grateful for all kinds of feedback. May it be bug reports or feature requests.