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

582 Commits

Author SHA1 Message Date
Zrips
642b1bc176 And lets include blast furnace to furnace and smoker group 2019-06-14 16:52:51 +03:00
Zrips
7f4c85a4ad Lets include Smoker into smelt event 2019-06-14 16:45:14 +03:00
Zrips
9cac1806e2 Best way to go: Make your own thing 2019-06-14 16:20:42 +03:00
Zrips
153b573040 Better way to determine enchantment 2019-06-14 12:44:12 +03:00
Zrips
e5a1e00647 Lets simplify transletable words for items 2019-06-10 15:01:37 +03:00
montlikadani
3b42627cb8 Added firework shoot when leveling up
- Fixed NPE when entered /jobs playerinfo command, #456
2019-06-08 18:27:23 +02:00
Draycia
6c18f482d0
Set job in JobsPrePaymentEvent 2019-06-05 04:19:55 -07:00
Draycia
d4543c341e
Relocate JobsPrePaymentEvent import 2019-06-05 00:50:42 -07:00
Draycia
22f4cc7fa6
Add JobsPrePaymentEvent
Add event to allow plugins to modify payments per player and per job before they're added to the delayed payment batch.
2019-06-05 00:46:50 -07:00
montlikadani
6f082c7ca9 Added option to disable payment if player riding, #437 2019-06-04 19:13:07 +02:00
montlikadani
875f2a0b3b Let's add short digit numbers, #442
This should fix the issue, when the placeholder used in example on scoreboard, but the double return number does not shorted to digit numbers
2019-06-03 16:41:02 +02:00
montlikadani
5a651d3cc7 Sign char limit is 16, #443
We do not need to short the player name to 8 character to look nicely on sign, for now if the name reach 15+ chars then write "~" after the name to short
2019-06-01 23:40:55 +02:00
montlikadani
00393ea4c2 Changes in enchantments
- Removed the broadcast skill ups levels, this already exist on level up
- Removed enchantments from jobConfig due to prevent console errors, that some users don't know what is, because not read it (If you want to add enchantments just find and add it, that compatible with your client version)
- Now the enchanted names are generated successfully when plugin starts, for now the 1.13+ enchantments names are not the shorted names, such as durability, instead the fully name, suc as unbreaking (durability and other shorted names, are used in only 1.12 and under)
2019-06-01 13:28:38 +02:00
montlikadani
2a93f1b461 Fix money dupping issue (not full)
Related issue: #438
2019-05-30 20:03:09 +02:00
montlikadani
23e349bd10 Check for null if possible
- Fix NPE when a item not found in enchant_table
- Melon can be used for now as melon_block
- We needs the redstone_lamp_on material, #440
2019-05-30 18:40:41 +02:00
Zrips
1db6723904 Some extra examples of new quest system with default quests for all jobs 2019-05-27 12:11:55 +03:00
Zrips
03c18a98a1 Actual multi-objective quest thingy 2019-05-27 11:46:09 +03:00
Zrips
f870e7f5dd Lets inform when we cant recognize enchant name for enchanter
Lets fix enchant name translation
2019-05-26 19:29:09 +03:00
Zrips
be0bb1ef15 Fixing McMMO issue 2019-05-26 12:36:00 +03:00
Zrips
671f4ff15a Permission nodes should be for OP by default 2019-05-26 11:49:03 +03:00
Zrips
efad176d17 We have to convert slab type into String 2019-05-26 11:22:20 +03:00
Zrips
7cbdf51713 Lets catch MythicMob exception for issue with new API. Further update is
needed
2019-05-26 10:59:32 +03:00
montlikadani
75b1ab8e0a Fixed NPE, when break a block and checks air in hand instead of item, #427
- Lets try to ignore recently updated deprecated methods
2019-05-20 16:38:16 +02:00
montlikadani
59f013ba36 Stability improvements in events to reduce ram usage, #425
- Minimize sign saving
2019-05-19 17:41:01 +02:00
montlikadani
10d74e9593 Now works the turtle breed and other egg, #354
- Update spigot to 1.14.1
- Remove not-used deprecated method
2019-05-16 18:56:10 +02:00
montlikadani
ee94189989 Compile fix 2019-05-12 17:28:21 +02:00
montlikadani
4e47bf2f4f Fix potion consume event in 1.8 versions, #418
The potion drink action will be removed soon. It seems some potions has 3-4 types and needs to be known what types of, but not described.
2019-05-12 15:14:34 +02:00
montlikadani
1b818f5d05 Added confirmation timer to leave and leaveall, #386
This not tested
2019-05-09 18:31:49 +02:00
montlikadani
afb07a69d4 #413 Now checks the papi version when using old version and update to latest
- Last commit fix for offlineplayer, we not using this
2019-05-08 12:56:28 +02:00
montlikadani
2147c270ea Lets start the papi expansion update
This will supports the dev. version of PlaceholderAPI, not tested
2019-05-06 19:52:09 +02:00
montlikadani
eace433f7d Lets use the NMS classes to ignore errors 2019-05-06 19:18:15 +02:00
montlikadani
02ad7df873 Fix last commit player NOT monster
- Fix incomplete-switch argument
2019-05-05 13:20:32 +02:00
montlikadani
c5dc27c072 Possible fix for removing the player from list 2019-05-04 14:09:25 +02:00
montlikadani
5fde6cb79c Re-add pig-zombie and minecart command
- We not using the deprecated codes, only old versions
2019-05-04 13:57:20 +02:00
montlikadani
197232cdfc Fixed ClassCastException when put a new sign
- Fixed issue when a player use the [toplist] line in sign, then randomly hide from sign
2019-05-03 16:35:23 +02:00
montlikadani
956acf8dd1 Fixed issue when the pay is not work, #409 2019-05-03 16:24:51 +02:00
Zrips
14253be043 Lets make it always in async 2019-05-02 21:00:36 +03:00
montlikadani
9d4e62da1e Fix #403 when changing the database 2019-05-02 15:30:47 +02:00
Zrips
a950fd3d47 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2019-05-02 16:00:56 +03:00
Zrips
6ad9b86d3b Small step for a man... 2019-05-02 15:59:22 +03:00
montlikadani
d6fe972a0e Lets fix wall banner has not the correct id
- Code cleanup
2019-05-02 14:52:35 +02:00
Zrips
23dee5d93e One step at a time 2019-05-02 15:35:24 +03:00
montlikadani
cd35cc75f2 Initial 1.14 support 2019-05-01 13:19:13 +02:00
montlikadani
6ee818594b Lets start update to 1.14 2019-04-28 17:00:40 +02:00
montlikadani
472112377f Jobs shop items now use enchants
- Fix level no job error message path not found
2019-04-25 20:47:10 +02:00
montlikadani
f9ebb0bec3 Lets use the enum constant name not only the constant 2019-04-18 17:54:42 +02:00
montlikadani
23b834a7e0 Code cleanup
- Last commit fix for creates a new shopItems file and show the first problem in console
- Example comment in GUI section to use custom player head
2019-04-12 15:23:58 +02:00
montlikadani
aecfbf8419 ShopItems now in material names, not id and data 2019-04-06 14:29:59 +02:00
montlikadani
ce678030f6
Merge pull request #336 from Madis0/patch-2
et: Limited items and more
2019-04-04 19:59:58 +02:00
Madis
89b38f797d
Added new strings 2019-04-04 20:29:25 +03:00
montlikadani
bb2c50b637
Merge pull request #396 from lululand-de/master
Fixed IndexOutOfBoundsException on signs update
2019-04-03 16:29:47 +02:00
Thomas Worm
e957436a01 Fixed IndexOutOfBoundsException on signs update 2019-04-02 21:49:13 +02:00
montlikadani
da53f3d7aa Hotfix for get version from WG plugin.yml file 2019-03-25 17:47:13 +01:00
montlikadani
06538ed4e6 Now supports WorldGuard 7.0.0
- Added a placeholder %jobs_user_archived_jobs% to show the archived jobs for the user.
- Fix file saving problem when removed the restricted area
- /jobs area command now works
2019-03-25 17:41:08 +01:00
montlikadani
753ecefb10 Fix NPE when a user used 1.8 versions and gliding is not valid 2019-03-22 13:32:37 +01:00
montlikadani
9436fae564 Fix exp command when contains string instead of number, continue to next step 2019-03-15 15:27:12 +01:00
montlikadani
c5935ccd6d Fix double sends no-permission message
- Removed some unnecessary classes.
- exp command can now be used as double
2019-03-15 14:13:55 +01:00
montlikadani
5c3c064cb5 Lets fix last PR double class check and throw error
- Fix not showing color in the chat when used chat-format option.
2019-03-08 09:30:57 +01:00
Josiah Jones
eb02af93b2
Update McMMOManager.java 2019-03-07 13:35:53 -06:00
Josiah Jones
2f996320e1
Remove AbilityType references causing Import error
Removed AbilityType else statement. Added additional check in CheckmcMMO() to confirm class com.gmail.nossr50.datatypes.skills.superabilitytype exists in try.
2019-03-07 13:35:31 -06:00
Josiah Jones
2df210d4aa
Correct Import for SuperAbilityType 2019-03-07 13:11:53 -06:00
Josiah Jones
9b2945df50
Add AbilityType and SuperAbilityType back
Adding both AbilityType and SuperAbilityType with com.gmail.nossr50.datatypes.skills as mcMMO api requires this to call.
2019-03-06 20:49:28 -06:00
montlikadani
5d64b67d72 Quick fix for last commit 2019-03-06 18:12:56 +01:00
montlikadani
417b6f70f9 Option to broadcast skill message when a player reach level, #171
- Modify-chat set to default false, to ignore user-friendly posts.
- DBManager registering fix at startup, #377
2019-03-06 17:51:35 +01:00
montlikadani
2c0451aa55 Lets fix special signs has not updated heads
- Last commit stability fix for registering class
2019-03-01 17:03:45 +01:00
Zrips
ef7eafee08 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2019-02-28 20:17:32 +02:00
Zrips
0cada339d8 It should be compiled against 1.8 2019-02-28 20:16:53 +02:00
montlikadani
a377ad08db Lets make more stabily to catch exceptions 2019-02-28 19:16:36 +01:00
Zrips
7d35127e6b Version increment 2019-02-28 18:22:17 +02:00
Zrips
98fe82ec5f So we have to get donequests column when reading database 2019-02-28 12:56:14 +02:00
Zrips
00f62cd58f Fix for convert command issue introduced with some of previous updates 2019-02-28 12:44:48 +02:00
Zrips
be16539425 Better way to update signs and heads 2019-02-28 12:20:06 +02:00
montlikadani
0dca69e891 Added option to config to pay exploring when player gliding
- Now not generates the bossbar options when using 1.8 or lower versions.
2019-02-27 19:02:00 +01:00
montlikadani
c1a4c28534
Update ConfigManager.java 2019-02-27 17:19:11 +01:00
HimaJyun
c2d86ff1dd each item SoftLimit 2019-02-27 07:31:51 +09:00
montlikadani
a7f9b0d99e Fix signs not work properly so it not updated at placing a sign, #356 2019-02-24 15:38:09 +01:00
montlikadani
78ff26d124 Fix potion recognition bug
- /jobs editjobs now actually check for off hand.
- Some fixes in /jobs editjobs command
- Fix translatable words file generating problems for potions
- Fix NPE when enchant action was pay for item enchanting but throws exception
- MythicMobs update
2019-02-22 19:31:57 +01:00
Zrips
8aafd9f903 Fix for tabcomplete 2019-02-19 19:14:06 +02:00
Zrips
7fbfab2c4c Lets check offhand for boosted item 2019-02-19 18:10:39 +02:00
Zrips
3de7453675 So lets use reflections when using older McMMO. What else we could do in
this situation...
2019-02-19 17:30:43 +02:00
montlikadani
29c353214d Added option to prevent item durability loss to pay, #8
- Fix tab-complete overwrites the server tab-complete, so if tab-complete set to -1, then its working again.
2019-02-16 14:51:09 +01:00
montlikadani
12b2419f88 Added option to quests to use more items in one quest 2019-02-14 17:18:11 +01:00
montlikadani
1f2219b3cb Not check for explorer by the ground, but check flying, #357 2019-02-13 20:44:29 +01:00
montlikadani
62f5718eb1 Fix file loading when the plugin/server reloaded, #353
- Fix permission for /jobs quest & /jobs shop, #358
2019-02-11 19:47:31 +01:00
montlikadani
523ef32acd Added a option to pay for enchanting a item from anvil, #331 2019-02-06 19:57:58 +01:00
montlikadani
cee99ce850 Added a placeholder %titlename% to display the current title name, #344
- Fix NPE when someone removed the Jobs section from the jobConfig file and throws exception
- SelectionTool now in material name not ID
- save-on-disconnect now saving successfully
- Fix NPE when jobs items not found
- Fix jobs GUI when filled with stone not the specified
2019-02-06 14:53:08 +01:00
jackstrosahl
82620c0d01 Update PointsData
If addPlayer is called with multiserver compatabillity, remove a player if it already exists to load from db.
Make all addPlayer functions call up to one function.
2019-02-06 01:46:31 -06:00
Zrips
6753f24876 Version increment and minor fix for RawMessage display 2019-02-04 13:07:07 +02:00
Zrips
dd60cecb9f Lets use RawMessage builder 2019-02-04 13:02:14 +02:00
Zrips
46c2406ced Different aproach to old item boost conversion
Lets show itembonus even if you are not in that job
2019-02-04 12:27:53 +02:00
montlikadani
82f5ad0fd4 New placeholders to get user points
- /jobs employ command needs max slots check
2019-02-02 21:11:21 +01:00
Zrips
80f43d3f47 Removing debug message 2019-02-01 15:58:15 +02:00
Zrips
c3ccf30b6d Lets update signs and heads in hard way and lets make it more optimized 2019-02-01 15:38:25 +02:00
Zrips
84681df41a Lets add option to limit boosts by levels 2019-01-31 16:47:52 +02:00
Zrips
f310ad0677 Initial update to move boosted items to its own file and change behavior 2019-01-31 15:35:53 +02:00
Zrips
3310bef5a0 Lets update enchantlist in translatable file to new format 2019-01-30 16:53:41 +02:00
Zrips
b81d5ead65 Lets not forget to copy over actual translatable files from plugin 2019-01-30 16:33:08 +02:00
Zrips
a231287131 Lets centralize creative mode payment check 2019-01-30 16:15:34 +02:00
Zrips
1d897e9d3e New job action: StripLogs 2019-01-30 16:05:46 +02:00
Zrips
95f922e151 Lets use ConfigReader
Lets properly transition to new mysql setup format by keeping old
entries
Better checks for existing mysql tables
2019-01-30 15:28:17 +02:00