1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-20 07:01:22 +01:00
Commit Graph

73 Commits

Author SHA1 Message Date
Zrips
89d6e78551 Trying to avoid issues with missing limit data 2017-05-11 11:13:51 +03:00
Zrips
c90df76f3c Update players name in real time 2017-02-15 12:23:24 +02:00
Zrips
b98c0b87d6 Correct way to calculate finall income when it negative 2017-02-15 11:18:04 +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
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
9a5863c7f0 fix locale for limits and convert ticks to left time 2017-01-13 17:25:11 +02:00
Zrips
2e68508b9b Add option to use negative values for boost calculation 2017-01-13 15:10:55 +02:00
Zrips
6062d403e2 Small changes 2017-01-11 19:21:33 +02:00
Zrips
c490e34fc6 Allow to set bossbar bar colors by jobs 2017-01-11 13:28:59 +02:00
Zrips
6e9da41829 Add optional requirement for jobs shop items by RequiredTotalLevels 2017-01-10 18:53:13 +02:00
Zrips
28df77bbf0 Update permission boost by force when checking with command 2017-01-10 17:28:35 +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
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
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
40741d1a7d Check block type for fast pay to avoid paying for different block types 2016-12-02 15:00:58 +02:00
Zrips
9863b4719f Default permission boost is 0D, not 1D 2016-12-01 17:00:20 +02:00
Zrips
b518f7f6ff Check for null plaayer data 2016-11-20 11:53:19 +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
068b71ad2d Properly use titles for jobs by their job name 2016-10-01 13:23:30 +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
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
e5929191a3 Preload all player data 2016-08-05 13:28:31 +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
f19b715968 Final touches 2016-06-26 16:12:44 +03:00
Zrips
d516879a5f Cleanup 2016-06-25 18:56:59 +03:00
Zrips
fbb0bfee90 Cleanup and some fixes 2016-06-25 16:27:01 +03:00
Zrips
324b4dc0b4 properly close connections 2016-06-25 15:51:21 +03:00
Zrips
e7a30ec608 Just pushing throw 2016-06-25 10:13:06 +03:00
Zrips
c9d6e306f1 New mob names 2016-06-15 20:30:21 +03:00
Zrips
445e30e407 mysql fixes / recalculate boost on command / disable autojoin if needed 2016-06-15 13:27:43 +03:00