1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00
Commit Graph

1889 Commits

Author SHA1 Message Date
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
Zrips
5667544626
Merge pull request #1583 from FireML/bucket-entity-action
Bucketing Entities Action
2023-08-30 11:48:00 +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
Zrips
23bd5bbb47
Merge pull request #1602 from FireML/Extra-Food-Check
Check if the player's food level is at its maximum
2023-05-19 13:13:09 +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