1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-29 04:18:07 +01:00
Commit Graph

1625 Commits

Author SHA1 Message Date
Zrips
99ff0a3400 Option to ignore bosses from damage amount check 2023-12-19 13:18:52 +02:00
Zrips
a2018cb7c9 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2023-12-19 12:57:40 +02:00
Zrips
a23b0af09b Excluding job count with ignore-jobs-max 2023-12-19 12:57:33 +02:00
Zrips
54c2cec9ec
Merge pull request #1690 from MachiganMC/master
Fix Job showing empty tops
2023-12-19 12:19:00 +02:00
Zrips
ddc9000f8f
Merge pull request #1688 from DersWasTaken/master
Fix hunter job payouts not being applied
2023-12-19 12:15:08 +02:00
MachiganMC
6c27edf7cf fix(top): always shows empty tops
Fix: #1676
2023-12-13 00:14:36 +01:00
Zrips
c02dfe8472 We should accept old and new action definitions at same time 2023-12-11 12:41:47 +02:00
DersWasTaken
0de0fe10c4 Remove debug message :P 2023-11-29 11:12:52 -07:00
DersWasTaken
ed86b70d60 Fix dependencies and fix entities that die due to fire damage,magma blocks,cactus, or other after being hit not rewarding job payouts. 2023-11-29 11:05:53 -07:00
Zrips
d03d53d7e5 Stack overflow 2023-11-19 13:16:38 +02:00
Zrips
29d65dc3c4 Potion and arrow recognition when crafting fix 2023-11-17 16:05:11 +02:00
Zrips
9254c8f3fb Recognizing potions and other consumables 2023-11-17 15:48:01 +02:00
Zrips
559fc9d4ab Fix for total point calculation being incorrect 2023-11-17 12:55:24 +02:00
Zrips
24de94226f Lets properly force permission update on bonus command request 2023-11-17 12:48:32 +02:00
Zrips
527bd03f2f Double sided sign support. Simplified command recognition on ones 2023-11-17 12:37:57 +02:00
Zrips
6d20ca3d33 Fix for data save for player who is offline 2023-11-16 18:02:39 +02:00
Zrips
ffd4309de7 Fix for issue with server account determination and usage causing
payments to be stopped
2023-11-16 17:56:53 +02:00
Zrips
c5863bb121 Fix for lore duplication 2023-11-16 17:05:51 +02:00
Zrips
0ee8b59401 Boosted, limited and shop items new format recognition 2023-11-16 16:39:29 +02:00
Zrips
6a539686dd Improvement on limitedItems processing 2023-11-15 17:58:14 +02:00
Zrips
bd13bd52d0 Modernizing jobs limited items with new deserialization method 2023-11-15 17:36:05 +02:00
Zrips
213705d447 Deprecating old item definitions for jobs gui item, now its ItemStack
which uses new deserialization from CMILib
2023-11-15 17:13:26 +02:00
Zrips
3a27125977 Reforming jobs constructions 2023-11-15 17:09:02 +02:00
Zrips
613be4780e Fix for issue with passing over noneJob for JobsPrePaymentEvent event 2023-11-15 13:21:09 +02:00
Zrips
11972ffe1d
Merge pull request #1669 from MachiganMC/master
Add possibility to be hidden from jobs tops
2023-11-15 12:47:03 +02:00
Zrips
bbc83a6c77 Fix for fishing action not taking into consideration blacklisted world 2023-11-15 12:43:45 +02:00
Zrips
957669cb7a When enchant fails, lets skip it 2023-10-16 23:35:40 +03:00
MachiganMC
8fcbcdd80d fix(vault): check vault before checking providers
Because of the new providers hookers, a use of the proviers class was
perform before checking if Vault was enabled. And if Vault was not
enabled there was a `NoClassDefFoundError`.
Now a first Vault check is done before the use of the providers class.
2023-10-07 02:42:52 +02:00
MachiganMC
72f745aeb3 feat(tops): add possibility to be hidder from tops
To do that, the part of the command 'top' and 'gtop' has been moved into
an asynchronous thread because of 'unsafe Vault lookups from LuckPerms'.
If it enable, LP prevent a plugin to check a perm of an online player on
the main thread.

Two new nodes perms have been added :
- `jobs.hidetop.<job>`: to be hidden from a specific job top (replace
  <job> by * to be hidden from all).
- `jobs.hidegtop`: to be hidden from the jobs global top.
2023-10-07 02:29:47 +02:00
MachiganMC
96cfcf78e9 refactor(vault): change way to hook providers
Also the Permission provider has been added to get permission of an
offline player.

This has be done to easily add more providers in the future but also
avoid code repetitions (like logging if Vault is enabled).
2023-10-07 02:27:59 +02:00
Zrips
e364609ec7 Payments for exploration while gliding and flying enabled by default 2023-09-25 16:37:24 +03:00
Zrips
016f29d3b1 Creative pay enabled by default 2023-09-25 16:36:42 +03:00
Zrips
75ca0929df Option to disable explorer database saving 2023-09-25 16:36:00 +03:00
Zrips
cbff3e6138 Removal of deprecated feedback message on /jobs join command 2023-09-25 12:41:39 +03:00
Zrips
f29ed32d3f No more turtles! 2023-09-25 12:15:07 +03:00
Zrips
9be25e994a Sync 2023-09-20 17:41:18 +03:00
Zrips
c7bd64748f Lets actually hide shop items without permission
Place shop items in more compact way
2023-09-20 16:22:44 +03:00
Zrips
7d9c6cedc3 Lets show quests in GUI, optional, enabled by default 2023-09-20 16:06:10 +03:00
Zrips
80b8ac5684 Reusing quest objects on plugin reload to avoid issues 2023-09-20 15:40:49 +03:00
Zrips
2bfd5bef5e resetlimit all should reset limits for everyone and not just online
players
2023-09-20 12:24:41 +03:00
Zrips
157238b01e Bamboo stripping support 2023-09-20 12:01:51 +03:00
Zrips
46a244417b Using internal unicode parser to avoid having dependency on specific
library
2023-09-20 11:23:45 +03:00
Zrips
8487156399 This is the correct one 2023-09-17 20:23:12 +03:00
Zrips
3831da9917 Ukrainian translation by stefanbanderovych 2023-09-17 20:22:01 +03:00
Zrips
0c38f6cc20 Fix for boost command not reseting specific jobs 2023-08-30 14:59:13 +03:00
Zrips
f8dfad2e2e New command howmuch which checks potential payments of target entity or
block based on your current jobs
2023-08-30 13:38:55 +03:00
Zrips
753edd7c9f GUI buttons to join and leave jobs directly 2023-08-30 13:03:13 +03:00
Zrips
1b4d358100 Not paying for bucketing spawned in animals 2023-08-30 12:17:20 +03:00
Zrips
f1eb7e5395 Cleanup 2023-08-30 11:52:09 +03:00
FireML
8a9a512130
Merge branch 'master' into bucket-entity-action 2023-08-30 03:48:50 +01:00
FireML
d7cd601723 Version Dependent
All tested and working on Spigot 1.16.5 and 1.20.1.
2023-08-30 03:47:42 +01:00
Zrips
98b84287a4 Smithing table support 2023-08-29 17:19:24 +03:00
Zrips
5bb3414ea7 Prevent sign UI opening while interacting with Jobs signs in 1.20 2023-08-29 16:45:03 +03:00
Zrips
14b7e837d8 Lets keep loading in plugin when some none essential files fail to load 2023-08-29 15:18:05 +03:00
Zrips
6051c78d21 Feedback when transfer job isn't successful 2023-08-29 13:43:07 +03:00
Zrips
2e1d9afc9f Formating limit output with bigger numbers 2023-08-29 13:35:20 +03:00
Zrips
7ba5a2bd86 To disable max job limit now it needs to be set to -1 and not 0 2023-08-29 12:59:05 +03:00
Zrips
d4a75f1fe8 Sync 2023-08-29 12:39:41 +03:00
FireML
2fab19974c
Merge branch 'Zrips:master' into bucket-entity-action 2023-07-21 05:52:43 +01:00
Zrips
87d52d43b5 Initial Folia server support 2023-07-12 15:22:53 +03:00
Zrips
d20e865cb0 NaN issue fix for browse guy with dynamic payments enabled 2023-06-23 13:59:29 +03:00
Zrips
0e4c1097ab Merge branch 'master' of https://github.com/Zrips/Jobs.git 2023-06-23 13:44:25 +03:00
Zrips
aba467be70 Hiding more information when requirements are not met for shop items 2023-06-23 13:44:18 +03:00
Zrips
31bbacca1e
Merge pull request #1613 from Survival-Island/master
Added deepslate to miner and tinted glass to builder
2023-06-23 13:06:21 +03:00
Zrips
b10eea73c2
Merge pull request #1612 from dandud100/master
Update messages_de.yml
2023-06-23 13:06:01 +03:00
Zrips
789e8ff7a6 Bonus from dynamic should be in hundreds of percentages 2023-06-23 12:51:00 +03:00
Zrips
d52633a447 Lets remove McMMO from softdependency, because paper spigot... 2023-06-23 12:38:35 +03:00
CorentinStauder
59a6ceab9e Added deepslate to miner and tinted glass to builder 2023-06-18 17:58:55 +02:00
dandud100
e296a25097
Update messages_de.yml
Added qClick message
2023-06-18 15:42:12 +02:00
Zrips
260470406e Separating jtop_name into jtop_displayname placeholder for name and
displayname accordingly
2023-06-16 12:42:16 +03:00
Zrips
3022d7cfa5 Change accumulated point amount with editpoints take command 2023-05-24 12:08:08 +03:00
Zrips
7d9f90647e
Merge pull request #1604 from Momshroom/master
Fix quests not giving rewards until one extra item was done.  (Partia…
2023-05-19 13:15:00 +03:00
Zrips
a9eaca90dc
Merge pull request #1601 from FireML/improve-berry-checks
Improve Berry Checks
2023-05-19 13:13:20 +03:00
Momshroom
ac75c303bb Fix quests not giving rewards until one extra item was done. (Partially reverts 86c9478 ) 2023-05-17 21:53:17 -05:00
FireML
89c7aae6ef Check if the player's food level is at its maximum
A few foods can be eaten with the maximum food level. This prevents payment in that situation.
2023-05-17 12:32:13 +01:00
FireML
6f1d348a16 Improve Berry Checks
Allow payment when holding bonemeal by checking the plant's age.
2023-05-17 12:20:52 +01:00
Zrips
8f1402ff72
Merge pull request #1598 from Momshroom/master
Add confirmation to jobs skipquest and fixed it not being possible to…
2023-05-12 15:56:38 +03:00
Momshroom
f94a6b0b87 Add confirmation to jobs skipquest and fixed it not being possible to skip quests with multiword names 2023-05-11 23:33:18 -05:00
martijnpu
8e2a6b80f7
Update messages_nl_NL.yml 2023-05-05 22:40:34 +02:00
Zrips
9101ef5be8 Boost command fix 2023-05-03 16:36:54 +03:00
Zrips
35e4b81b1d Version up 2023-05-03 15:31:09 +03:00
Zrips
b7f6de7965 Fix for JobsChunkChangeEvent 2023-05-03 14:28:49 +03:00
Zrips
86c94786cf Optimize permission check 2023-05-03 14:26:04 +03:00
Zrips
e2b9f370af Message handling cleanup 2023-05-03 13:38:08 +03:00
Zrips
9b935c53e9 Lets accept Null as command perform return for more control over it 2023-05-03 12:04:00 +03:00
Zrips
84cb2cef92 Top command to support console 2023-05-03 11:47:45 +03:00
Zrips
bc4e9343fc Option to disable daily quests 2023-05-02 16:47:49 +03:00
Zrips
5ecb3456a3 Option to disable jobs shop 2023-05-02 16:42:26 +03:00
Zrips
2346e7d623 Single command for boosts 2023-05-02 16:38:04 +03:00
Zrips
3bfb0f60cc Reseting limits at specific time of the day 2023-04-24 14:11:32 +03:00
Zrips
9b291b299b Sign check fix 2023-04-24 12:57:57 +03:00
FireML
b9c21a0f51 Remove Duplicate Import 2023-04-21 20:31:56 +01:00
FireML
1f079cb461 Resolve Conflict 2023-04-21 15:48:28 +01:00
Zrips
6294aece85 Code cleanup 2023-04-21 14:36:32 +03:00
Zrips
d0f13db51d Merge branch 'master' of https://github.com/Zrips/Jobs.git 2023-04-21 14:11:25 +03:00
Zrips
5c1321ecd4 Centralizing auto pagination 2023-04-21 14:11:17 +03:00
Zrips
15a0e24494
Merge pull request #1588 from ks-hl/ats
Fix [#1587]
2023-04-21 14:05:21 +03:00
Zrips
95e8b3b208
Merge pull request #1584 from FireML/farmland-payment
Allow payment for tilling dirt
2023-04-21 13:59:11 +03:00
Zrips
8bdd49d988 Cleanup 2023-04-21 13:58:52 +03:00
Heliosares
af9c9b3b75 Fix [#1587] 2023-04-10 13:15:21 -04:00
FireML
7eeab85f04 Payment for tilling dirt 2023-04-01 11:45:54 +01:00
FireML
642b4643e1 Bucketing Entities Action 2023-04-01 05:57:05 +01:00
Zrips
0ca90fbcb5 Check for null pointer 2023-02-17 14:42:08 +02:00
Zrips
425c7ec66d name and level for top placeholder 2023-02-16 17:46:57 +02:00
Zrips
2fd03a4384 Actually working %jobsr_jtop_[jobName/number]_[1-15]% placeholder 2023-02-16 17:39:12 +02:00
Zrips
e431a6cb55
Merge pull request #1562 from Ksewedo5/patch-2
Update messages_pl.yml
2023-02-16 16:38:24 +02:00
Zrips
c1d08d61fb General permission over specific 2023-02-16 16:37:21 +02:00
Zrips
4d11d4ef03 Option to add all bonuses 2023-02-16 16:32:28 +02:00
Zrips
237cabf82f Accumulative permission fix 2023-02-16 16:32:04 +02:00
Zrips
bd430b3cd7 clearownership fix when using target player name without permission 2023-02-15 17:51:24 +02:00
Zrips
2165e1fe68 Shop can be used with Vault economy.
Point price is optional for shop items
Price renamed to pointPrice, old format still works
2023-02-15 17:16:39 +02:00
Zrips
edb1d5d2e7 Better feedback messages while setting up economy support
Showing economy name on successful linking for convenience sake
2023-02-14 12:33:30 +02:00
Zrips
057e8cea31 LibUpdate 2023-02-13 10:26:27 +02:00
Ksewedo5
149c568a93
Update messages_pl.yml
1. I added values ​​that were not in the Polish language file
2. I changed the names of the values ​​(I saw that messages_en are called differently) maybe the result of the update
2023-02-10 21:52:33 +01:00
Zrips
233b234858 Joined job will glow in browse window 2023-02-10 15:21:44 +02:00
Ksewedo5
229313be4e
Update messages_pl.yml
#1558
2023-02-05 21:29:33 +01:00
Zrips
e6c476f756 Jobs info considering archived jobs 2023-01-06 15:08:33 +02:00
Zrips
2dc25b232d exp command cleanup 2023-01-06 14:30:50 +02:00
Zrips
6715fa7bee Merge branch 'master' of https://github.com/Zrips/Jobs.git 2023-01-06 14:00:34 +02:00
Zrips
ba27449336 editquests locale 2023-01-06 14:00:27 +02:00
Zrips
f145eee8df
Merge pull request #1533 from Teyir/master
[IMPROVE] Add -s argument and rand for /exp command
2023-01-06 13:59:56 +02:00
Zrips
34bac1b07e
Merge pull request #1527 from smuddgge/master
Reverted fishing exploiting
2023-01-06 13:57:59 +02:00
Zrips
04a9ee487c variable length fix 2023-01-05 18:31:00 +02:00
Zrips
31c8b1d719 Option to disable quest while keeping its record 2023-01-05 18:29:43 +02:00
Zrips
2da51e65b1 Fixing permissions 2023-01-05 18:14:50 +02:00
Zrips
2d71e67318 Ingame quest editor first pass 2023-01-05 14:29:47 +02:00
Zrips
d3570d395f Locale for stats progress bar 2022-12-28 14:53:40 +02:00
Teyir
bdc2f847cb [IMPROVE] Add -sa argument for skip admin success message 2022-11-29 22:41:58 +01:00
Teyir
3fc3da0659 [IMPROVE] Add random argument for /exp command
ex: rand_5-10
2022-11-28 16:26:43 +01:00
Teyir
5a5b82e630 [IMPROVE] Add -s argument for /exp command 2022-11-28 14:56:29 +01:00
smuddgge
3425a3ba1a Reverted fishing exploiting 2022-11-19 13:26:34 +00:00
Zrips
f0d6576c77 %jobsr_user_jobs% to show none job name if player has no jobs 2022-11-17 16:45:58 +02:00
Zrips
bf06440811 Autojoin job fix 2022-11-17 16:40:57 +02:00
Zrips
fd3c420f08 BP fix for -1 timers 2022-11-17 14:01:00 +02:00
Zrips
513fc019fd Correct lore usage 2022-11-15 17:29:49 +02:00
Zrips
30c06bb476 Info button 2022-11-15 17:25:01 +02:00
Zrips
31fc886b2c GUI info button 2022-11-15 14:47:15 +02:00
Zrips
f1537befde GUI empty field filler from CMILib 2022-11-15 13:26:52 +02:00
Zrips
e4ca78fa57 Default behavior for default jobs command 2022-11-15 13:16:17 +02:00
Zrips
fb5a520f1a Translating enchant material names 2022-11-14 14:52:38 +02:00
Zrips
b79b8a1e9d Avoiding memory leaks 2022-11-14 14:38:38 +02:00
Zrips
2bd257b563 Using primitives instead to save memory 2022-11-14 14:15:46 +02:00
Zrips
c4ecee7840
Merge pull request #1520 from smuddgge/master
Jobs fishing listener MCMMO fix
2022-11-14 13:39:34 +02:00
Zrips
88bde11e8c
Merge pull request #1518 from hbarreau/master
Update JobsPlayer.java
2022-11-14 13:38:48 +02:00
Zrips
5c6f8f7749 Its bonemeal and not composter 2022-11-09 14:53:02 +02:00
smuddgge
7a63a615b4 Jobs fishing listener MCMMO fix
`isExploitingFishing` returns true when a player is warned.

`isFishingTooOfter` returns true when they should not catch a fish.

I think it makes more sence that thye should still get paid for catching the fish.
2022-11-04 17:26:48 +00:00
hbarreau
e0d1a40669 Update JobsPlayer.java
Change job getName to job getFullName
2022-10-29 17:47:56 +02:00
Zrips
548e03346f Translatable word update for FR locale by Funky_russian_warpack 2022-08-09 17:06:48 +03:00
Zrips
c1675cf928 Slot specific boosted items 2022-08-08 15:18:35 +03:00
Zrips
b1a4e64288 MySQL database creation fix 2022-08-08 14:45:27 +03:00