vk2gpz
f8d16fdfff
Change event priority to HIGHEST so other plugins can listen to BlockBreakEvent after Jobs ( #1197 )
2021-05-28 16:47:14 +02:00
montlikadani
8d65bb7b7e
Call BlockBreakEvent in any way when cancelled or not
...
Fixes #1194
2021-05-26 21:45:22 +02:00
montlikadani
417738f2e3
Extend job comparison by name
2021-05-23 16:28:33 +02:00
montlikadani
5f5e1f7113
Add jobfullname variable to tab completions
2021-05-22 19:15:02 +02:00
montlikadani
96379db923
Cancelled event methods with ignoreCancelled annotation value will not be called
2021-05-20 16:17:44 +02:00
montlikadani
5f3b8526c7
Invert condition here
2021-05-16 14:08:46 +02:00
montlikadani
0e2621e42a
Players can have multiple campfires
2021-05-16 13:57:16 +02:00
montlikadani
ae1b8b5d3c
Use arraylist instantiation instead of stream collector
2021-05-15 20:16:19 +02:00
montlikadani
8dc1bf80da
Improved displaying player's quests in console
2021-05-15 19:36:12 +02:00
montlikadani
b5318089d9
Removed unnecessarily stored jobs world ids now we uses from the object
2021-05-15 18:40:12 +02:00
montlikadani
f61bfab4c4
Fix commands was not loaded for jobs shop
...
Fixes #1183
2021-05-15 18:11:21 +02:00
montlikadani
c81489f862
Call JobsLevelUpEvent when promoting or adding levels to players
...
Fixes #1168
2021-05-13 16:42:29 +02:00
MrMacor
e40bea99ee
Fix stripping warped/crimson stems and barks not counting for the StripLogs action ( #1177 )
2021-05-09 20:19:23 +02:00
montlikadani
3fdb5be9f5
Update documentation of job name
2021-05-07 15:58:22 +02:00
Zrips
7ba66de4fe
Ok, job name is its identification, we HAVE to return jobs key name and
...
not full name which can be different
2021-05-07 15:24:34 +03:00
Zrips
04b426c806
We need to detect job by jobs key name too
2021-05-07 15:19:49 +03:00
montlikadani
f6faa68d79
So lets change from ids to real names
2021-05-06 21:17:38 +02:00
montlikadani
327da4fa3e
Use the deprecated methods to set item name or lore to support CMI's gradient colors
2021-05-06 20:45:39 +02:00
montlikadani
97050a5de0
Improve using player uuids in shop gui as items
2021-05-06 10:10:47 +02:00
Zrips
735137cd04
Full example job file generation.
...
limitedItems section should use material names and not id.
2021-05-05 16:40:11 +03:00
montlikadani
576b42dc2e
Include displayName into example job file
2021-05-05 13:11:22 +02:00
montlikadani
45dc194b81
Deprecate getNameWithColor method instead of removing
2021-05-05 13:08:02 +02:00
Zrips
01e47f457a
Jobs display name
2021-05-05 14:04:03 +03:00
Zrips
ed9fe4d26e
Fix for hex color codes not being processed with new chat management
2021-05-05 13:30:30 +03:00
Zrips
2f826a1cfa
Merge branch 'master' of https://github.com/Zrips/Jobs.git
2021-05-05 12:57:17 +03:00
Zrips
d1ce5d7fa6
Legacy material load prevention. Initial commit.
2021-05-05 12:57:09 +03:00
LogGitDev
2282a69f29
remove duplicate text
2021-05-05 18:47:00 +10:00
LogGitDev
6b4edf7508
Fixed missing semi colon
2021-05-05 18:46:15 +10:00
LogGitDev
1896d57f93
Merge pull request #1170 from Zrips/dev
...
Addition of Ignore-job-max and reverse world blacklist
2021-05-05 18:33:05 +10:00
LogGitDev
867d497645
ConfigManager hotfix
2021-05-05 18:24:05 +10:00
montlikadani
ecd103e09f
Clarify some event documentation and improved quests resetting
2021-05-05 08:07:35 +02:00
LogGitDev
889470ae13
Add reverse world blacklist system ( #1167 )
...
* Add reverse world blacklist system
2021-05-05 11:20:03 +10:00
LogGitDev
8399233d0e
Fixed spacing and added new line
2021-05-05 06:16:13 +10:00
LogGitDev
196d252a4f
Fixed spacing and removed default
2021-05-05 06:15:42 +10:00
LogGitDev
beaf423e00
IgnoreMaxJobs integrated into join command
2021-05-05 04:52:23 +10:00
LogGitDev
14de3d35b4
Added job container ignoreMaxJobsSection
2021-05-05 04:51:12 +10:00
LogGitDev
5cf399f22a
Add config data retrieval system for ignoreMaxJobs
2021-05-05 04:48:10 +10:00
LogGitDev
b5f36fc8da
Add ignore-job-max config section
2021-05-05 04:45:48 +10:00
montlikadani
2e210c52d8
Implement method to retrieve the actual job instead of the name
...
Closes #1166
2021-05-04 17:30:47 +02:00
montlikadani
21ff1801cd
Some things
2021-05-04 14:50:28 +02:00
montlikadani
7f6fb86335
Added option to hide item attributes in jobs gui
2021-05-02 12:44:52 +02:00
montlikadani
3f14252cba
Use toString for retrieving mythic mob name
2021-05-01 19:25:23 +02:00
montlikadani
3b83e19221
Fix when some options such as slime split not worked when spawned from any type of spawner
...
Fixes #1154
2021-05-01 15:36:41 +02:00
montlikadani
2089f7afbd
Improve firework launching on level up
2021-05-01 15:08:32 +02:00
montlikadani
7ec1526a29
Fix when some complexed placeholders not worked
2021-04-30 12:01:12 +02:00
montlikadani
81ed5d14af
Remove HookPlugin abstract class
2021-04-29 19:28:59 +02:00
montlikadani
36075276f8
Improve minimum overal payments conflicting with only money limit
2021-04-29 18:05:18 +02:00
montlikadani
c8b4eaa479
2nd improvements
2021-04-28 21:10:34 +02:00
montlikadani
dbc0c8330a
New Crowdin updates
2021-04-28 16:23:59 +02:00
montlikadani
c2a80802f7
Improvements
2021-04-28 16:21:37 +02:00
montlikadani
3239b5decf
Fix NPE related to job section
2021-04-13 10:40:13 +02:00
montlikadani
bf1d0b7a01
Get rid from storing job ids directly, now we uses the one from Job
2021-04-11 15:22:05 +02:00
montlikadani
9c0787c03d
Fix when monsterDamage option does not worked
...
Closes #1145
2021-04-10 16:05:10 +02:00
montlikadani
cf55d7fbd7
Make sure that the chat format contains jobs variable
2021-04-02 19:18:25 +02:00
montlikadani
b7dbd08d83
Added option to set leather colors for boosted items
...
Closes #1080
2021-04-02 17:06:45 +02:00
montlikadani
7e5ab9bb9c
Re-add StackMob support
...
Temporary it is solved by using flat-jar until the repository is inaccessible.
- Fixed the ordering of shop items
2021-04-02 15:14:03 +02:00
montlikadani
22f985aa88
Added option to perform specific command when a player reaches max job level
2021-03-30 20:48:27 +02:00
montlikadani
bc69c4ef5a
New Crowdin updates
2021-03-30 16:07:09 +02:00
montlikadani
5c83fcbd11
Fix when Entity#isPersistent method does not exist on 1.8 servers
2021-03-29 18:38:11 +02:00
montlikadani
149a71e5da
Fix further issue when an event is not existent in 1.8 servers
2021-03-29 17:08:22 +02:00
montlikadani
add9bbf34f
More work
2021-03-29 15:28:15 +02:00
montlikadani
5337e2c36d
Fixed quest actions does not worked on lower case names
...
Now we replaces the material names to upper cased one for better match.
Fixes #1091
Fixes #967
2021-03-29 15:07:21 +02:00
montlikadani
21305dcc7e
Avoid NSME exception when ItemMeta#displayName is not added to old Paper yet
2021-03-29 14:07:47 +02:00
montlikadani
3ef805f22f
Fix when some signs does not work with sign states
...
Fixes #1134
2021-03-29 13:00:19 +02:00
Hugo5000
3c3f41777c
Added structure grow listener to resolve block protection timer overrides ( #1130 )
2021-03-25 14:05:22 +01:00
Hugo5000
524d667604
Fixed Plant resetting the block protection ( #1129 )
2021-03-25 14:04:05 +01:00
MrMacor
f639173293
Cache entity metadatas properly ( #1125 )
...
Now we uses better caching mechanic for storing entity datas
2021-03-25 09:41:43 +01:00
montlikadani
51a0b4bef7
Fix when players got all jobs instead of one
...
Somehow updating job ids with 0 index will result to duplicate all jobs instead of updating their indexes.
- Removing static instance of Jobs class as its a bad idea, now we uses better implementation to access Jobs object
- Now the %jobsr_user_jobs% placeholder will returns all of player jobs separated with comma "job1, job2 .."
2021-03-24 16:17:00 +01:00
montlikadani
6e144d5f02
Fix typo for soul speed enchantment
...
Fixes #1122
2021-03-21 18:25:40 +01:00
montlikadani
24968f2218
Fix Jobs database truncation on updating job ids
2021-03-21 17:02:42 +01:00
montlikadani
0d138d6664
Fix signs command parsing issue on click
...
Now on the 3rd line the trailing spaces will get removed to successfully parse for example the join command.
2021-03-20 09:54:02 +01:00
montlikadani
9df1810732
Removed old non-working translatable words files
2021-03-19 17:23:18 +01:00
montlikadani
e502fa4ab5
Revert the old chat events back for fix chat placeholder replacing
...
Fixes #1118
2021-03-19 15:44:49 +01:00
Zrips
26d57c107e
GUI title length is limited in older versions.
2021-03-17 12:46:31 +02:00
montlikadani
4e2928460e
A bit more improvements
2021-03-16 11:17:29 +01:00
kikelkik
1726f4ba4b
boost negative income correctly
2021-03-14 17:57:48 +01:00
montlikadani
d15c2a77d0
Perform payment synchronously for old plugins like CraftConomy
...
Fixes #1111
2021-03-14 14:14:26 +01:00
montlikadani
846e04539a
Fix when enchanting an elytra with a book get paid without Enchant action
...
Fixes #1104
2021-03-10 19:46:07 +01:00
montlikadani
fc5c5bfd08
Trying to follow naming conventions and some cleanup
2021-03-10 19:14:52 +01:00
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