1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-25 09:32:13 +01:00
Commit Graph

226 Commits

Author SHA1 Message Date
Zrips
c92c9fe95d Option to ignore ore generators
Some config rearrangements for block protection
2021-07-15 16:39:19 +03:00
Zrips
4f87750bfa Optimizing block ownership 2021-07-15 13:11:35 +03:00
montlikadani
9b8ee92c36 Improve enchantment recognition in cmilib 2021-06-20 19:05:53 +02:00
Zrips
d13ae1b074 ScoreBoard move into CMILib 2021-06-20 16:46:14 +03:00
Zrips
3d429e7cb9 Initial transition towards CMILib 2021-06-20 13:24:49 +03:00
Zrips
da807bef5e Removing NMS dependencies, more future version friendly 2021-06-20 11:47:03 +03:00
montlikadani
ecb189b03e Improved worldguard protected region retrieving 2021-06-14 15:12:31 +02:00
montlikadani
b55af27db2 Added one more try clause to make sure adventure is from paper 2021-06-10 11:21:30 +02:00
montlikadani
68b7630500 Implement global max owner ship permission for all known furnace types
Closes #1073
2021-06-03 17:13:21 +02:00
montlikadani
182039647c Fixed array index out of bounds exception 2021-05-28 20:41:08 +02:00
montlikadani
8d65bb7b7e Call BlockBreakEvent in any way when cancelled or not
Fixes #1194
2021-05-26 21:45:22 +02:00
montlikadani
417738f2e3 Extend job comparison by name 2021-05-23 16:28:33 +02:00
montlikadani
5f3b8526c7 Invert condition here 2021-05-16 14:08:46 +02:00
montlikadani
8dc1bf80da Improved displaying player's quests in console 2021-05-15 19:36:12 +02:00
montlikadani
b5318089d9 Removed unnecessarily stored jobs world ids now we uses from the object 2021-05-15 18:40:12 +02:00
montlikadani
c81489f862 Call JobsLevelUpEvent when promoting or adding levels to players
Fixes #1168
2021-05-13 16:42:29 +02:00
Zrips
7ba66de4fe Ok, job name is its identification, we HAVE to return jobs key name and
not full name which can be different
2021-05-07 15:24:34 +03:00
Zrips
04b426c806 We need to detect job by jobs key name too 2021-05-07 15:19:49 +03:00
montlikadani
327da4fa3e Use the deprecated methods to set item name or lore to support CMI's gradient colors 2021-05-06 20:45:39 +02:00
montlikadani
21ff1801cd Some things 2021-05-04 14:50:28 +02:00
montlikadani
7f6fb86335 Added option to hide item attributes in jobs gui 2021-05-02 12:44:52 +02:00
montlikadani
81ed5d14af Remove HookPlugin abstract class 2021-04-29 19:28:59 +02:00
montlikadani
36075276f8 Improve minimum overal payments conflicting with only money limit 2021-04-29 18:05:18 +02:00
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