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

1922 Commits

Author SHA1 Message Date
Zrips
757d621e0d
Merge pull request #1707 from Jsinco/master
Check if killer is a projectile shot by a player
2024-01-25 13:00:14 +02:00
Zrips
999a1fc224 New placeholder to show bonus in percentage from between 0 and 100
%jobsr_user_pboost_[job]_[currency]%
2024-01-25 12:59:14 +02:00
Zrips
79fbf40ac6
Merge pull request #1704 from MisterFrans/dev-asyncboosbar-optimisation
Prevents creation of unnecessary threads when bossbar is in async
2024-01-25 12:56:56 +02:00
Jsinco
adf2fbb640 Check if killer is a projectile shot by a player 2024-01-17 02:46:02 -05:00
François
12cf3e67ad Fix: Prevents creation of unnecessary threads when bossbar is in async 2024-01-06 12:27:30 +01:00
Zrips
16a59470fc Fixing GUI icons for new ItemStack deserializator 2023-12-19 13:56:33 +02:00
Zrips
70303080b6 More feedback message on plugin disable 2023-12-19 13:38:02 +02:00
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