1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-30 06:23:31 +01:00
Commit Graph

109 Commits

Author SHA1 Message Date
Zrips
b0566f9ded We need to clone boost object 2017-01-10 15:32:20 +02:00
Zrips
fcbc42e043 Check for null player when he is logging off 2017-01-10 15:01:44 +02:00
Zrips
f5452e2e41 Rework for payment limitations and now saving to database 2017-01-10 13:48:40 +02:00
Zrips
ac914031d3 Make it null is name is not set properly so we can skip this job 2017-01-09 15:42:59 +02:00
Zrips
6ca08ce0f2 Use repeating task provided by bukkit instead
remove not needed date update scheduler
2017-01-09 15:25:00 +02:00
Zrips
ba6bd23b7c Get total players from each job instead of connecting to data base
divide from double value to have more accurate results
2017-01-09 15:09:02 +02:00
Zrips
4d1b78c99d Show correct bonus/penalty 2016-12-10 15:48:55 +02:00
Zrips
f7c4afc8dc Wrong penalty amount 2016-12-10 15:45:59 +02:00
Zrips
18112d6129 We dont need to check database for total players every time 2016-12-10 15:02:16 +02:00
Zrips
851d4600e1 Sort scoreboard by seting line number instead of jobs level 2016-12-02 18:40:20 +02:00
Zrips
40741d1a7d Check block type for fast pay to avoid paying for different block types 2016-12-02 15:00:58 +02:00
Zrips
458393b211 Better check for block protection when its being broken not by player 2016-12-01 18:45:08 +02:00
Zrips
9863b4719f Default permission boost is 0D, not 1D 2016-12-01 17:00:20 +02:00
Zrips
fa5c919e37 We need to clone itemstack before processing to avoid having updated
item stacks (credit for fixing it goes to BlueSoapTurtle)
2016-12-01 15:28:23 +02:00
Zrips
b518f7f6ff Check for null plaayer data 2016-11-20 11:53:19 +02:00
Zrips
5836581eec In case its not existing 2016-11-19 13:15:31 +02:00
Zrips
f24811d44a iConomy 6/7 support and moved vault as soft dependent 2016-11-19 13:11:04 +02:00
Zrips
911907818a PreLoad player data in async mode to minimize server load time
Fix for converter not finding lastseen time
Get player name from appropriate place if not defined from before
2016-11-19 10:47:40 +02:00
Zrips
e44b208fad Changing boost calculation to more clean way and more accurate 2016-11-19 10:27:43 +02:00
Zrips
d2847dd2fe No need to check special entity name anymore with new API 2016-11-18 13:29:33 +02:00
Zrips
2e0ea7a596 check if same job by its name, just to be on safe side
if multiserver enabled, load player data after some delay.
2016-10-03 13:17:41 +03:00
Zrips
27cf6147a6 fail safe for non existing levelup sound 2016-10-01 13:28:34 +03:00
Zrips
068b71ad2d Properly use titles for jobs by their job name 2016-10-01 13:23:30 +03:00
Zrips
3a46bfb491 EntityDeath issue
try to add seen collumn every time
create blocks table if not exist
sound optimization
2016-09-30 13:19:57 +03:00
Zrips
d5113847f0 Block protection 2016-09-29 17:24:29 +03:00
Zrips
4fc68817f7 Don't take more exp than player have 2016-09-23 18:06:43 +03:00
Zrips
3d42fd8a8e Don't check for global timer if regular timer has block id 2016-09-23 16:31:47 +03:00
Zrips
2285c5bc1c optimize for vergy block check 2016-09-23 16:30:22 +03:00
Zrips
388512c820 Load players information from database if multyserver support turned on 2016-09-23 16:05:31 +03:00
Zrips
b46aac7531 Return of depricated JobsPlugin class just to keep support for plugins
using this class to determine jobs plugin present
2016-09-23 15:31:33 +03:00
Zrips
80c90f1232 Dint show empty messages in action bar allow to disable them 2016-09-23 15:13:35 +03:00
Zrips
d009b5b782 When converting, include user table 2016-09-23 15:07:35 +03:00
Zrips
81a02dbbe0 We don't need to check by offline player and properly update cache on
player logout
2016-09-21 17:18:08 +03:00
Zrips
558f775b2b Check for null player 2016-08-11 17:06:25 +03:00
Zrips
7c8bfda568 Eliminating jobsPLugin class
Preload all players data for faster use on players login.
Basic code cleanup
2016-08-08 17:36:56 +03:00
Zrips
a5de493ec7 Reload honorific if its null 2016-08-05 14:10:46 +03:00
Zrips
c308e0db66 Check if sender is not null
Check if this is same job by name, not by constructor
2016-08-05 14:08:08 +03:00
Zrips
d94e2dea58 Check if item in hand is not null 2016-08-05 13:36:30 +03:00
Zrips
e5929191a3 Preload all player data 2016-08-05 13:28:31 +03:00
Zrips
a0f95b9108 Add meta at first break of it and after breaking 2016-08-04 17:42:25 +03:00
Zrips
abd18fae7d Wrong access for jobsPlayer 2016-08-04 17:35:26 +03:00
Zrips
7daa0a7a41 Option to disable player data preload, false by default. 2016-08-04 17:24:13 +03:00
Zrips
341a801528 Zombie husk is not villager, for some strange reason 2016-08-04 16:57:42 +03:00
Zrips
940115ef71 Don't check title on first run 2016-08-04 16:22:10 +03:00
Zrips
6344fc0d6b Just 2016-08-04 16:16:35 +03:00
Zrips
c7c1b6113a Include projectile into entity death event check 2016-06-29 17:57:17 +03:00
Zrips
fe2aae14ce Implementation of fast payment method
Tweaks for mcmmo abilities checker
Fix for leaveall
2016-06-28 12:33:28 +03:00
Zrips
72848342e1 pagination for /jobs info and /jobs playerinfo 2016-06-27 17:37:31 +03:00
Zrips
e9c30dba79 get entity from damage event, not from death 2016-06-27 14:59:04 +03:00
Zrips
b0a699433a Initialize PistonProtectionListener in any case 2016-06-27 14:56:01 +03:00