1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-02 23:43:44 +01:00
Commit Graph

1537 Commits

Author SHA1 Message Date
Zrips
c7c27a7129 Fixing bossbar solid segmentation 2021-09-14 18:03:11 +03:00
Zrips
b9733e801d editquests isint a thing, not now atleast 2021-09-14 17:49:43 +03:00
Zrips
a18ba89ded Fixing block ownership after server restarts 2021-09-14 15:22:13 +03:00
Zrips
7822f9a194 Fixing explore job 2021-09-13 18:15:02 +03:00
Zrips
6a073dd68c Goat milking 2021-09-13 17:09:39 +03:00
Zrips
493f94264d Roman numbers 2021-09-13 17:01:41 +03:00
Zrips
0100f78c8b Double check for permission requirement format being correct 2021-09-13 16:44:30 +03:00
Zrips
ee4a323ddf 1.14 and up looses option to prevent slime/magma cube splits
As of 1.14 we will properly protect specific mobs on their change if
they are spawned from spawner
2021-09-13 16:36:48 +03:00
Zrips
9f1072e272
Merge pull request #1263 from WongLeyF/patch-1
fix: correct spelling of BREAK and STRIPLOGS
2021-09-13 14:41:33 +02:00
Zrips
97beb812a2 Option to modify bonus special prefix 2021-09-13 15:25:16 +03:00
Zrips
c7db265f9e Lets not remove block protection from old location on piston move 2021-09-13 15:09:43 +03:00
Zrips
8e61bf2d28 Fail safe for duplicated user entries 2021-09-13 14:45:40 +03:00
Zrips
6643a456e5 Recording player database ID at moment we got to avoid duplicates 2021-09-13 13:08:18 +03:00
WongLeyF
d2ca83f92d
fix: correct spelling of BREAK and STRIPSLOGS 2021-09-01 10:51:20 -06:00
Zrips
7a07869131 Lets not show messages of ownership while max is in negatives 2021-09-01 18:46:50 +03:00
Zrips
2127bd1be6 We need to save player information if point count changed 2021-08-30 16:04:16 +03:00
Zrips
ec00736fc3 Version command 2021-08-26 15:32:18 +03:00
Zrips
48de4cb285 Cleaning up duplicated jobs records 2021-07-19 13:02:48 +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
bf470202f4 Fixing wheat recognition 2021-07-15 14:28:41 +03:00
Zrips
4f87750bfa Optimizing block ownership 2021-07-15 13:11:35 +03:00
Zrips
509ac682ad No more legacy data load 2021-07-15 11:40:33 +03:00
Zrips
c8936fc653 Fixing damage dealth to mobs caching 2021-07-15 11:25:17 +03:00
Zrips
281542d745 Fixing creative state check by permission node 2021-07-06 13:28:01 +03:00
Zrips
88ed269041 No need to have option to hide vanished and... we actually need to hide
them
2021-07-06 13:04:20 +03:00
Zrips
cd973fd35d Food level needs to be checked by PLayer object and not HumanEntity 2021-06-24 14:42:06 +03:00
Zrips
d25086e3da MONITOR its always monitor 2021-06-21 18:15:23 +03:00
Zrips
10f9ff22a4 We HAVE to ignore canceled events 2021-06-21 17:37:49 +03:00
Zrips
51ad48fdef Optimizing permission check 2021-06-21 17:35:40 +03:00
montlikadani
2c5a906639 Use CMILib for parsing equations 2021-06-20 19:34:46 +02:00
montlikadani
9b8ee92c36 Improve enchantment recognition in cmilib 2021-06-20 19:05:53 +02:00
montlikadani
cbc22cb491 Removed unused imports 2021-06-20 18:09:20 +02:00
Zrips
d13ae1b074 ScoreBoard move into CMILib 2021-06-20 16:46:14 +03:00
Zrips
3765c336bd ArmorTypes from CMILib 2021-06-20 15:51:28 +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
aed2ad6687 Remove unused ItemBonusCache class, now we internally stores item boosts 2021-06-16 13:38:47 +02:00
montlikadani
76b050a788 So lets properly recognize materials with name and data 2021-06-14 20:43:04 +02:00
montlikadani
ecb189b03e Improved worldguard protected region retrieving 2021-06-14 15:12:31 +02:00
montlikadani
efd1c91386 Restore copying tab completion keys 2021-06-10 12:23:05 +02:00
montlikadani
b55af27db2 Added one more try clause to make sure adventure is from paper 2021-06-10 11:21:30 +02:00
MrKrakenied
018edee7bf
Remove redundant permissions (#1204) 2021-06-07 07:04:40 +02:00
montlikadani
30e09d443b Add global permission for all known furnace types
https://github.com/Zrips/Jobs/issues/1073#issuecomment-854112805
2021-06-04 16:26:23 +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
d51dc146bf Added rounded job experience placeholder
Closes #1200
2021-06-02 21:46:15 +02:00
montlikadani
70ba4ec203 Misc improvements 2021-06-01 21:14:52 +02:00
montlikadani
28b9ebfab3 Removed redundant method from PaymentData 2021-06-01 17:25:50 +02:00
KingCreator11
47f47bd3df
Fixed when some crops not displays the proper name (#1199) 2021-06-01 17:22:05 +02:00
montlikadani
03effd2e13 Check job info meta before the material name for better match 2021-05-28 22:08:13 +02:00
montlikadani
182039647c Fixed array index out of bounds exception 2021-05-28 20:41:08 +02:00
vk2gpz
f8d16fdfff
Change event priority to HIGHEST so other plugins can listen to BlockBreakEvent after Jobs (#1197) 2021-05-28 16:47:14 +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
5f5e1f7113 Add jobfullname variable to tab completions 2021-05-22 19:15:02 +02:00
montlikadani
96379db923 Cancelled event methods with ignoreCancelled annotation value will not be called 2021-05-20 16:17:44 +02:00
montlikadani
5f3b8526c7 Invert condition here 2021-05-16 14:08:46 +02:00
montlikadani
0e2621e42a Players can have multiple campfires 2021-05-16 13:57:16 +02:00
montlikadani
ae1b8b5d3c Use arraylist instantiation instead of stream collector 2021-05-15 20:16:19 +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
f61bfab4c4 Fix commands was not loaded for jobs shop
Fixes #1183
2021-05-15 18:11:21 +02:00
montlikadani
c81489f862 Call JobsLevelUpEvent when promoting or adding levels to players
Fixes #1168
2021-05-13 16:42:29 +02:00
MrMacor
e40bea99ee
Fix stripping warped/crimson stems and barks not counting for the StripLogs action (#1177) 2021-05-09 20:19:23 +02:00
montlikadani
3fdb5be9f5 Update documentation of job name 2021-05-07 15:58:22 +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
f6faa68d79 So lets change from ids to real names 2021-05-06 21:17:38 +02: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
97050a5de0 Improve using player uuids in shop gui as items 2021-05-06 10:10:47 +02:00
Zrips
735137cd04 Full example job file generation.
limitedItems section should use material names and not id.
2021-05-05 16:40:11 +03:00
montlikadani
576b42dc2e Include displayName into example job file 2021-05-05 13:11:22 +02:00
montlikadani
45dc194b81 Deprecate getNameWithColor method instead of removing 2021-05-05 13:08:02 +02:00
Zrips
01e47f457a Jobs display name 2021-05-05 14:04:03 +03:00
Zrips
ed9fe4d26e Fix for hex color codes not being processed with new chat management 2021-05-05 13:30:30 +03:00
Zrips
2f826a1cfa Merge branch 'master' of https://github.com/Zrips/Jobs.git 2021-05-05 12:57:17 +03:00
Zrips
d1ce5d7fa6 Legacy material load prevention. Initial commit. 2021-05-05 12:57:09 +03:00
LogGitDev
2282a69f29
remove duplicate text 2021-05-05 18:47:00 +10:00
LogGitDev
6b4edf7508
Fixed missing semi colon 2021-05-05 18:46:15 +10:00
LogGitDev
1896d57f93
Merge pull request #1170 from Zrips/dev
Addition of Ignore-job-max and reverse world blacklist
2021-05-05 18:33:05 +10:00
LogGitDev
867d497645
ConfigManager hotfix 2021-05-05 18:24:05 +10:00
montlikadani
ecd103e09f Clarify some event documentation and improved quests resetting 2021-05-05 08:07:35 +02:00
LogGitDev
889470ae13
Add reverse world blacklist system (#1167)
* Add reverse world blacklist system
2021-05-05 11:20:03 +10:00
LogGitDev
8399233d0e
Fixed spacing and added new line 2021-05-05 06:16:13 +10:00
LogGitDev
196d252a4f
Fixed spacing and removed default 2021-05-05 06:15:42 +10:00
LogGitDev
beaf423e00
IgnoreMaxJobs integrated into join command 2021-05-05 04:52:23 +10:00
LogGitDev
14de3d35b4
Added job container ignoreMaxJobsSection 2021-05-05 04:51:12 +10:00
LogGitDev
5cf399f22a
Add config data retrieval system for ignoreMaxJobs 2021-05-05 04:48:10 +10:00
LogGitDev
b5f36fc8da
Add ignore-job-max config section 2021-05-05 04:45:48 +10:00
montlikadani
2e210c52d8 Implement method to retrieve the actual job instead of the name
Closes #1166
2021-05-04 17:30:47 +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
3f14252cba Use toString for retrieving mythic mob name 2021-05-01 19:25:23 +02:00
montlikadani
3b83e19221 Fix when some options such as slime split not worked when spawned from any type of spawner
Fixes #1154
2021-05-01 15:36:41 +02:00
montlikadani
2089f7afbd Improve firework launching on level up 2021-05-01 15:08:32 +02:00
montlikadani
7ec1526a29 Fix when some complexed placeholders not worked 2021-04-30 12:01:12 +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
c8b4eaa479 2nd improvements 2021-04-28 21:10:34 +02:00
montlikadani
dbc0c8330a New Crowdin updates 2021-04-28 16:23:59 +02:00
montlikadani
c2a80802f7 Improvements 2021-04-28 16:21:37 +02:00
montlikadani
3239b5decf Fix NPE related to job section 2021-04-13 10:40:13 +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
cf55d7fbd7 Make sure that the chat format contains jobs variable 2021-04-02 19:18:25 +02:00
montlikadani
b7dbd08d83 Added option to set leather colors for boosted items
Closes #1080
2021-04-02 17:06:45 +02:00
montlikadani
7e5ab9bb9c Re-add StackMob support
Temporary it is solved by using flat-jar until the repository is inaccessible.

- Fixed the ordering of shop items
2021-04-02 15:14:03 +02:00
montlikadani
22f985aa88 Added option to perform specific command when a player reaches max job level 2021-03-30 20:48:27 +02:00
montlikadani
bc69c4ef5a New Crowdin updates 2021-03-30 16:07:09 +02:00
montlikadani
5c83fcbd11 Fix when Entity#isPersistent method does not exist on 1.8 servers 2021-03-29 18:38:11 +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
add9bbf34f More work 2021-03-29 15:28:15 +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
montlikadani
21305dcc7e Avoid NSME exception when ItemMeta#displayName is not added to old Paper yet 2021-03-29 14:07:47 +02:00
montlikadani
3ef805f22f Fix when some signs does not work with sign states
Fixes #1134
2021-03-29 13:00:19 +02:00
Hugo5000
3c3f41777c
Added structure grow listener to resolve block protection timer overrides (#1130) 2021-03-25 14:05:22 +01:00
Hugo5000
524d667604
Fixed Plant resetting the block protection (#1129) 2021-03-25 14:04:05 +01:00
MrMacor
f639173293
Cache entity metadatas properly (#1125)
Now we uses better caching mechanic for storing entity datas
2021-03-25 09:41:43 +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
6e144d5f02 Fix typo for soul speed enchantment
Fixes #1122
2021-03-21 18:25:40 +01:00
montlikadani
24968f2218 Fix Jobs database truncation on updating job ids 2021-03-21 17:02:42 +01:00
montlikadani
0d138d6664 Fix signs command parsing issue on click
Now on the 3rd line the trailing spaces will get removed to successfully parse for example the join command.
2021-03-20 09:54:02 +01:00
montlikadani
9df1810732 Removed old non-working translatable words files 2021-03-19 17:23:18 +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
Zrips
26d57c107e GUI title length is limited in older versions. 2021-03-17 12:46:31 +02:00
montlikadani
4e2928460e A bit more improvements 2021-03-16 11:17:29 +01:00
kikelkik
1726f4ba4b boost negative income correctly 2021-03-14 17:57:48 +01:00
montlikadani
d15c2a77d0 Perform payment synchronously for old plugins like CraftConomy
Fixes #1111
2021-03-14 14:14:26 +01:00
montlikadani
846e04539a Fix when enchanting an elytra with a book get paid without Enchant action
Fixes #1104
2021-03-10 19:46:07 +01:00
montlikadani
fc5c5bfd08 Trying to follow naming conventions and some cleanup 2021-03-10 19:14:52 +01:00
montlikadani
ab38a64fb4 Configurable encoding for mysql database 2021-03-02 21:58:14 +01:00
montlikadani
b2d88fc3d2 Apply new async chat events from paper 2021-03-02 11:06:15 +01:00
montlikadani
297b99a0ba Fix NPE 2021-02-28 07:44:03 +01:00
montlikadani
269ee4c2ca Revert back the colon, causing problems with the plants
Fixes #1096
2021-02-27 20:24:25 +01:00
montlikadani
1413662c19 Prepare for kyori component 2021-02-26 08:45:14 +01:00
montlikadani
4f475888a6 Use executeUpdate for table conversion when updating to ids 2021-02-26 08:15:39 +01:00
montlikadani
2a941c76cb Change ":" to "-" in material actions for better match 2021-02-20 15:16:36 +01:00
montlikadani
5cd8550ba9 Update job ids instead of inserting
https://pastebin.com/7icM6nWW
2021-02-20 10:40:03 +01:00
Zrips
f8e581ee2a Merge branch 'master' of https://github.com/Zrips/Jobs.git 2021-02-19 16:32:53 +02:00
Zrips
526bc78fd7 Lets ignore materials which don't exist in older versions 2021-02-19 16:32:39 +02:00
montlikadani
57c1ee9460 New Crowdin updates 2021-02-19 15:22:32 +01:00
Zrips
33bcbd6d62 Lets support legacy material data 2021-02-19 16:21:41 +02:00
Zrips
9d44da2daa We need to save jobs into archive when firing everyone from one 2021-02-19 14:52:24 +02:00
BuildTools
a451653820 Better support for custom Enchantments 2021-02-19 13:10:53 +02:00
montlikadani
36a3051452 Fix when some of materials is not generated in translated file
This can reproducible in old versions like 1.12.2, such as Andesite is not exist in Material API, but its added in 1.8
2021-02-17 13:02:37 +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
Ivan Carapovic
ff87470088
Fix fisherman getting paid for fish even if mcMMO fishing protection kicks in (#1081)
* Disable Fisherman pay if mcMMO fishing protections are enabled

- replace mcMMO dependency with the latest one (contains necessary classes)
- copy exploit protection check to fishing payment event
2021-02-15 16:58:27 +01:00
montlikadani
95169f00ab Fix sqlite exception on logs auto-committing 2021-02-10 21:37:25 +01:00
montlikadani
27645ec438 There is no limit in gui title 2021-02-09 12:06:14 +01:00
montlikadani
078c66a321 Simplify owner ship clearing 2021-02-09 10:45:44 +01:00
Zachary Moroney
cfd7f251ef
Fixed typo in the command logs for other permission (#1079) 2021-02-09 07:50:50 +01:00
MrMacor
5d90a00ea2
Fix when boosted items cache is not removed after swap items (#1076) 2021-02-07 17:53:45 +01:00
montlikadani
66e6b1451e Only remove boost if the time is not 0 2021-02-03 18:27:15 +01:00
montlikadani
ede05c85eb Use Bukkit provided PotionType 2021-02-03 18:21:02 +01:00
montlikadani
7ecb265484 Deprecated short description in jobs now we should use FullDescription
Now the FullDescription list will be printed to the gui items instead of short description. In fact, some type didn’t make sense, as even simple strings could solve new lines, but many were lazy to do it, with just two characters. So the FullDescription list will be visible on new servers that have just installed jobs or are updating the file manually.

- Added potion effect support to jobs shop to give potion item to player with the given effect type.

Closes #1064
2021-02-03 18:12:20 +01:00
montlikadani
c858b53340 Documented some of mostly used methods
Closes #1065
2021-02-02 23:04:46 +01:00
montlikadani
865bcca5c0 Fix some boost time parsing issues 2021-01-28 20:20:17 +01:00
montlikadani
1170086166 Added smoker and blast furnace placeholders
Closes #1066
2021-01-24 10:11:21 +01:00
MrMacor
9aa07160eb
Improved player inventory item boost logic (#1062)
This adds two new configuration options to generalConfig. They're modelled after "enable-boosted-items-in-offhand", called "enable-boosted-items-in-mainhand" and "enable-boosted-armor-items". As the name suggests, the former determines if boosted items in your main hand count towards your overall jobs items bonus, and the latter does the same for armor.
2021-01-19 16:37:47 +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
montlikadani
fb91fb7104 Second attempt to fix archived jobs 2021-01-16 13:41:46 +01:00
montlikadani
da5641ff37 Fix archived placeholders not worked with job name context
Fixes #1060
2021-01-16 12:38:58 +01:00
montlikadani
77295b6041 Do not create unnecessary statement when checking table 2021-01-14 22:43:42 +01:00
montlikadani
ba601dde43 We don't need anymore to sort commands by int, now it is sorted by alphabetically
This will result in a slightly faster display for list of commands
2021-01-14 22:23:06 +01:00
montlikadani
4d05be6df9 Added silent mode option to actionbars
Closes #1059
2021-01-14 10:37:10 +01:00
montlikadani
a2bd1804d7 Fixed when players job joining was not completed
Closes #1057
2021-01-13 09:28:14 +01:00
montlikadani
d335f01e22 Fixed error when some inventory types not existing in prior versions
Also updated Crowndin languages again
2021-01-08 17:07:36 +01:00
Zrips
23091b4bf2 New title type explanations for _EXAMPLE job 2021-01-06 16:48:46 +02:00
Zrips
d3d2b06685 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2021-01-06 16:00:56 +02:00
Zrips
899fe88947 Better way to handle honorific
New honorific values shorttitlejob, titleshortjob
2021-01-06 16:00:42 +02:00
montlikadani
3920fb167d New Crowdin updates 2021-01-06 12:10:18 +01:00
Zrips
49ebf6ee88 Increasing McMMO skill timer from 30 seconds to 60 2021-01-06 13:03:05 +02:00
montlikadani
b1b39a789d Added option to allow enchanting boosted items
Closes #1011
2021-01-01 16:31:38 +01:00
montlikadani
a8dd65cb4b Make payment messages display in chat if setting is disabled per config
Closes #1031
Closes #1023
2020-12-23 20:08:02 +01:00
montlikadani
89649acb9e StackMobs build seems to be working 2020-12-18 20:15:45 +01:00
Zrips
8cd5061ece Lets load points too when changing servers 2020-12-17 17:58:57 +02:00
Zrips
adf91bea98 Properly loading payment limits in multi server environment 2020-12-17 17:50:00 +02:00
Zrips
48ec2bdbf0 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2020-12-17 17:26:49 +02:00
montlikadani
ed3ce013d6 New Crowdin updates 2020-12-17 16:26:13 +01:00
Zrips
3637c77f42 Fix for log stripping 2020-12-17 17:25:53 +02:00
montlikadani
03dee3da8e Remove redundant fields from heap 2020-12-17 16:21:51 +01:00
Zrips
7544eea2ac Properly loading archived jobs when running network 2020-12-17 17:16:48 +02:00
Zrips
c97beba83d Lets remove entries of BP from database before loading if timer is done 2020-12-17 16:20:19 +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
Zrips
751b57095f Fixing bp command issue with newer server versions 2020-12-17 14:11:03 +02:00
Zrips
15ae2988e0 Fix for incorrect archive command locale source 2020-12-17 13:32:27 +02:00
Zrips
401a6d8780 Last thing for job migration 2020-12-17 13:05:35 +02:00
Zrips
3eed42cfaa Extra adjustments for job migration 2020-12-17 12:50:56 +02:00
Zrips
3f16abdc80 Fixing job migration 2020-12-16 17:31:09 +02:00
Zrips
32ffb88e9d Fix for max permission node not being taken properly when you have
multiple of those
2020-12-16 13:53:39 +02:00
Zrips
fa040ee619 Tiny clean 2020-12-16 13:34:53 +02:00
montlikadani
2e5ee5bd6f Added placeholders to show user archived jobs level and exp
Closes #1022
2020-12-15 13:42:34 +01:00
montlikadani
aa13457348 Fix when some complexed placeholders not worked 2020-12-13 18:59:37 +01:00
montlikadani
bb135043b5 Fix remained action types of job not included on the next page
Instead it duplicated the existing ones
2020-12-07 17:52:57 +01:00
montlikadani
1daf097f2e Lets load the job files
- Removed more synchronized methods
- Added slot option to example job to remind users there is sorting
2020-12-07 17:10:04 +01:00
montlikadani
d158059759 Add example job 2020-12-05 18:44:39 +01:00
montlikadani
7f9c125c55 here too 2020-12-05 17:41:00 +01:00
montlikadani
67614adc76 Get rid of some synchronized to do not slow down the server process 2020-12-05 17:30:11 +01:00
montlikadani
e3635193a5 Fix when the first time the jobs not generated 2020-12-05 17:26:07 +01:00
montlikadani
ef4927c23f
Separate jobs into files (#1017)
Closes #1017
2020-12-05 16:40:20 +01:00
montlikadani
580ce6d555 Fix NPE related to MythicMobs display name
Fixes #1015
2020-12-05 14:04:52 +01:00
Zrips
b4c52835e6 Lets keep it compatible with java 8 2020-12-01 14:23:43 +02: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
ec2d4a1846 Exclude some things from pom 2020-11-24 20:52:32 +01:00
montlikadani
891262ca00 Document some of api events 2020-11-24 20:43:58 +01:00
montlikadani
516df9ad01 Re-add this old permission 2020-11-23 20:29:00 +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
1d58e4bd66 Misc changes 2020-11-17 09:52:38 +01:00
montlikadani
e24dba84a6 Add permission based max quests
Closes #964
Closes #809
2020-11-16 21:57:09 +01:00
montlikadani
416ad5f8e7 Calculate the max jobs variable for equations 2020-11-16 19:42:33 +01:00
montlikadani
ec0670007c Add maxjobs variable to equations
Closes #883
2020-11-16 19:15:30 +01:00
montlikadani
d019cbafb1 Max jobs placeholder should return the permission value
Fixes #983
2020-11-16 18:34:25 +01:00
montlikadani
d70d2e7918 Now you can craft items in the smithing table to get income
Closes #1002
2020-11-16 18:12:57 +01:00
montlikadani
2ff77210b8 Fix when smaller boost values takes precendence over largest
Fixes #984
2020-11-13 09:08:45 +01:00
montlikadani
f55c02570e Fix nearspawner does not accepts minus values
Fixes #998
2020-11-13 08:04:03 +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
montlikadani
94189783bc Add %jobsr_user_quests% placeholder to show available quests from jobs
Closes #989
2020-11-05 16:43:59 +01:00
montlikadani
89280f05f2 Fix right clicking on cow and get paid without bucket
Fixes #991
2020-11-05 16:21:58 +01:00
montlikadani
9c34ccdcec Fix smelt action not works for some block result
Fixes #990
2020-11-05 15:11:37 +01:00
montlikadani
47c9fc4724 New Crowdin updates 2020-10-30 15:07:57 +01:00
Zrips
f58abe3827 PaymentLimit should ignore timer when checking if user is under limit 2020-10-30 15:45:22 +02:00
Zrips
3d48656311 Updating payment limit handling 2020-10-30 14:29:36 +02:00
Zrips
07e97f50ae Fixing top command skipping some of the entries 2020-10-30 12:26:04 +02:00
Zrips
383bf5da2d Fixing duplicated points records in database 2020-10-29 14:29:12 +02:00
Zrips
9adcc1593e Fix for gtop incorrect listing numbers 2020-10-29 13:40:27 +02:00
Zrips
874fd3ce5c Allow negative values for boost permissions 2020-10-29 12:40:12 +02:00
montlikadani
f5d4302717 Now you can set tax permissions for money & points
Closes #455
2020-10-26 18:43:29 +01:00
montlikadani
aebcd6bffc Do not print out exception about invalid configuration, we only need the line of the file 2020-10-26 17:38:04 +01:00
montlikadani
35fb74e2e3 Fix gtop & top sent wrong error message about usage
- Fixed gtop pagination when reached the maximum pages, but added one more

Closes #977
2020-10-24 16:46:05 +02:00
montlikadani
21673860c7 Fix different logic behavior for fast payment 2020-10-23 16:53:49 +02:00
montlikadani
22d985f0b4 Added option to send title and chat message when a player reached the max level of a job
Closes #971
2020-10-22 15:50:31 +02:00
montlikadani
be86d3e845 Remove these 2020-10-22 14:45:13 +02:00
montlikadani
f1194bfd32 Properly handle subTypes for "all" identifier
- Fix build
2020-10-22 13:10:37 +02:00
montlikadani
b00a8762f3 Fix some issues related to ownership handling when disabled
Closes #972
2020-10-22 12:26:32 +02:00
montlikadani
0c4a43e6cc Removed Boss dependency
- Fix for mushroom cow can't be milked with bowl
- Now pig_zombie will automatically changes to piglin in 1.16+ versions (for lazy peoples)
2020-10-21 17:31:32 +02:00
kikelkik
081b02c7df
Added "color-all" identifier for shear action (#970)
Closes #966
2020-10-21 17:28:19 +02:00
Futurixel
58bcb0d45a
Fix stonecutter exploit when craft action called multiple times (#965) 2020-10-18 16:32:03 +02:00
montlikadani
bc00105bde Change these 2020-10-17 18:35:40 +02:00
montlikadani
90a7267e0d Add schedule command to enable schedules
Closes #671
2020-10-17 18:16:07 +02:00
montlikadani
2c5dcbc5a1 Fix for job titles not working due to tests 2020-10-13 18:48:12 +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
4a35431be8 Fix for stripping logs not works from tests
Fixes #955
2020-10-11 16:16:01 +02:00
montlikadani
9b47a8a032 Fix for boost not shows the final boost
Fixes #950
2020-10-10 21:24:44 +02:00
montlikadani
5abfc0bb55 Now "jobs.petpay" can be denied to do not get income for killing mobs with mypet
Fixes #951
2020-10-10 21:11:32 +02:00
montlikadani
ee21d95a43 Lowercase some method names in paymentData 2020-10-08 21:02:36 +02:00
Zrips
20594c3e91 Need to be cast into int 2020-10-08 21:06:32 +03:00
kikelkik
8aff873a5b fix for #940 (stripping logs are respected as block place actions) 2020-10-05 22:21:51 +02:00
montlikadani
c8bb020587 Bump jobs version 2020-10-04 20:06:58 +02:00
montlikadani
2c369c57db Trying to fix quests
Fixes #936
2020-10-04 10:34:50 +02:00
montlikadani
6be60c1309 Entity for Tameable should return the entity not the player
Player is not Tameable, lol
2020-10-03 11:46:36 +02:00
montlikadani
0cf52b6362 Allow minus value for petpay 2020-10-02 15:12:26 +02:00
montlikadani
d5905519df Fix for useAsWhitelist not works
Fixes #929
2020-10-02 13:13:04 +02:00
montlikadani
3032802fad Fix for checking if the object is mypet
Fixes #930
2020-10-02 12:14:09 +02:00
Zrips
4dbe966f12 ArrayList more efficient for memory usage 2020-09-29 13:08:01 +03:00
Zrips
b7d50720ad Cleanup 2020-09-29 12:39:19 +03:00
Zrips
ade5fcc4f1 JobsWorld by id more faster 2020-09-29 12:24:53 +03:00
montlikadani
499045c13c Update locales from Crowdin 2020-09-28 20:29:45 +02:00
montlikadani
ae53a1227b Add option to pay for each vtrade items
Closes #571
2020-09-28 19:40:17 +02:00
montlikadani
de21c1857a This never gets null 2020-09-28 18:40:16 +02:00
montlikadani
2f37a7398c Misc simplifications 2020-09-28 18:20:47 +02:00
Zrips
ba37c1b746 Compacting explore cache 2020-09-28 18:57:15 +03:00
Zrips
b70bd4d49b Adjusting permission requirements 2020-09-28 16:21:02 +03:00
Zrips
7715864301 Fixing issue with quest chance value being opposite 2020-09-28 16:20:28 +03:00
Zrips
497673f2dc Cumulative needs to be false by default. 2020-09-28 12:45:37 +03:00
Gadse
bfba8d571b Fix max jobs, respect negated permissions, add cumulative option 2020-09-26 11:29:26 +02:00
montlikadani
2bb9d44d95 No one uses old mythicmobs 2020-09-22 17:24:39 +02:00
montlikadani
c91f88858a Added wildStacker and stackMob support to pay for stacked entities
Closes #923
2020-09-21 17:42:20 +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
2e3e86f10b Fix for shear action not works with near spawner option 2020-09-13 20:16:40 +02:00
montlikadani
02d8fa4053 Remove async operation from sql connection, it does not allows
Fixes #921
2020-09-13 19:57:44 +02:00
montlikadani
274bc6e561 Do connecting to database thread safe 2020-09-12 20:46:05 +02:00
montlikadani
78c6368c09 Fix for registered furnaces reassign value not increased
Fixes #903
2020-09-09 19:38:43 +02:00
montlikadani
54fde9353f Another fix for max jobs 2020-09-05 16:40:41 +02:00
montlikadani
6f69806bd1 Fix for maxjobs not working
Fixes #907
Fixes #909
Closes #910
2020-09-05 16:05:21 +02:00
montlikadani
9545af4dd6 Fix for combining 2 items in the same inventory
Fixes #904
2020-09-05 15:00:37 +02:00
montlikadani
fe66a49c56 cleanup 2020-09-05 14:23:48 +02:00
montlikadani
08e4893e81 Fix for TNTBreak action not works when entity type is not ender crystal
Fixes #912
2020-09-05 12:11:26 +02:00
montlikadani
e52e954843 Have some idiot who gives 99999... (lots of 9 numbers) 2020-08-31 20:08:56 +02:00
montlikadani
40ace4f946 Added more API methods to JobsExpGainEvent
Closes #902
2020-08-28 21:04:26 +02:00
montlikadani
11b6f8f140 Do not pay for piston protection
Fixes #900
2020-08-28 17:56:50 +02:00
montlikadani
f3151489be Update mythicmobs repo 2020-08-27 09:47:17 +02:00
montlikadani
e933bc3a84 Split boost times and add info about timed boosts 2020-08-26 22:06:05 +02:00
montlikadani
e560b9328f Fix for new stripped materials on 1.16.2 2020-08-26 19:15:52 +02:00
montlikadani
b776c5b4a8 Fix for duplicate keys for userids
executeUpdate -> execute

Fixes #898
2020-08-26 17:40:15 +02:00
montlikadani
96754de707 Update languages from Crowdin 2020-08-25 16:43:19 +02:00
montlikadani
126bc43e01 Fix build 2020-08-25 16:35:30 +02:00
Zrips
9b068c306c Lets recognize quests with multiple words 2020-08-25 17:21:33 +03:00
Zrips
dc85541107 Lets support Hex color codes in titles 2020-08-25 16:13:19 +03:00
Zrips
6dc5fb9ba1 Lets reload jobs limits on level up or level down 2020-08-25 14:51:14 +03:00
Zrips
9f33d3387e Correct numbering for gtop list 2020-08-25 14:34:53 +03:00
Zrips
2d2b6ccb60 We need to invert block list to properly process moved blocks bp 2020-08-25 12:59:21 +03:00
Zrips
0df98f0246 Correct command sorting order 2020-08-25 12:35:17 +03:00
montlikadani
283525e853 Trying to fix resetquest
- Fix for quest tabcomplete
2020-08-24 08:00:13 +02:00
montlikadani
4491966934 maxjobs is not a complexed placeholder
Fixes #894
2020-08-23 20:59:42 +02:00
montlikadani
958329778a Fix when the completed quests can be skipped
Fixes #863

- Added tab complete for skipquest
2020-08-23 20:34:53 +02:00
montlikadani
176eb70dd3 Fix for clickedInventory method not exists in 1.8 or oldest servers 2020-08-22 20:46:34 +02:00
montlikadani
94f4a46cd3 Some things 2020-08-22 20:40:25 +02:00
montlikadani
a1840098ba Lets add separate option for reassign smokers & blast furnace
Closes #545

- Document JobsPaymentEvent about deprecated methods
2020-08-18 19:08:43 +02:00
montlikadani
466b1ce704 Added option to pay when combining two items, like weapon or armor
Closes #887
2020-08-18 12:27:21 +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
9a6d657c61 Lets try to update total players with full job name
- Fixes #876
2020-08-11 15:23:51 +02:00
montlikadani
9fdbc0588d Remove useless isEnabled thing from listeners 2020-08-10 19:49:55 +02:00
montlikadani
4bf49034b1 Fix exploit for berries and composter when sneaking
Fixes #875
2020-08-08 14:47:39 +02:00
montlikadani
b4f0744391 Fix SQLException when the desc limit started from -1
Fixes #871
2020-08-04 18:11:53 +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
e234e6651f Update CMI library 2020-07-27 18:42:54 +02:00
montlikadani
699d6dd385 Another fix for boosts 2020-07-27 11:47:55 +02:00
montlikadani
47d4cd1258 Fix when the bonus not works correctly
https://github.com/Zrips/Jobs/issues/365#issuecomment-664134673
2020-07-27 11:19:08 +02:00
montlikadani
ba9610618a Add %jobsr_user_jtoplvl_[jname/number]_[number]% placeholder
Closes #650
2020-07-26 19:34:02 +02:00
montlikadani
f61fbfeea8 Sump up boost permissions if we have more boosts in one job
Closes #469
2020-07-25 18:33:27 +02:00
montlikadani
2a9c72ea7c Now you can use negative boosts
Fixes #365

- Locale files now accepts hex colors
2020-07-25 13:40:17 +02:00
montlikadani
0a6a2648c8 Fixed issue when the points are not loaded on join
Fixes #848
2020-07-14 19:38:33 +02:00
montlikadani
dcbe4f706a Jobs commands now works when level from or level until not specified
Closes #826
2020-07-14 08:56:13 +02:00
montlikadani
3fceed1beb Add \n newline support for jobs description 2020-07-14 08:22:12 +02:00
Joaquim Neto
92cbf5c9ad
Add %jobsr_user_title_[jname/number]% placeholder (#856) 2020-07-13 21:49:50 +02:00
montlikadani
22f3f61bfc Fix version checking
- Fix when the money/exp/points displayed more values than original. This was caused by boosted items even its not exists.
  - Fixes #851
2020-07-09 19:08:04 +02:00
Zrips
adce7558d2 McMMO fishing treasure support 2020-07-07 16:09:04 +03:00
montlikadani
41e3b30d67 Fix jobname 2020-07-07 14:44:27 +02:00
montlikadani
0b31783c84 Refactor recognizing materials to decrease the file size 2020-07-07 14:41:04 +02:00
Zrips
d151fbec0f Fix for itembonus when you have items without bonus 2020-07-07 15:27:20 +03:00
Zrips
7f485bbbc5 Fixing item bonus issue 2020-07-07 15:21:03 +03:00
montlikadani
f17dfc7c07 Also include endercrystal in edit commands 2020-07-07 13:37:05 +02:00
Zrips
d0616e873b New jobs.all.vipmaxlevel permission node 2020-07-07 14:26:22 +03:00
montlikadani
439665039b Now you can use ender crystal as killed entity
Closes #572
2020-07-07 13:18:22 +02:00
Zrips
071b70609d Compatibility with older servers 2020-07-07 14:04:23 +03:00
Zrips
e630aee35c Correct way to recognize material 2020-07-07 13:49:40 +03:00
Zrips
0a21c1308c Fixing McMMO skill issue 2020-07-07 13:11:19 +03:00
montlikadani
d30a02242d Updated language files from Crowdin 2020-07-06 15:29:01 +02:00
Zrips
2873a7fae6 Json message handle update 2020-07-06 15:58:29 +03:00
montlikadani
3c74349f69 Fix when points/money and exp displaying even payment method is disabled
Fixes #844
2020-07-05 13:58:14 +02:00
montlikadani
393cfac66f Add more pages to jobs browse
Closes #734
2020-07-05 13:17:11 +02:00
montlikadani
321c5e331a Add "%jobsr_user_points_fixed%" placeholder
Closes #843
2020-07-05 11:52:52 +02:00
montlikadani
eb978e6db8 Fix when opening browse from jobs info 2020-07-04 18:52:49 +02:00
montlikadani
ec9507e836 Now you can specify bold, italic... colors in jobs
- Fix for regeneration potion effect not works

Closes #823
2020-07-04 17:26:28 +02:00
montlikadani
6ec44a92cf Now you can add slot numbers to browse gui items
Closes #840
2020-07-04 16:43:10 +02:00
montlikadani
433f87f738 Update Words_fr.yml 2020-07-03 18:40:58 +02:00
montlikadani
6e9d7fbca2 Fix when boosted items amount not calculates the correct boosts from inventory 2020-07-02 16:40:30 +02:00
montlikadani
876d5f7af2 things 2020-07-02 15:28:39 +02:00
montlikadani
ad47d98889 Fix ArrayIndexOutOfBounds error when reading translatable_words file 2020-06-29 16:08:28 +02:00
montlikadani
ebe6db80a1 Add soul_speed enchantment 2020-06-29 13:29:37 +02:00