1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-03 07:54:07 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
Zrips
9c62c2605d Return missing method to remove shop gui viewer 2017-02-15 11:53:32 +02:00
Zrips
b98c0b87d6 Correct way to calculate finall income when it negative 2017-02-15 11:18:04 +02:00
Zrips
31ce825224 Fix for double sign click issue with off hand double event 2017-02-05 12:11:17 +02:00
Zrips
7b55e161ea Revert back to old permission check 2017-02-05 11:28:35 +02:00
Zrips
e9187ad9fa Clone map to avoid issues 2017-02-04 18:30:13 +02:00
Zrips
5612becd6f new command to reset payment limit 2017-02-04 16:53:39 +02:00
Zrips
ded9324c72 Exclude petpay ant nearspawner bonus to avoid confusion 2017-01-16 12:13:00 +02:00
Zrips
29a9b9dee9 Allow restricted area management from ingame 2017-01-15 21:28:46 +02:00
Zrips
14423470ac Fix for boonus issue when bonus is null 2017-01-15 20:43:56 +02:00
Zrips
d518b0b8a8 We can use different method to get permissions on player login as its
slightly faster
2017-01-15 11:39:12 +02:00
Zrips
1b00b90df8 Check for null 2017-01-14 22:59:25 +02:00
Zrips
54ce64d13b petpay and nearspawner new permissions to control bonus 2017-01-14 19:22:21 +02:00
Zrips
1af4c554b3 Use iterraation to prevent concurrent modification error 2017-01-14 15:20:01 +02:00
Zrips
0870a3abe2 Optimize for explorer loading 2017-01-14 14:05:32 +02:00
Zrips
d9d2a791a3 Check if player is online by actual Player object 2017-01-14 13:08:42 +02:00
Zrips
8f0d598c98 Use multiple maps so we can get more accurate data 2017-01-14 12:55:59 +02:00
Zrips
764cabd121 Update seen only on player quit 2017-01-13 17:43:36 +02:00
Zrips
2211124f4a Ok, this should be 2... not 1... 2017-01-13 17:36:34 +02:00
Zrips
86e55de3b1 check for Damageable instance before doing stuff 2017-01-13 17:34:22 +02:00
Zrips
9a5863c7f0 fix locale for limits and convert ticks to left time 2017-01-13 17:25:11 +02:00
Zrips
735c49909f When getting final amount, keep in mind for negative values 2017-01-13 17:14:49 +02:00
Zrips
b1efceccd3 Just in case 2017-01-13 16:57:03 +02:00
Zrips
83b5401fba Grab first sound if setup is failed 2017-01-13 16:55:09 +02:00
Zrips
2e68508b9b Add option to use negative values for boost calculation 2017-01-13 15:10:55 +02:00
Zrips
ddf9fbb908 Update player name together with seen to have most recent user name 2017-01-13 13:12:33 +02:00
Zrips
6062d403e2 Small changes 2017-01-11 19:21:33 +02:00
Zrips
1aa56869c2 Check for correct job when pressing in GUI to join 2017-01-11 15:29:38 +02:00
Zrips
6cb0beba8f Player online check for brew event 2017-01-11 13:33:32 +02:00
Zrips
c490e34fc6 Allow to set bossbar bar colors by jobs 2017-01-11 13:28:59 +02:00
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