1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00
Commit Graph

1625 Commits

Author SHA1 Message Date
Zrips
0964e5b32b Picking higher permission node for jobs.maxquest 2022-08-08 14:31:30 +03:00
Zrips
f8d94952bd Jobs join should go after JobsJoinEvent being fired 2022-08-08 12:53:57 +03:00
Zrips
7c7b269e7d Quest detailed progress being reset after plugin reload fix 2022-08-08 12:51:46 +03:00
Zrips
dfab76b273 Fixing null player for bossbar message 2022-08-08 12:28:13 +03:00
Zrips
2056525a16 Option to translate potion/tipped arrow effect names 2022-08-08 12:25:54 +03:00
Gamer153
b9f5b40b46
Add config option for preventing enchantments on shop items 2022-07-27 16:59:49 +02:00
Zrips
2cb31390d2 Translated Words FR update by Funky_russian_warpack 2022-07-26 12:42:01 +03:00
Zrips
aa79cb2e1c Double flower protection fix 2022-06-24 16:25:21 +03:00
Zrips
9e6a5efc17 Forcing batch payment delay to 1 or more seconds. 2022-06-24 13:26:06 +03:00
Zrips
6822508631 Disabling item enchant for boosted items in anvils 2022-06-24 13:02:58 +03:00
Zrips
5e001047ad Better scheduler loading with better feedback messages on failure 2022-06-24 12:31:40 +03:00
Zrips
3a2b60db89 PetPay fix for mythicmobs plugin 2022-06-22 17:35:08 +03:00
Zrips
6dd5ff0907 Fix for constant message flood for brewing stand payments being disabled
New option to disable messages informing about disabled payments from
blocks
2022-06-22 17:14:47 +03:00
Zrips
3d2f4d710a Locale cleanup. We can use most common things from CMILib locale 2022-06-22 15:51:48 +03:00
Zrips
b48eb48ea9 Player display name support for locale files by using
%playerdisplayname% variable
2022-06-22 13:45:08 +03:00
Zrips
f70027708e Centralizing event listener register to avoid issues
Fixing issue with chat entry no longer being recognized after plugin
reload
2022-06-22 12:41:35 +03:00
smuddgge
4586a07d7a Removed redundant listener 2022-06-01 18:28:19 +01:00
Zrips
1711056844 Fixing convert command feedback message 2022-05-26 16:01:19 +03:00
Zrips
c8a811ca6e New placeholders to get quest real name and description 2022-05-26 13:36:30 +03:00
Zrips
4341e2a333 Sorting jobs alphabetically, mainly for GUI purposes 2022-05-26 12:45:42 +03:00
Zrips
ab07c80b62 Closing existing database connection on plugin reload to properly
reconnect with new information if needed
2022-05-26 12:27:23 +03:00
Zrips
a50af311d0 Different method to get player boost value for placeholder 2022-05-26 12:20:07 +03:00
Zrips
c3ef100910 Lets inform only once for disabled payments until relog 2022-05-25 17:25:34 +03:00
Zrips
0fab191980 Lets deal with relative chunk coordinates
Changed base save mechanic for explorer, mainly Long type got converted
into Short which decreases memory usage.
Fixing general issue relating to incorrect chunk detection for explorer
job
2022-05-25 17:12:09 +03:00
Zrips
b69a4f1397 New option to multiply by extra bonus values instead of adding up
Extra information line for final bonus line to show actual bonus
including petpay and nearSpawner values
2022-05-25 14:20:18 +03:00
Zrips
2689a69c78 Simplifying method to get jobs player by name to avoid web calls 2022-05-25 13:00:50 +03:00
Zrips
9694b6b0a5
Merge pull request #1426 from KermX/patch-1
Update farmer.yml
2022-05-25 12:07:52 +03:00
Zrips
3352527434
Merge pull request #1422 from Krakenied/master
Fix experience sorting (do not sort alphabetically lol)
2022-05-25 12:07:35 +03:00
Zrips
1b85ade74a Fixing issue with database table existence detection (Thanks to CrySis) 2022-04-22 12:16:58 +03:00
Zrips
a984589dce MythicMobs 5.x support 2022-03-21 14:59:24 +02:00
Zrips
c6438684fa Stats command fix 2022-03-21 14:58:50 +02:00
KermX
f59c84e283
Update farmer.yml
removed pumpkin-7 as that isn't a block. added melon to break.
2022-03-17 17:53:10 -05:00
Krakenied
9b68671245 Fix experience sorting in top command 2022-03-15 16:19:10 +01:00
Zrips
8bd4ecaa04 Lets not spam chat with disable message 2022-03-12 13:10:33 +02:00
Zrips
1f98b5fb2b Removing /jobs quests next command 2022-03-11 17:51:17 +02:00
Zrips
87587d3852 Defaulting to save on disconnect with multiserver support 2022-03-11 17:11:49 +02:00
Zrips
ef3eac05bc Action name/material translation fix 2022-03-11 16:30:34 +02:00
Zrips
c18916bd56 Correct tabcomplete for give command
Getting rid of less efficient adventure String processing
Huge boost for limited item recognition process which can be up to 100x
faster than original one
2022-03-10 18:25:23 +02:00
Zrips
84be2eba79 Fixing Dynamic payments bonus not being calculated properly 2022-03-10 17:14:11 +02:00
Zrips
7e2ac97578 Better support for custom enchants 2022-03-10 13:39:39 +02:00
Zrips
7970b15d02 Properly performing all commands on each level in any case 2022-03-10 12:44:01 +02:00
YuanYuanOwO
a077578ec6
Fix some translation issues 2022-03-10 01:18:27 +08:00
YuanYuanOwO
5134a50839
update chinese transtion 2022-03-10 01:04:05 +08:00
Zrips
c4dfa50a16 Async economy should be async... 2022-03-09 15:49:07 +02:00
Zrips
b35bdd5087 inclusion of exp for gtop calculation 2022-03-09 15:23:23 +02:00
Zrips
1f691f448c Lets not remove block ownership on hopper transfer
We will only disable payments for this block until next player
interaction or server restart.
2022-03-09 14:25:51 +02:00
Zrips
ba16c1a68e Cleanup 2022-03-08 16:19:52 +02:00
Zrips
dfa564aa74 %jobsr_user_canjoin_$1% placeholder fix 2022-03-08 15:58:01 +02:00
Zrips
fe2b70bdc0 Explore data should no longer check by players name for performance
reasons
2022-03-08 15:08:11 +02:00
Zrips
3cc8183ccb WEEPING_VINES to pay out for entire broken stack 2022-03-07 17:51:03 +02:00
Zrips
2639e9802d Entity split spawned from spawners fix 2022-03-07 17:19:59 +02:00
Zrips
51657e8b9a New placeholder %jobsr_user_jprogress_$1% 2022-03-07 15:18:14 +02:00
Zrips
a811f79b1d New placeholder %jobsr_user_jmexp_$1% 2022-03-07 15:11:10 +02:00
Zrips
ffade2e7b8 Small changes 2022-03-07 15:10:52 +02:00
Zrips
1cb965c833 Lets maintain one instance of explore manager 2022-03-07 14:35:58 +02:00
Zrips
f70f2f7171 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2022-03-07 14:29:48 +02:00
Zrips
5d155f257c Cleaner help page with click command suggestion 2022-03-07 14:29:41 +02:00
chacho4
383e1b1d61 resetexploreregion is disable by default. 2022-02-15 15:40:30 +09:00
chacho4
6f6d8a17d9 resetexploreregion command is added for cleaning up explorer data of specified world. 2022-02-15 15:12:57 +09:00
Zrips
5856f9f483 More default enchanter job examples for default config 2022-02-11 17:56:47 +02:00
Zrips
f53a32e35a New command as resetquesttotal for reseting done quest counter 2022-02-11 17:18:51 +02:00
Zrips
03de00be6e PayForEnchantingOnAnvil should be true by default 2022-02-11 11:58:23 +02:00
Zrips
37a1afecb5 Correct way to check for anvil enchanting 2022-02-11 11:57:36 +02:00
Zrips
2655a1cf94 inclusion of glow_item_frame for block place action 2022-02-11 11:07:11 +02:00
François
d3d1948fc5 Avoid checking limited items if none are configured 2022-02-08 18:07:12 +01:00
Zrips
137ec98ab0 More obvious way to show that you can add more than 45 items into shop 2022-02-07 15:48:12 +02:00
Zrips
faa72b80ac
Merge pull request #1374 from MisterFrans/dev-asyncbossbar
Added option to switch bossbar creation and management to async
2022-02-07 15:30:26 +02:00
Zrips
a0ed0d703a
Merge pull request #1379 from Elioby/master
Resolves #1377
2022-02-07 15:29:35 +02:00
Zrips
68b74bfa1b Plugin needs to be disabled in case we can't connect to database 2022-02-07 15:28:23 +02:00
Zrips
5f57d4aa95 Bukkit#getPlayerUniqueId isint present in spigot builds 2022-02-07 15:02:33 +02:00
Elio
c08a1ccddb
Resolves #1377
Without clearing the permissions cache, permissions that are removed will not be removed from the cache until reboot as they stay in the map.
2022-01-29 16:14:49 +00:00
François
4f553aa4fd Added option to switch bossbar creation and management to async 2022-01-24 20:59:12 +01:00
Zrips
55a0705826 Improving boost command handling 2022-01-19 17:28:12 +02:00
Zrips
3b0cfc662f Fixed timed boosts 2022-01-19 17:18:12 +02:00
Zrips
33d14cf927 skipquest command issue fix and better old server compatability. 2022-01-19 16:35:07 +02:00
Zrips
4b1e877368 Q button as alternative for 1.18 servers for job leave 2022-01-19 15:08:42 +02:00
Zrips
0811283201 extra variable as -cmd for promote commands 2022-01-19 14:49:55 +02:00
Zrips
10b5e8a438
Merge pull request #1336 from MisterFrans/master
Fix WildStacker integration
2022-01-13 13:12:08 +02:00
Zrips
f59b56b159 Cleanup 2022-01-13 13:11:35 +02:00
Zrips
a974274350
Merge pull request #1337 from DoctaEnkoda/patch-2
Fix duplication Entry
2022-01-13 13:10:54 +02:00
Zrips
b3dc1d66d7 Up 2022-01-13 13:10:33 +02:00
Zrips
a6453ff9cc Up 2022-01-13 13:06:59 +02:00
Zrips
1c0abe2568
Merge pull request #1360 from TheIntolerant/master
Added new deepslate ores to the miner job
2022-01-13 13:02:44 +02:00
Zrips
41df0ea794
Merge pull request #1357 from jippi/fix-explore-cache
ExploreRegion: Fix encoding X and Z
2022-01-13 13:02:28 +02:00
Zrips
bf69de12d4
Merge pull request #1346 from BeepoWuff/silent-mode-behaviour-fix
ActionBars SilentMode Behvaiour Fix
2022-01-13 13:01:42 +02:00
Zrips
94a61fdab9
Merge pull request #1338 from DoctaEnkoda/patch-3
Convert Database Async
2022-01-13 13:01:09 +02:00
Zrips
3fa81fcf26 Fixing permission check updater goofing out 2022-01-13 13:00:07 +02:00
Zrips
5e066dfda7 Cleanup 2022-01-13 12:37:50 +02:00
TheIntolerant
aee34684ba
Added new deepslate ores to the miner job 2022-01-12 23:00:21 +00:00
Christian Winther
a340b99349 ExploreRegion: Fix encoding X and Z
Use a long to store the two ints (x is upper and z is lower) - this is guranteed to work with any world map size out there.

It also properly handle negative values that the old implementation some times did not properly manage.

This might use slighly more RAM, but should provide support for actual infinite / huge map sizes

Signed-off-by: Christian Winther <jippignu@gmail.com>
2022-01-07 22:51:47 +00:00
BeepoWuff
7da4c0a1b3
Update ActionBars.SilentMode to behave as described in the config.
Resolves enabling SilentMode completely disabling payment notification even when action bars are enabled.
2021-12-28 16:26:20 +10:00
Bierque Jason
f1278425bc
Convert Database Async
If the database is too heavy, the main thread dies and does not convert correctly.
2021-12-16 04:23:30 +01:00
Bierque Jason
20a4c007ce
Fix duplication Entry
Fixed an issue in which players who renamed themselves lose their XP each time they restart because in the database, it duplicates
2021-12-16 04:19:41 +01:00
Mister_Frans
350c5b74da Fix WildStacker integration 2021-12-16 00:52:01 +01:00
Zrips
a527158cff ItemInfo command update 2021-11-29 17:11:28 +02:00
Zrips
dd955ec79e WildStacker fix 2021-11-29 16:47:44 +02:00
Zrips
71d24aa7dc Fix for level command showing more decimals than it should 2021-11-29 16:45:01 +02:00
Zrips
1cfc3e108c LowerCase disabled world names for better detection 2021-11-29 16:15:05 +02:00
Zrips
531b12a6fa Taking into consideration changed durability on the item 2021-11-27 17:16:21 +02:00
Zrips
33b4dfe6ce Allow payment while fishing from a boat with disablePaymentIfRiding 2021-11-27 15:31:28 +02:00
Zrips
63a8abc749 Not add permission for a world if we did it already 2021-11-26 17:46:49 +02:00
Zrips
17005f2823 Using job display name for signs instead of jobs internal identificator 2021-11-26 17:36:12 +02:00
Zrips
3d4266f80c Better blockinfo command with click suggestion option 2021-11-26 14:02:57 +02:00
Zrips
07593ca336
Merge pull request #1310 from Wrooar/master
Add spanish translation for TranslatableWords
2021-11-26 13:44:43 +02:00
Zrips
4c6c41bc52 Fixing jobs info feedback message 2021-11-26 13:39:17 +02:00
Wrooar
c287bcbee7 Add spanish translation for TranslatableWords 2021-10-28 01:40:47 -06: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
7320c1a349 Fix for jobs info command with provided action and page 2021-10-26 16:32:39 +03:00
Zrips
3f9206b389
Merge pull request #1279 from BeepoWuff/enchantment-fixes
Enchantment Fixes
2021-10-26 16:06:13 +03:00
Zrips
7ed1f6b723
Merge pull request #1280 from BeepoWuff/allow-delevel-config-never-enforced
Enforce AllowDelevel Config Option
2021-10-26 16:00:29 +03:00
Zrips
9c90e53839
Merge pull request #1294 from gecko10000/master
Make cave vines collection work with bottom-most plant as well
2021-10-26 14:11:59 +03:00
Zrips
126ace8fb0
Merge pull request #1291 from evernife/fixdescription
Fix for "jobsr_description_" placeholder not working
2021-10-26 14:10:04 +03:00
Zrips
9345b52ca2
Merge pull request #1287 from ElTuna/patch-2
Update messages_es.yml
2021-10-26 14:08:14 +03:00
Zrips
e510560ce1
Merge pull request #1286 from ElTuna/patch-1
Update messages_es.yml
2021-10-26 14:08:06 +03:00
Zrips
8cd3f4fbbe Optimizing block ownership removal 2021-10-26 14:05:09 +03:00
Zrips
be88eee903 Fixing block ownership removal by destroying block 2021-10-26 13:53:57 +03:00
Zrips
6c4923bcb2 Fix for brewing stand ownership failing to determine owner 2021-10-26 13:46:05 +03:00
Zrips
7f7003ca5f Option to show duplicate user messages. Disabled by default. 2021-10-26 12:58:52 +03:00
lteytelm
ae1cd87c10 Make cave vines collection work with bottom-most plant as well 2021-10-10 14:30:45 -07:00
Petrus
182367acd1 Fix description 2021-10-07 05:16:49 -03:00
ElTuna
141ed1bd82
Update messages_es.yml
Added a missing color code 'e'
2021-09-30 08:34:13 -05:00
ElTuna
8df24305bd
Update messages_es.yml
fixed typo
2021-09-29 17:07:19 -05:00
BeepoWuff
42232cbdc8
Enforce AllowDelevel config option 2021-09-21 03:45:21 +10:00
BeepoWuff
e9c1937953
Update quest objective matching to better match job task matching.
Allows the default enchanter quest to actually detect ARROW_DAMAGE enchantment.
2021-09-21 02:08:15 +10:00
BeepoWuff
a224545d79
Only pay for new enchantments when enchanting items with books on an anvil 2021-09-21 01:05:13 +10:00
BeepoWuff
bf58cf0766
Add explicit job info handling for EnchantActionInfo to ensure correct matching 2021-09-19 00:48:42 +10:00
BeepoWuff
a3ee77e70d
Consistent enchantment name handling between anvil and enchanting table enchanting 2021-09-19 00:10:39 +10:00
Zrips
1cf12d34a3 Permission update 2021-09-15 17:31:25 +03:00
Zrips
81072b26ec Decimal place fix 2021-09-15 17:21:38 +03:00
Zrips
bd009f78f4 Collect action should be defined by what we collect and not with what we
interact

sweet_berries
glow_berries
bonemeal
honeybottle
honeycomb
2021-09-15 17:03:00 +03:00
Zrips
2c5602ab8b Informing about lost ownership
Option to override existing ownerships
Option to set range
2021-09-15 16:02:34 +03:00
Zrips
122ee48197 New commands as ownedblocks to check or remove them 2021-09-15 15:28:27 +03:00
Zrips
06f59f70cc Block ownership fix #2 2021-09-15 13:52:28 +03:00
Zrips
7f933b5e35 GlowBerry support 2021-09-14 21:58:09 +03:00
Zrips
f7bd02aaaf Fix for editjobs setting values to incorrect location 2021-09-14 18:29:37 +03:00
Zrips
ee3e01ae18 Lets not use legacy data valus for editjob command 2021-09-14 18:15:03 +03:00
Zrips
1973a9432a More mob recognitions in case we are still runnig older servers 2021-09-14 18:10:54 +03:00
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