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

203 Commits

Author SHA1 Message Date
montlikadani
c2a80802f7 Improvements 2021-04-28 16:21:37 +02:00
montlikadani
bf1d0b7a01 Get rid from storing job ids directly, now we uses the one from Job 2021-04-11 15:22:05 +02:00
montlikadani
9c0787c03d Fix when monsterDamage option does not worked
Closes #1145
2021-04-10 16:05:10 +02:00
montlikadani
bc69c4ef5a New Crowdin updates 2021-03-30 16:07:09 +02:00
montlikadani
149a71e5da Fix further issue when an event is not existent in 1.8 servers 2021-03-29 17:08:22 +02:00
montlikadani
5337e2c36d Fixed quest actions does not worked on lower case names
Now we replaces the material names to upper cased one for better match.

Fixes #1091
Fixes #967
2021-03-29 15:07:21 +02:00
Hugo5000
524d667604
Fixed Plant resetting the block protection (#1129) 2021-03-25 14:04:05 +01:00
montlikadani
51a0b4bef7 Fix when players got all jobs instead of one
Somehow updating job ids with 0 index will result to duplicate all jobs instead of updating their indexes.

- Removing static instance of Jobs class as its a bad idea, now we uses better implementation to access Jobs object
- Now the %jobsr_user_jobs% placeholder will returns all of player jobs separated with comma "job1, job2 .."
2021-03-24 16:17:00 +01:00
montlikadani
24968f2218 Fix Jobs database truncation on updating job ids 2021-03-21 17:02:42 +01:00
montlikadani
e502fa4ab5 Revert the old chat events back for fix chat placeholder replacing
Fixes #1118
2021-03-19 15:44:49 +01:00
montlikadani
4e2928460e A bit more improvements 2021-03-16 11:17:29 +01:00
montlikadani
d15c2a77d0 Perform payment synchronously for old plugins like CraftConomy
Fixes #1111
2021-03-14 14:14:26 +01:00
montlikadani
fc5c5bfd08 Trying to follow naming conventions and some cleanup 2021-03-10 19:14:52 +01:00
montlikadani
b2d88fc3d2 Apply new async chat events from paper 2021-03-02 11:06:15 +01:00
montlikadani
1413662c19 Prepare for kyori component 2021-02-26 08:45:14 +01:00
montlikadani
2faae4cf08 Improve material generation in translator file for old versions
- Block cache will not be saved twice on disable
2021-02-17 08:15:05 +01:00
montlikadani
c858b53340 Documented some of mostly used methods
Closes #1065
2021-02-02 23:04:46 +01:00
montlikadani
2ad3e54e4d Fix AbstractMethodError when some software does not supports new databases
- Improved the database shutdown process
- Slightly optimized the database calls when a player quits

Closes #1061
2021-01-19 08:35:38 +01:00
Zrips
7544eea2ac Properly loading archived jobs when running network 2020-12-17 17:16:48 +02:00
Zrips
a9540c784e Lets record BP when player places block in any situation if bp is set 2020-12-17 15:16:30 +02:00
montlikadani
ef4927c23f
Separate jobs into files (#1017)
Closes #1017
2020-12-05 16:40:20 +01:00
montlikadani
073192c3b0 Fix some database loading issues
For example if we have set up auto cleaning users, the time is already exceed and the users will not get removed from database. Somehow the database always closed on reloading plugin that caused to not perform database actions

Fixes #1007
2020-11-30 21:39:04 +01:00
montlikadani
e8eae4d4e2 Lets avoid generating all known materials in old versions
This changes will not generating 1.16 materials in 1.8 servers in the translatable file
2020-11-30 10:27:09 +01:00
montlikadani
343657db05 Now you can separate payment materials into a list 2020-11-23 20:11:21 +01:00
montlikadani
e4f2b40527 Petpay permission should now affect wolfs as tameable entity 2020-11-21 12:11:34 +01:00
montlikadani
416ad5f8e7 Calculate the max jobs variable for equations 2020-11-16 19:42:33 +01:00
montlikadani
f7313be846 Call some database things in async to do not cause server freeze on startup
Fixes #981
2020-11-05 18:26:27 +01:00
Zrips
3d48656311 Updating payment limit handling 2020-10-30 14:29:36 +02:00
montlikadani
f5d4302717 Now you can set tax permissions for money & points
Closes #455
2020-10-26 18:43:29 +01:00
montlikadani
be86d3e845 Remove these 2020-10-22 14:45:13 +02:00
montlikadani
b00a8762f3 Fix some issues related to ownership handling when disabled
Closes #972
2020-10-22 12:26:32 +02:00
montlikadani
90a7267e0d Add schedule command to enable schedules
Closes #671
2020-10-17 18:16:07 +02:00
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