5 events will be fired:
- JobsJoinEvent
- JobsLeaveEvent
- JobsLevelUpEvent
- JobsPaymentEvent
- JobsExpGainEvent
- JobsScheduleStartEvent
- JobsScheduleStopEvent
To get players job list use:
Listjobs = Jobs.getPlayerManager().getJobsPlayer(player).getJobProgression();
for (JobProgression OneJob : jobs) {
// Do your stuff here
}
Or this if player is offline:
Listjobs = Jobs.getPlayerManager().getJobsPlayerOffline(player).getJobProgression();
for (JobProgression OneJob : jobs) {
// Do your stuff here
}
To get job list:
Jobs.getJobs();