1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00
Commit Graph

1560 Commits

Author SHA1 Message Date
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