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

235 Commits

Author SHA1 Message Date
Zrips
5e066dfda7 Cleanup 2022-01-13 12:37:50 +02:00
Zrips
e76e9dfae0 Some minor improvements for startup log 2021-10-26 17:32:42 +03:00
Zrips
89f51b091a Database conversion fix 2021-10-26 17:14:39 +03:00
Zrips
8cd3f4fbbe Optimizing block ownership removal 2021-10-26 14:05:09 +03:00
Zrips
8fb7cd2edf Resolving duplicated player job records 2021-07-18 14:52:53 +03:00
Zrips
bbdacf8e03 PLayer data load needs to be in sync... 2021-07-16 17:58:40 +03:00
Zrips
404dcb8f1a Option to pay for block broken above original one.
Sugarcane, kelp and bamboo
2021-07-16 16:08:05 +03:00
Zrips
a110342157 Resolving issue with jobs not being recognized properly 2021-07-16 12:34:59 +03:00
Zrips
77971390cd Bringing back older (better) sqlite handling code 2021-07-15 17:26:17 +03:00
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