1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-11 11:51:54 +01:00
Commit Graph

1213 Commits

Author SHA1 Message Date
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
montlikadani
cb9e7e1e12 Fixup some materials 2020-06-29 13:24:17 +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
20e54e805c Correctly handle schedulers on load
Fixes #835
2020-06-28 21:24:52 +02:00
montlikadani
c162f1a2be Correct some things 2020-06-27 13:30:04 +02:00
montlikadani
1c8316a4c1 Add 1.16 features 2020-06-27 13:21:25 +02:00
montlikadani
66a51df12b Fix issue when the actionbar not works on 1.16 versions 2020-06-25 11:55:18 +02:00
montlikadani
41b07c2f36 Fix startup issue on 1.16 servers
Fixes #829
2020-06-25 11:03:23 +02:00
montlikadani
523eecefc6 Fix when loading data for player 2020-06-24 09:43:00 +02:00
montlikadani
1e4b7aa002 Some fixes
- Fixed when crafting tipped arrows, it didn't work
- Fix when PayForEachCraft option not works
- Some null checks to prevent exceptions
- Trying to fix issue with editpoints
2020-06-24 09:27:17 +02:00
montlikadani
4d0e4be8dd Another fix when some inventory types are not exists
Fixes #825
2020-06-17 12:37:17 +02:00
montlikadani
9ae9de678b We don't need to delete jobs when inserting
Fixes #824
2020-06-17 11:54:24 +02: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
ae2b04f565 Added option to open up the jobs browse actions when you performed jobs info command 2020-06-14 21:11:21 +02:00
montlikadani
a897c43a5c Comment left behind 2020-06-14 13:30:10 +02:00
montlikadani
4d173e0623 Add ability to prevent crop resize payment when we places more cactus 2020-06-14 13:28:41 +02:00
montlikadani
b5c1516177 Fix error when grindstone and stonecutter inventories not exists in old versions
Fixes #819
2020-06-14 12:56:52 +02:00
montlikadani
daf56cd235
Delete messages_pt_BR.yml 2020-06-12 09:07:50 +02:00
montlikadani
6629971569 Updated locales 2020-06-12 09:06:40 +02:00
montlikadani
8644910fef Fixed when the db cleaning for users not works
Fixes #814
2020-06-12 08:56:15 +02:00
montlikadani
ea70a33342 Fix for bonus not adds the correct amount of boot
Fixes #600
2020-06-11 10:09:15 +02:00
montlikadani
42ce58e650 Remove this thing 2020-06-11 10:01:06 +02:00
montlikadani
d61d2b0b6e Fix for oregenerator plugins global timer not works
Fixes #793
2020-06-11 09:42:38 +02:00
montlikadani
b56a99526f Fixed issue when some enchantments are merged into another one
Fixes #816
2020-06-10 15:10:13 +02:00
montlikadani
3dbfe379aa Add examples for how to use -all sub name 2020-06-10 07:46:45 +02:00
kikelkik
0a08dcf402
Add sub name ("-all") for materials to detect all materials that same with another one like wool colors (#812)
Closes #271
2020-06-09 22:07:08 +02:00
montlikadani
c23475e1e5 Fixed when some tipped arrows not works, that have underscore "_"
- Fix when the legacy_wheat not works

Fixes #810
2020-06-09 20:07:41 +02:00
montlikadani
08af55c5f6 Revert "Lets allow 4 bytes of utf-8 chars" this causing other languages are not working
Fixes #813
2020-06-09 07:56:51 +02:00
montlikadani
a9d2bbdf9e Added option to disable payment if user reached the max level of a job
Closes #806
2020-06-01 16:53:05 +02:00
montlikadani
2608362250 Fix melon not works on newest and old versions
There was a problem when using the melon_block material on the older version (1.12) for the Break action, it did not detect even if a simple melon was specified. But on the other hand, it worked on the latest (1.15) versions.

So now the correct way is using the legacy_melon_block when using oldest mc versions.
2020-05-31 21:50:40 +02:00
montlikadani
101bd5656f Change this thing for lazy peoples 2020-05-31 17:27:33 +02:00
montlikadani
1a22e7b20e Remove debug 2020-05-25 19:50:02 +02:00
kikelkik
0c1d7893f4
Fixed when tipped arrow for crafting not works (#802) 2020-05-25 19:45:12 +02:00
kikelkik
12ffc67eed
Added tipped_arrow to pay for crafted arrows (#772)
Closes #732
2020-05-24 19:50:50 +02:00
montlikadani
554eb6c941 Now the dying shulkers will add income 2020-05-24 14:05:40 +02:00
montlikadani
db6b2bc929 Better check for slots when we have another inventory with only 1 slot 2020-05-19 17:30:24 +02:00
montlikadani
c22875bb59 Now the stonecutter will pay when cut stones 2020-05-19 17:24:31 +02:00
montlikadani
b8fdad7c60 Now the players can get income from grindstone when repairing 2020-05-19 10:07:22 +02:00
montlikadani
ebe81b6216 Fix SQLException error when saving points 2020-05-15 11:09:04 +02:00
montlikadani
fbbfe46a66 Better way to check if player have the given action in jobs 2020-05-14 17:48:43 +02:00
montlikadani
647533f57a Fixed issue when the database is not converted correctly 2020-05-14 17:32:02 +02:00
montlikadani
edfe56803a Update locales 2020-05-11 15:32:54 +02:00
Zrips
27bc14f214 Correct way to remove old explore data 2020-05-11 16:10:19 +03:00
Zrips
6acf9bee0a Fixing bossbar exp gain announcement 2020-05-11 15:56:07 +03:00
Zrips
5c6a5dcaa3 lets allow to define bossbar segment count 2020-05-11 15:15:28 +03:00
montlikadani
1942013d27 Lets load the Essentials before Jobs 2020-05-11 07:43:33 +02:00
Zrips
5a9fa84b6e Fixing quest reset on server restart. 2020-05-09 12:01:25 +03:00
montlikadani
ca459b62e9 Fix NPE error when the player uuids are null in database during loading 2020-05-08 17:31:24 +02:00
montlikadani
572e77b36f Fix NPE when the job is null in some cases 2020-05-08 12:05:48 +02:00
montlikadani
91bf7eb93d Added jobs expiration time to fire players if their works times is expired 2020-05-08 12:01:32 +02:00
montlikadani
06a4a9180d Fix LinkageError 2020-05-07 19:07:01 +02:00
montlikadani
72d93657e7 Fix issue when the gtop counting starts from 2 instead of 2 2020-05-07 18:55:27 +02:00
Zrips
70814f998b better way in showing gained exp in bossbar 2020-05-06 18:32:59 +03:00
Zrips
d056dc8ecf Version up and some cleanup 2020-05-06 17:56:50 +03:00
Zrips
8288c83d00 We need to save player data when quest is progressed or done 2020-05-06 17:54:13 +03:00
Zrips
14eeb9e73f Lets ignore WorldGuard if we never set restricted area for it 2020-05-06 17:48:04 +03:00
Zrips
3e50e3ae5b Limiting BoassBar progress to a valid range only 2020-05-06 17:22:38 +03:00
Zrips
99d88a59f0 Fixing questtop list limitation 2020-05-06 15:20:12 +03:00
Zrips
6a7b588c18 Fix for damager entity in JobsPrePaymentEvent 2020-05-06 14:54:55 +03:00
Zrips
0d89f170f1 Lets store less data in cache for block protection 2020-05-06 14:25:17 +03:00
montlikadani
338d306fe7 Lets ignore illegalstateexception when we have another scoreboard plugin 2020-05-05 15:25:25 +02:00
montlikadani
97a07c7139 Fix some NPE error on quests and entity metadata 2020-05-02 14:13:23 +02:00
Zrips
6cde42fe21 We need this check 2020-04-29 12:10:19 +03:00
Pablo Villaverde
a22c1d1bd1
Added placeholders for total, pending and completed daily quests (#764) 2020-04-27 21:57:00 +02:00
montlikadani
74a97f5d34 Lets delete the columns from explore database when the world is not exist 2020-04-27 19:33:51 +02:00
montlikadani
e7f7c7deb0 Fixed when the blacklist worlds not works for tntbreak action 2020-04-27 19:06:43 +02:00
Pablo Villaverde
bedd3e5d97
Fixed milking quests and Dye action not working correctly (#762)
- Added leather_horse_armor as a dyeable material.
2020-04-27 18:33:06 +02:00
Zrips
4198a28967 Lets avoid unnecessary BP on block breaks or piston moves when block was
not protected to begin with
2020-04-25 16:27:46 +03:00
Zrips
d967985325 Lets perform correct level actions when adding exp 2020-04-25 15:51:18 +03:00
Zrips
d47c059ef1 Better way to check for durability loss payments 2020-04-25 13:46:39 +03:00
Zrips
fa1531f763 We need to reset customLocale when going back to EN 2020-04-25 12:15:35 +03:00
Zrips
0e6a8afbb7 Lets check by more air types 2020-04-25 12:03:19 +03:00
montlikadani
e27afceded Fixed version checking 2020-04-24 10:09:40 +02:00
montlikadani
afef2dc927 Prevent players from being getting more money from beehives while sneaking 2020-04-21 11:37:59 +02:00
Pablo Villaverde
57f7b3b6c8 Fix: Quests beeing reset by making an action not on the quest. 2020-04-20 20:10:10 +02:00
montlikadani
87f180836b Added placeholder to show a player job randomly 2020-04-18 13:20:40 +02:00
montlikadani
9d69d17741 Fixed issue when the itembonus not works
Closes #745

(NBTs are shit)

- Fixed NPEs when player name are null in some cases
2020-04-18 11:44:59 +02:00
montlikadani
d16fc7e50d Fixed issue when cows milking are giving messages, even when the player was not joined to a job
Closes, #728
2020-04-17 11:33:29 +02:00
montlikadani
05b1122d66 Add permissions for quests start & stop 2020-04-17 08:46:13 +02:00
montlikadani
97ee33e46e Added sub-command to start or stop the quests for player 2020-04-16 19:47:44 +02:00
montlikadani
3fc2487bfd Revert some things to prevent data losing 2020-04-16 18:55:32 +02:00
montlikadani
2113e3441c Fixed when the TAME action not works 2020-04-16 18:41:17 +02:00
montlikadani
4115bf727a Now the command boost works again 2020-04-16 18:05:09 +02:00
montlikadani
47280b04d0 Improve database loading 2020-04-13 17:44:14 +02:00
montlikadani
a9c94d36d8 Correct cows milking 2020-04-13 15:58:11 +02:00
montlikadani
7cd0423647 Added milking mushroom cow with bowl
Closes #740
2020-04-13 15:53:03 +02:00
montlikadani
e1d22533d1 Only count the jobIds from database to prevent workers are set to 1 if there is no workers 2020-04-13 14:56:12 +02:00
montlikadani
c4d0d0101a Do not show the exp result when less than 0
Closes #737
2020-04-12 19:26:16 +02:00
montlikadani
423248105b Fixed issue when enchants not works 2020-04-09 19:36:48 +02:00
montlikadani
93bec7e234 Fix issue when the jobs guis not opened 2020-04-05 12:13:01 +02:00
montlikadani
58b045f5e3 Fix another initializer error when the #getName method is not exists in some softwares 2020-04-03 20:57:58 +02:00
montlikadani
d081da693d yes 2020-04-03 13:26:17 +02:00
montlikadani
297a89126d Move permission names to another string
- Exclude some projects in maven from other plugins
2020-04-03 13:25:29 +02:00
Zrips
fb5fad2a6c Lets show more informative bossbar 2020-04-02 18:07:38 +03:00
Zrips
a40698f543 Fixing material translations 2020-04-02 17:42:28 +03:00
Zrips
55e3eb8214 gtop command pagination fix
additional fix for sign updates after adding new sign
2020-04-02 17:22:20 +03:00
Zrips
d1d467bc0d Tamed entity should be alive... 2020-04-02 16:46:21 +03:00
montlikadani
2ba71946ca Updated locale files 2020-04-02 15:28:14 +02:00
Zrips
823f89707d Fixing broken sign updates 2020-04-02 16:24:39 +03:00
Zrips
891bca964a Fixing issue with same quest not being able to handle same material for
different actions
2020-04-02 15:36:31 +03:00
montlikadani
22d7b482b5 Temporary remove boost timers
- Fix issue when the quest does not contains "," char will not added the correct values to the list
2020-04-02 13:50:42 +02:00
montlikadani
5177ee2213 Fixed slow data loading error
The slowness was caused by saving to a continuous database, so a method ran multiple times
2020-03-30 11:52:37 +02:00
montlikadani
5a090c4242 Improve connecting to database 2020-03-29 18:28:21 +02:00
montlikadani
d81bdfcc1c Now you can fill the gui with air 2020-03-29 16:30:31 +02:00
montlikadani
9f932db63a Delete a column from jobNames before inserting to prevent errors 2020-03-29 13:44:16 +02:00
montlikadani
be9af51dc7 Another fix for total workers 2020-03-28 19:14:18 +01:00
montlikadani
825d2ecfdc Fix bossbar progress is higher than 1.0 2020-03-26 19:27:31 +01:00
montlikadani
f55be69ad2 Fixed issue when not calculated correctly the total workers (again) 2020-03-26 15:42:36 +01:00
montlikadani
f4c24d2e26 Drop jobs config table, we don't need anymore 2020-03-26 15:26:55 +01:00
montlikadani
53824f1851 Fix NPE on death event 2020-03-26 12:08:25 +01:00
montlikadani
40648f2701 Use getOrDefault in some cases to make less code 2020-03-26 11:21:44 +01:00
montlikadani
06db89af5e Fixed signs merging issue 2020-03-26 10:27:17 +01:00
montlikadani
9e006ebe89 Improved baking action doesn't pay enough when items are on another block
- Removed some deprecated methods
2020-03-26 09:12:39 +01:00
Zrips
83377ddee0 Better way to fire everyone from every job
fireall all needs a console check
2020-03-25 16:42:00 +02:00
Zrips
b6e4b9cfb2 This is continue and not return 2020-03-25 16:08:23 +02:00
Zrips
f4011043d7 Extra comments 2020-03-25 16:01:12 +02:00
Zrips
843b07b176 Lets allow to disable each job separately in specific worlds 2020-03-25 14:08:33 +02:00
montlikadani
e4085da71c Fix error in jobs give command
- Fixed error on startup where the Enchantmnt#getKey is null.
2020-03-24 14:08:37 +01:00
Zrips
ac40c2e266 Lets allow to click on stats line to show information about job 2020-03-24 14:56:32 +02:00
montlikadani
f6bd87fe4c Update all signs on player doing something in a job 2020-03-21 15:13:47 +01:00
montlikadani
9fa5dfb2aa Fix NPE on mythicmobs 2020-03-21 13:18:27 +01:00
montlikadani
42969fb8b3 Added bypass permission for taxes 2020-03-21 12:57:16 +01:00
montlikadani
f9f745e63a Fix NPE when the jobs player are null during exploring chunks 2020-03-15 14:36:52 +01:00
montlikadani
15f72e6b38 Some formats 2020-03-13 17:18:36 +01:00
montlikadani
5745ad65a0 Properly fix issue with boost commands 2020-03-13 16:54:29 +01:00
montlikadani
fad0fcee55 Removed some redundant null checks and methods 2020-03-13 16:12:46 +01:00
montlikadani
d5c942363e Fix issue when the world is not exists and throws errors 2020-03-08 14:12:29 +01:00
montlikadani
4f39da6db4 Added sub-command to fire all players from all job 2020-03-06 16:32:58 +01:00
Brian
381253eaf3
Fixed issue when the player is not online and sent to him the payment (#686)
- Fix issue when sending an invalid page sender on playerinfo command.
2020-03-03 21:56:50 +01:00
montlikadani
f8d9862a8b Fix NPE when getting quest 2020-03-03 19:47:53 +01:00
montlikadani
ab3ea2e77d Fix income spam when clicked with empty bottles on the bee blocks 2020-03-03 18:42:26 +01:00
montlikadani
ef054e5a30 Lets allow 4 bytes of utf-8 chars 2020-03-01 19:15:21 +01:00
montlikadani
02178fc719 Add Boss support 2020-03-01 14:19:40 +01:00
montlikadani
f649b004cd Lets start working on boost time 2020-03-01 13:10:16 +01:00
montlikadani
41e2056910 Lets try to fix issue with signs merging
- Fixed issue when the name of the player splitted if the name os longer than 10.
2020-02-24 19:44:52 +01:00
montlikadani
2177261786 Lets save the jobs points after bought an item from jobs shop 2020-02-23 10:31:19 +01:00
montlikadani
ea3cc04998 Improve furnace and hopper saving
- Fixed database syntax issue when getting the global top list
2020-02-22 12:43:02 +01:00
montlikadani
f1b1ba48e4 Lets update the database if have changes for points 2020-02-21 18:41:11 +01:00
montlikadani
d43817520f Should be fixed issue when the gui size is not higher than 54 2020-02-20 16:47:06 +01:00
montlikadani
5f4713a68a Fix NPE when someone removed the section from shop file 2020-02-20 16:27:07 +01:00
montlikadani
204b506868 Fixed issue when not counted the total workers of that jobs 2020-02-18 19:13:26 +01:00
Zrips
1f627d1ae4 ReFix 2020-02-15 18:50:10 +02:00
Zrips
28d93733d7 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2020-02-15 18:43:49 +02:00
Zrips
d9791c51fa Fixing name translation and material recognition in some particular
situations
2020-02-15 18:33:18 +02:00
montlikadani
6c06ba6191 Fix when the user job placeholder not work 2020-02-15 17:25:23 +01:00
montlikadani
368417d59e Correct some material ids 2020-02-15 16:55:57 +01:00
Zrips
c38fe742b4 Correcting income when we have same materials but different data values 2020-02-15 17:48:22 +02:00
Zrips
a707bf8155 Fixing jobs browse on older versions 2020-02-15 17:33:11 +02:00
Zrips
7e78a43094 Good old fashion way to get target block which seem to be working on
older versions
2020-02-15 16:41:23 +02:00
Zrips
85cdfe1193 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2020-02-15 15:53:26 +02:00
Zrips
11bcc004e5 Lets use PageInfo if we want to have correct pagination for top and gtop 2020-02-15 15:52:01 +02:00
montlikadani
44cfb5d808 Update translations from crowdin 2020-02-15 14:06:07 +01:00
montlikadani
09fe31dba1 Added option to separate quest objectives with comma ","
... to prevent creating many rows

- Minor code clean up
2020-02-15 13:34:23 +01:00
montlikadani
a1c2274b1b Temporary fix when the user have a lot of jobs and throws error
This temporary fix the ArrayIndexOutOfBoundsException when the user have a lot of jobs in the file and opens the GUI, will crash it. #666
2020-02-11 19:19:05 +01:00
montlikadani
7271bda0c5 Fixed issue when not calculated correctly the jobs workers
- Fix NPE when getting all jobs and a job not found by id
2020-02-10 21:05:59 +01:00
Valtn
1cb12c1a46 Remove duplicate item keys from jobConfig.yml 2020-02-06 22:35:47 -05:00
montlikadani
079b0db08d Added option to disable joining to job through gui 2020-02-06 18:48:20 +01:00
montlikadani
118b6d8459 Fixed issue when used permissions option and contains "." char, will changes the config, so it not works 2020-02-06 18:35:27 +01:00
montlikadani
a4c75ac575 Added option to define per-permission leave from job
- Some integer placeholders should returns 0 if the player have no jobs.
2020-02-05 16:54:43 +01:00
montlikadani
975dd3cd87 Option to filter hidden players from tab-complete
This is incomplete...
2020-02-03 21:16:09 +01:00
deadcutlass2
87902519c9
fixed income and points progression equations (#660)
added a missing portion of the equations so it functions as intended of reducing payment by a percentage of the baseincome and the baseincome per level
2020-02-02 14:34:10 +01:00
montlikadani
8eb27047f0 Fix build and code clean up 2020-02-01 16:38:15 +01:00
deadcutlass2
cdb91e0cce
Added 2 placeholders to show the original number of exp and the formatted (#659)
fix a discrepency between formatting of jexp and jmaxexp as well as adding unformatted versions for math
2020-02-01 16:21:15 +01:00
montlikadani
cef180c00b Added option to change the disabled worlds behaviour 2020-01-29 17:24:02 +01:00
montlikadani
b461fda5f6 Fixed MySQLSyntaxErrorException when the limit value less than 0
https://pastebin.com/hK1LnPi9
2020-01-29 16:53:46 +01:00
montlikadani
d5752453dd Fixed NPE when class instance is null 2020-01-28 18:25:14 +01:00
montlikadani
a521ac7b5a Finishing the exp saving in double format 2020-01-28 18:15:51 +01:00
montlikadani
0d684ea41c Update job not found message 2020-01-28 18:05:10 +01:00
montlikadani
892c91cdf0 Fixed issue when buying items from shop and not setting enchants to item 2020-01-28 18:00:42 +01:00
montlikadani
5aa4f0b763 Fixed NPE when MythicMobs plugin not found on plugin reload 2020-01-28 17:23:47 +01:00
montlikadani
8f067f4646 Fixed FileNotFoundException when using "en" locale 2020-01-28 17:18:13 +01:00
Zrips
8e08543d83 Fix for MythicMobs not working after jobs reload 2020-01-27 17:52:25 +02:00
Zrips
33c14e474c Lets initialize only when we need them. 2020-01-27 16:19:12 +02:00
Zrips
66fae7ed39 Fixing pagination 2020-01-27 12:50:42 +02:00
Zrips
0d4123b20f None job should be more None 2020-01-27 12:17:50 +02:00
Zrips
50a63b90fa Lets not check mythycMobs if plugin is not present 2020-01-27 12:14:27 +02:00
montlikadani
0b43b7e91a Reworked the initialization of dependencies 2020-01-26 17:48:23 +01:00
montlikadani
066c0dd2b6 Remove bossbar on server shutdown 2020-01-26 13:41:34 +01:00
montlikadani
e6a128d876 Added ability to change the colors of required jobs, levels 2020-01-26 13:04:51 +01:00
montlikadani
643cfcbb0d Add support for future version of actionbar 2020-01-26 12:17:59 +01:00
montlikadani
12b262b6b4 Fixed some Exception issues
- Fixed IllegalArgumentException when generating TranslatableWords files
- Fixed NPE when the quest section not found
- Fixing version check (from 70bc47773e)
2020-01-22 18:59:02 +01:00
montlikadani
1e2a2473b0 Do not ignore deprecated and not used methods
For developers are needed if not updating the Jobs
2020-01-21 17:30:29 +01:00
Zrips
c343407223 Deprecating points methods and moving everything into player object 2020-01-20 23:18:50 +02:00
montlikadani
28a8d28818 Use double for saving the experience 2020-01-14 17:25:27 +01:00
montlikadani
acc22ea436 Added messages to log commands to show the total amount of money, exp & points 2020-01-13 20:45:40 +01:00
montlikadani
95c3ae3578 Fixed issue when the RequiredJobLevels not works correctly 2020-01-13 15:56:25 +01:00
montlikadani
1ecffe1895 Fixed NPE when loading the chunks from database
- Fixed NPE when getting the quests and null
- Removed some deprecated methods
2020-01-08 17:51:40 +01:00
Zrips
9555d2d79a Lets recreate comments and default fields in jobconfig file
slab type should be in string format for backwards compatibility
2020-01-06 18:19:56 +02:00
Zrips
b54f85a5a3 Fixing Bake and Collect word translations 2020-01-06 16:01:49 +02:00
Zrips
c3d70a4ccf This should be done in sync. Low frequency task, we can afford it. 2020-01-05 17:00:10 +02:00
Zrips
1a1ce2fa59 Correct ravager ID 2020-01-05 16:45:48 +02:00
Zrips
8c4ae9dcf5 Lets allow custom names for MythicMobs 2020-01-03 17:12:29 +02:00
Zrips
ca8ea40f7f Optimizing chunk explore methods to have better performance and use less
memory. Option to compact database
2020-01-03 13:57:45 +02:00
Zrips
4d0ed50e2b Fix for issue with smoker and blast furnace not removing ownership on
hopper fillups when you have PreventHopperFillUps set to true
2020-01-03 13:03:20 +02:00
montlikadani
79d3511b67 Added bee_nest and beehive as a collect action 2019-12-31 17:16:58 +01:00
montlikadani
6a017df07f Just some optimizations 2019-12-24 12:08:11 +01:00
montlikadani
db987fb532 Lets make database asynchronously when joining 2019-12-23 10:33:20 +01:00
montlikadani
3e0ed72a3f Fix NPE when a job not found with that id
WeakHashMap is not safe for saving datas, because it will clears the whole data from it and the database will crash it. Described here: https://www.baeldung.com/java-weakhashmap#overview

- Fixed issue when the bone meal still acts as placed block
2019-12-23 09:43:49 +01:00
montlikadani
5585637258 Remove deprecated class & final modifiers 2019-12-21 17:50:49 +01:00
montlikadani
f3ee53d7ca Lets use CMI configreader 2019-12-21 17:21:47 +01:00
montlikadani
e1665f55d4 Bonus output colors can now be changed from config 2019-12-14 18:08:43 +01:00
montlikadani
d30f0d578d Fixed issue when used a dev-build of papi 2019-12-13 17:07:42 +01:00
montlikadani
26748a4ac7 These entities have an internal id 2019-12-12 14:43:23 +01:00
Zrips
390b1a47ba Initial 1.15 support 2019-12-12 11:39:42 +02:00
montlikadani
834da89d10 Fixed when the boost commands are not worked 2019-12-07 14:58:34 +01:00
montlikadani
04fda3bb86 10x faster material recognition
From 34ddd20a0a
2019-12-02 17:35:37 +01:00
montlikadani
d590153222 Move & remove some methods to decrease the file size 2019-11-26 20:08:37 +01:00
montlikadani
6319c69c29 Lets generate translations folder before creating file when updating from old versions 2019-11-26 19:31:13 +01:00
montlikadani
7c359c6749 Fixed exception if the enchantment level is null
- Add max reconnects to prevent server slow loading
2019-11-23 13:38:03 +01:00
montlikadani
92e9e9d15b Adding and taking exp should calculating correctly 2019-11-17 12:56:13 +01:00
montlikadani
5fe7df1bc5 Fixed SQLException when inserting a job 2019-11-10 12:50:41 +01:00
montlikadani
cdd95e2a9b Added cost for skipping quests 2019-11-09 19:50:09 +01:00
Zrips
389424fbb8 Vacuum is our friend 2019-11-06 11:04:27 +02:00
montlikadani
ecf07433df Lets fix quest description showing in list 2019-11-05 19:03:14 +01:00
Zrips
e52be093d6 Version up 2019-11-04 16:30:15 +02:00
Zrips
e7c49d9006 Lets allow quest skipping 2019-11-04 16:27:09 +02:00
Zrips
c598b45fc7 Fixing daily quest resets 2019-11-04 14:54:00 +02:00
Zrips
0ece576f58 Correct way to switch buttons 2019-11-04 12:41:57 +02:00
montlikadani
4033ae1074 Temporary fix for button click options 2019-11-03 16:19:26 +01:00
montlikadani
3a7eb65472 Fixed jobs GUI when opened showing the same action names
- Optimized the shooting of firework random
2019-11-02 15:32:53 +01:00
Zrips
14d60ff63d Convert data back to previous state, just in case 2019-10-31 11:08:37 +02:00
Zrips
caf1dde0b9 Correct sign update 2019-10-31 10:39:59 +02:00
Zrips
965b74b45a Lets keep backwards compatability for time being 2019-10-31 10:32:08 +02:00
Zrips
633ad3dcc3 No go on sign updates on regular intervals... 2019-10-31 10:29:39 +02:00