1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-10 10:17:51 +01:00
Commit Graph

171 Commits

Author SHA1 Message Date
montlikadani
ac11fbed6a Improve job schedulers by using runTaskTimer instead of odd sync repeat
Fixes #928
2020-10-13 16:52:56 +02:00
montlikadani
674529e77a Forgot to check for version 2020-10-12 12:44:03 +02:00
montlikadani
3059833910 Rework how the brewing stand, smoker... getting registered
As of new blocks like smoker, blast furnace this owner ship registration should be reworked to make more readable and less code. In this change it has so many deprecations, but its commented out.
2020-10-12 12:42:50 +02:00
montlikadani
a85a54aa5d Add /jobs resetlimit all argument to reset limits for all players
Closes #637
2020-09-13 20:31:15 +02:00
montlikadani
274bc6e561 Do connecting to database thread safe 2020-09-12 20:46:05 +02:00
montlikadani
fe66a49c56 cleanup 2020-09-05 14:23:48 +02:00
montlikadani
40ace4f946 Added more API methods to JobsExpGainEvent
Closes #902
2020-08-28 21:04:26 +02:00
montlikadani
94f4a46cd3 Some things 2020-08-22 20:40:25 +02:00
montlikadani
57fef613d4 No 2020-08-14 11:48:20 +02:00
montlikadani
c01a56759a Initial support for 1.16.2
- Added option for block protection to allow continous break payment for ore generators

Closes #886
Closes #885
2020-08-13 17:06:26 +02:00
montlikadani
9fdbc0588d Remove useless isEnabled thing from listeners 2020-08-10 19:49:55 +02:00
montlikadani
6d21e14725 Try to fix SQLiteException when UNIQUE constraint failed for sqlite
Fixes #870
2020-08-02 18:53:36 +02:00
montlikadani
be6474e9ef Fix for new Placeholderapi 2020-07-29 10:50:01 +02:00
montlikadani
3fceed1beb Add \n newline support for jobs description 2020-07-14 08:22:12 +02:00
montlikadani
db82201051 Clean up
- Fix when points are not added to the player account, Fixes #833
2020-06-29 13:19:12 +02:00
Zrips
21fa78ee92 Updating for the 1.16 support and base color handling 2020-06-29 13:51:24 +03:00
montlikadani
1a0d87c7b2 Code cleanup
- Now %jobsr_user_points% will display only 3 digits, Closes #761
- Fix when resetting quests for all jobs
2020-06-16 09:27:28 +02:00
montlikadani
8644910fef Fixed when the db cleaning for users not works
Fixes #814
2020-06-12 08:56:15 +02:00
montlikadani
d61d2b0b6e Fix for oregenerator plugins global timer not works
Fixes #793
2020-06-11 09:42:38 +02:00
montlikadani
08af55c5f6 Revert "Lets allow 4 bytes of utf-8 chars" this causing other languages are not working
Fixes #813
2020-06-09 07:56:51 +02:00
montlikadani
a9d2bbdf9e Added option to disable payment if user reached the max level of a job
Closes #806
2020-06-01 16:53:05 +02:00
montlikadani
554eb6c941 Now the dying shulkers will add income 2020-05-24 14:05:40 +02:00
montlikadani
fbbfe46a66 Better way to check if player have the given action in jobs 2020-05-14 17:48:43 +02:00
montlikadani
91bf7eb93d Added jobs expiration time to fire players if their works times is expired 2020-05-08 12:01:32 +02:00
Zrips
d056dc8ecf Version up and some cleanup 2020-05-06 17:56:50 +03:00
Zrips
3e50e3ae5b Limiting BoassBar progress to a valid range only 2020-05-06 17:22:38 +03:00
Zrips
6a7b588c18 Fix for damager entity in JobsPrePaymentEvent 2020-05-06 14:54:55 +03:00
montlikadani
e7f7c7deb0 Fixed when the blacklist worlds not works for tntbreak action 2020-04-27 19:06:43 +02:00
Zrips
4198a28967 Lets avoid unnecessary BP on block breaks or piston moves when block was
not protected to begin with
2020-04-25 16:27:46 +03:00
montlikadani
3fc2487bfd Revert some things to prevent data losing 2020-04-16 18:55:32 +02:00
montlikadani
47280b04d0 Improve database loading 2020-04-13 17:44:14 +02:00
Zrips
fb5fad2a6c Lets show more informative bossbar 2020-04-02 18:07:38 +03:00
Zrips
891bca964a Fixing issue with same quest not being able to handle same material for
different actions
2020-04-02 15:36:31 +03:00
montlikadani
5a090c4242 Improve connecting to database 2020-03-29 18:28:21 +02:00
montlikadani
40648f2701 Use getOrDefault in some cases to make less code 2020-03-26 11:21:44 +01:00
montlikadani
9e006ebe89 Improved baking action doesn't pay enough when items are on another block
- Removed some deprecated methods
2020-03-26 09:12:39 +01:00
Zrips
b6e4b9cfb2 This is continue and not return 2020-03-25 16:08:23 +02:00
Zrips
843b07b176 Lets allow to disable each job separately in specific worlds 2020-03-25 14:08:33 +02:00
montlikadani
f9f745e63a Fix NPE when the jobs player are null during exploring chunks 2020-03-15 14:36:52 +01:00
montlikadani
fad0fcee55 Removed some redundant null checks and methods 2020-03-13 16:12:46 +01:00
montlikadani
368417d59e Correct some material ids 2020-02-15 16:55:57 +01:00
Zrips
c38fe742b4 Correcting income when we have same materials but different data values 2020-02-15 17:48:22 +02:00
montlikadani
a4c75ac575 Added option to define per-permission leave from job
- Some integer placeholders should returns 0 if the player have no jobs.
2020-02-05 16:54:43 +01:00
montlikadani
d5752453dd Fixed NPE when class instance is null 2020-01-28 18:25:14 +01:00
montlikadani
5aa4f0b763 Fixed NPE when MythicMobs plugin not found on plugin reload 2020-01-28 17:23:47 +01:00
montlikadani
8f067f4646 Fixed FileNotFoundException when using "en" locale 2020-01-28 17:18:13 +01:00
Zrips
8e08543d83 Fix for MythicMobs not working after jobs reload 2020-01-27 17:52:25 +02:00
Zrips
33c14e474c Lets initialize only when we need them. 2020-01-27 16:19:12 +02:00
Zrips
66fae7ed39 Fixing pagination 2020-01-27 12:50:42 +02:00
montlikadani
0b43b7e91a Reworked the initialization of dependencies 2020-01-26 17:48:23 +01:00