1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-02 15:33:30 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Zrips
e9187ad9fa Clone map to avoid issues 2017-02-04 18:30:13 +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
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
735c49909f When getting final amount, keep in mind for negative values 2017-01-13 17:14:49 +02:00
Zrips
6062d403e2 Small changes 2017-01-11 19:21:33 +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
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
f5452e2e41 Rework for payment limitations and now saving to database 2017-01-10 13:48:40 +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
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
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
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
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
e5929191a3 Preload all player data 2016-08-05 13:28:31 +03:00
Zrips
abd18fae7d Wrong access for jobsPlayer 2016-08-04 17:35:26 +03:00
Zrips
6344fc0d6b Just 2016-08-04 16:16:35 +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
5414133dc3 do same stuff for leaveall as for regular leave 2016-06-27 14:52:46 +03:00
Zrips
7feced2529 Catch exception for boss bar feature to avoid failing payments 2016-06-27 14:25:23 +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
a8466e5e2f Call expgainevent before payment and don't continue if event is
canceled, set it to 0 and let it to do its thing.
Optimize for boost permission check on each action. Calculate only every
one minute if needed.
Try to create points table every time, to avoid missing table.
2016-06-12 15:42:33 +03:00
Zrips
5bc42e209f Fix for issue with mysql data base
expgainevent fix
2016-06-11 09:03:01 +03:00
Zrips
b6bf2ad4b6 update for 1.10 and stuff 2016-06-09 18:35:24 +03:00
Zrips
f2c4f39322 More robust data base update process / compatability with multy servers 2016-04-21 14:47:10 +03:00
Zrips
0d39b83495 updated translatable names / some changes in sqlite 2016-04-10 14:02:28 +03:00
Zrips
2f2a6caf87 Auto job join 2016-04-05 17:43:55 +03:00
Zrips
3043a17155 Tr locale, some fixes 2016-04-05 15:42:48 +03:00
Zrips
e394f045db Include job in expGain event 2016-04-03 20:36:39 +03:00
Zrips
c7875d9b4c Stuff and stuff 2016-04-03 17:22:44 +03:00
Zrips
5847619458 3.0 update 2016-03-30 16:42:36 +03:00
Zrips
f5f62f26b4 payment for exploring map 2016-01-09 14:58:33 +02:00
Zrips
19f9175072 Code cleaning and preventing self killing income 2016-01-06 15:40:27 +02:00
Zrips
73ed579dcb mcmmo skills and minimum payment 2015-12-21 19:31:18 +02:00
Zrips
8f129bc217 2.54.1 update 2015-12-10 15:13:57 +02:00