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

1759 Commits

Author SHA1 Message Date
montlikadani
ab38a64fb4 Configurable encoding for mysql database 2021-03-02 21:58:14 +01:00
montlikadani
b2d88fc3d2 Apply new async chat events from paper 2021-03-02 11:06:15 +01:00
montlikadani
297b99a0ba Fix NPE 2021-02-28 07:44:03 +01:00
montlikadani
269ee4c2ca Revert back the colon, causing problems with the plants
Fixes #1096
2021-02-27 20:24:25 +01:00
montlikadani
1413662c19 Prepare for kyori component 2021-02-26 08:45:14 +01:00
montlikadani
4f475888a6 Use executeUpdate for table conversion when updating to ids 2021-02-26 08:15:39 +01:00
montlikadani
2a941c76cb Change ":" to "-" in material actions for better match 2021-02-20 15:16:36 +01:00
montlikadani
5cd8550ba9 Update job ids instead of inserting
https://pastebin.com/7icM6nWW
2021-02-20 10:40:03 +01:00
Zrips
f8e581ee2a Merge branch 'master' of https://github.com/Zrips/Jobs.git 2021-02-19 16:32:53 +02:00
Zrips
526bc78fd7 Lets ignore materials which don't exist in older versions 2021-02-19 16:32:39 +02:00
montlikadani
57c1ee9460 New Crowdin updates 2021-02-19 15:22:32 +01:00
Zrips
33bcbd6d62 Lets support legacy material data 2021-02-19 16:21:41 +02:00
Zrips
9d44da2daa We need to save jobs into archive when firing everyone from one 2021-02-19 14:52:24 +02:00
BuildTools
a451653820 Better support for custom Enchantments 2021-02-19 13:10:53 +02:00
montlikadani
36a3051452 Fix when some of materials is not generated in translated file
This can reproducible in old versions like 1.12.2, such as Andesite is not exist in Material API, but its added in 1.8
2021-02-17 13:02:37 +01:00
montlikadani
2faae4cf08 Improve material generation in translator file for old versions
- Block cache will not be saved twice on disable
2021-02-17 08:15:05 +01:00
Ivan Carapovic
ff87470088
Fix fisherman getting paid for fish even if mcMMO fishing protection kicks in (#1081)
* Disable Fisherman pay if mcMMO fishing protections are enabled

- replace mcMMO dependency with the latest one (contains necessary classes)
- copy exploit protection check to fishing payment event
2021-02-15 16:58:27 +01:00
montlikadani
95169f00ab Fix sqlite exception on logs auto-committing 2021-02-10 21:37:25 +01:00
montlikadani
27645ec438 There is no limit in gui title 2021-02-09 12:06:14 +01:00
montlikadani
078c66a321 Simplify owner ship clearing 2021-02-09 10:45:44 +01:00
Zachary Moroney
cfd7f251ef
Fixed typo in the command logs for other permission (#1079) 2021-02-09 07:50:50 +01:00
MrMacor
5d90a00ea2
Fix when boosted items cache is not removed after swap items (#1076) 2021-02-07 17:53:45 +01:00
montlikadani
66e6b1451e Only remove boost if the time is not 0 2021-02-03 18:27:15 +01:00
montlikadani
ede05c85eb Use Bukkit provided PotionType 2021-02-03 18:21:02 +01:00
montlikadani
7ecb265484 Deprecated short description in jobs now we should use FullDescription
Now the FullDescription list will be printed to the gui items instead of short description. In fact, some type didn’t make sense, as even simple strings could solve new lines, but many were lazy to do it, with just two characters. So the FullDescription list will be visible on new servers that have just installed jobs or are updating the file manually.

- Added potion effect support to jobs shop to give potion item to player with the given effect type.

Closes #1064
2021-02-03 18:12:20 +01:00
montlikadani
c858b53340 Documented some of mostly used methods
Closes #1065
2021-02-02 23:04:46 +01:00
montlikadani
865bcca5c0 Fix some boost time parsing issues 2021-01-28 20:20:17 +01:00
montlikadani
1170086166 Added smoker and blast furnace placeholders
Closes #1066
2021-01-24 10:11:21 +01:00
MrMacor
9aa07160eb
Improved player inventory item boost logic (#1062)
This adds two new configuration options to generalConfig. They're modelled after "enable-boosted-items-in-offhand", called "enable-boosted-items-in-mainhand" and "enable-boosted-armor-items". As the name suggests, the former determines if boosted items in your main hand count towards your overall jobs items bonus, and the latter does the same for armor.
2021-01-19 16:37:47 +01:00
montlikadani
2ad3e54e4d Fix AbstractMethodError when some software does not supports new databases
- Improved the database shutdown process
- Slightly optimized the database calls when a player quits

Closes #1061
2021-01-19 08:35:38 +01:00
montlikadani
fb91fb7104 Second attempt to fix archived jobs 2021-01-16 13:41:46 +01:00
montlikadani
da5641ff37 Fix archived placeholders not worked with job name context
Fixes #1060
2021-01-16 12:38:58 +01:00
montlikadani
77295b6041 Do not create unnecessary statement when checking table 2021-01-14 22:43:42 +01:00
montlikadani
ba601dde43 We don't need anymore to sort commands by int, now it is sorted by alphabetically
This will result in a slightly faster display for list of commands
2021-01-14 22:23:06 +01:00
montlikadani
e4896c8ad0 Fix WildStackerAPI dependency
Seems their repo is trash

Closes #1043
2021-01-14 11:29:57 +01:00
montlikadani
4d05be6df9 Added silent mode option to actionbars
Closes #1059
2021-01-14 10:37:10 +01:00
montlikadani
a2bd1804d7 Fixed when players job joining was not completed
Closes #1057
2021-01-13 09:28:14 +01:00
montlikadani
d335f01e22 Fixed error when some inventory types not existing in prior versions
Also updated Crowndin languages again
2021-01-08 17:07:36 +01:00
Zrips
23091b4bf2 New title type explanations for _EXAMPLE job 2021-01-06 16:48:46 +02:00
Zrips
d3d2b06685 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2021-01-06 16:00:56 +02:00
Zrips
899fe88947 Better way to handle honorific
New honorific values shorttitlejob, titleshortjob
2021-01-06 16:00:42 +02:00
montlikadani
3920fb167d New Crowdin updates 2021-01-06 12:10:18 +01:00
Zrips
49ebf6ee88 Increasing McMMO skill timer from 30 seconds to 60 2021-01-06 13:03:05 +02:00
montlikadani
b1b39a789d Added option to allow enchanting boosted items
Closes #1011
2021-01-01 16:31:38 +01:00
montlikadani
a8dd65cb4b Make payment messages display in chat if setting is disabled per config
Closes #1031
Closes #1023
2020-12-23 20:08:02 +01:00
montlikadani
89649acb9e StackMobs build seems to be working 2020-12-18 20:15:45 +01:00
Zrips
8cd5061ece Lets load points too when changing servers 2020-12-17 17:58:57 +02:00
Zrips
adf91bea98 Properly loading payment limits in multi server environment 2020-12-17 17:50:00 +02:00
Zrips
48ec2bdbf0 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2020-12-17 17:26:49 +02:00
montlikadani
ed3ce013d6 New Crowdin updates 2020-12-17 16:26:13 +01:00