1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 20:45:55 +01:00
Commit Graph

120 Commits

Author SHA1 Message Date
Zrips
2b14078860 New option to prevent payment if player is not doing enough damage to
monster
2017-01-11 13:12:58 +02:00
Zrips
798294070b Dont break after rewarding first job. Just in case... 2017-01-10 18:59:59 +02:00
Zrips
6e9da41829 Add optional requirement for jobs shop items by RequiredTotalLevels 2017-01-10 18:53:13 +02:00
Zrips
75a5ff8c53 Allow customization of back and filler for gui 2017-01-10 18:25:51 +02:00
Zrips
30b6c547dd set GUI size to max so we can prevent mouse jumping by simply replacing
inventory content on clicks
2017-01-10 18:19:45 +02:00
Zrips
08748d4dc3 Clone explorer hashmap before recording, to prevent
ConcurrentModificationException
2017-01-10 17:31:49 +02:00
Zrips
28df77bbf0 Update permission boost by force when checking with command 2017-01-10 17:28:35 +02:00
Zrips
dd6806ac2d Stop checking if plugin is disabled 2017-01-10 17:07:19 +02:00
Zrips
f307a747b6 new command to check item info for usage with plugin 2017-01-10 16:52:06 +02:00
Zrips
7edb06d6d6 new command to print out all posible entities to be used with plugin 2017-01-10 16:36:20 +02:00
Zrips
14bfe9998a Flase if job is non existant 2017-01-10 16:25:02 +02:00
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