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
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
Zrips
c341d43892
Lets properly update missing and newly added quests with /jobs reload
2019-01-30 11:28:17 +02:00
Zrips
af4d6ce282
McMMO 2.1.2 support with backwards compatibility.
2019-01-30 10:45:28 +02:00
montlikadani
1f1b9ee7a9
Support for mcMMO 2.0.0
2019-01-29 19:25:26 +01:00
montlikadani
92564ee8b1
Fix money dupping when someone repaired the item from anvil
...
- Fix NPE when promote argument has executed and player not found
- Let's check the permission for sender not the jobs player
2019-01-28 19:09:11 +01:00
ken-kentan
f3a9346dba
fix #337
2019-01-28 13:11:52 +09:00
ken-kentan
75f6b2aabd
fix legacy wall_banner id, add legacy_brewing_stand
2019-01-28 13:11:22 +09:00
montlikadani
a63b259711
Fix NPE when item bonus not found
...
Error: https://hastebin.com/aforinojut.cs
2019-01-24 20:42:34 +01:00
montlikadani
b230c17292
Lets catch Throwable instead of Exception when not using spigot
...
- Now you can give the limited items with **/jobs give [playername] [jobname] [items/limiteditems] [jobitemname]** command to get limited items from jobConfig.
2019-01-23 19:23:16 +01:00
Madis
2b90fe6c67
English fixes
...
Grammar and spelling. Not a native speaker but I hope I helped regardless.
2019-01-16 15:01:00 +02:00
montlikadani
825486ea0d
Fixed when someone bought from the jobs shop and has not points then got the item
...
- level & exp command fix when the target player has not in the job and not got any message
2019-01-15 09:46:44 +01:00
montlikadani
d3442c8fe2
Fixed when changed the database throws error
...
- Now support PlaceholderAPI the latest version
- Now support MythicMobs the latest version
2019-01-13 18:12:12 +01:00
montlikadani
28f8e24465
Update JobsPaymentListener.java
2019-01-11 19:59:19 +01:00
montlikadani
85cc9b45f2
Fix SQLiteException error when changed database to SQL
...
https://www.spigotmc.org/threads/jobs-reborn.50989/page-241#post-3277743
2019-01-09 16:01:23 +01:00
montlikadani
40cbf67bf4
Some MySQL changes
...
- Lets colorize raw message
- Make configurable MySQL auto reconnect boolean
2019-01-08 18:50:03 +01:00
meowsome
e817089c4c
Fix Typos
...
Fixed a bunch of small typos I found in comments throughout this file
2019-01-07 21:26:32 -05:00
montlikadani
2215c57791
Added player argument to /job limit command
...
- Fix sheep color not work properly
2019-01-07 18:06:02 +01:00
montlikadani
aadf514dba
Fix #323 /jobs employ if target has, then checked the permission at the target
...
- Now checking correctly for plants when break
2019-01-05 19:01:27 +01:00
montlikadani
33c1bb961d
Added some 1.13 blocks
...
- Some command permission fixes
- Now used UTF-8 in the MySQL, #147
- Fix last commit when a player level up or skill up and broadcast
2019-01-04 20:46:32 +01:00
Narimm
b29da9cead
Add a feature that will decrease earnings at cap by a factored amount using the equation
...
(100/((1/factor*percentOver*percentOver)+1)) ie a pop growth curve.
2019-01-04 07:42:17 +10:00
Zrips
0aeb4e383b
So lets do it in packets, everyone loves packets.
2019-01-01 18:12:30 +02:00
montlikadani
6709abca2f
Fixed issue with colors not work, #267
2018-12-31 13:01:53 +01:00
montlikadani
432cbbbd09
Global toplist scoreboard now work on 1.13
...
- Fixed if the furnace or brewingstand reassign is disabled then saved the datas to file again again...
2018-12-30 21:22:07 +01:00
Zrips
800aab1a3b
Merge branch 'master' of https://github.com/Zrips/Jobs.git
2018-12-28 17:03:27 +02:00
Zrips
46581093fc
We dont need this as this should be checking by sender not by target
2018-12-28 17:03:00 +02:00
montlikadani
af54c5c513
Hotfix for running command
2018-12-27 16:29:11 +01:00
montlikadani
82d0af935d
New command: /jobs level
...
Suggested by: Rangewonk / SlVlR (on Discord)
2018-12-27 16:23:56 +01:00
Zrips
7c5a03afb6
Slab type correct check when running on older versions
2018-12-27 14:02:47 +02:00
Zrips
98cd4dee23
new command to display posible placeholders
...
Some complexing for similar placeholders
2018-12-27 13:10:12 +02:00
Zrips
0849d5532d
Fix for some placeholders and renaming them to be more obvious what they
...
do
Extra placeholders
2018-12-27 12:07:14 +02:00
montlikadani
2b09ae73d6
Added some PAPI placeholders
...
- Fix double checked Exception throws
2018-12-26 14:08:27 +01:00
Zrips
db0675788a
Merge branch 'master' of https://github.com/Zrips/Jobs.git
2018-12-25 22:47:17 +02:00
Zrips
f7a5980a9e
Lets catch exceptions on shutdown in case there is issue with that
2018-12-25 22:47:08 +02:00
montlikadani
338e3f92f4
Need code for switch types
2018-12-25 13:03:16 +01:00
Zrips
d9a48b5b97
Lets simplify it even more
...
Version increment for future release
2018-12-25 12:58:17 +02:00
Zrips
edb943be11
Initial support for built in placeholders for PlaceHolderAPI
...
Couple base placeholders
2018-12-25 12:52:38 +02:00
montlikadani
3ea901d5c4
Hot fix for creating new words file #317
2018-12-24 13:34:37 +01:00
montlikadani
d41b5f7a1f
Fix wrong file & folder path
...
- Code clean up
2018-12-23 17:31:05 +01:00
Zrips
2d974b2066
Lets include new mobs in default config
2018-12-23 18:22:05 +02:00
Zrips
6823891c89
Lets use UUID's
2018-12-23 18:13:34 +02:00
Zrips
b6ae3e7617
better top command pagination handling
2018-12-23 18:06:30 +02:00
Zrips
334ace8286
Lets simplify gtop pagination process
...
gtop should take into consideration how many we are showing while
extracting data from database
2018-12-23 17:55:36 +02:00
Zrips
24b1272304
Pagination for gtop command
2018-12-23 17:38:21 +02:00
Zrips
46e062d514
Merge branch 'master' of https://github.com/Zrips/Jobs.git
2018-12-23 16:26:01 +02:00
Zrips
87e5fb2935
Lets minimize output and lets record less entries for explorer
2018-12-23 16:24:58 +02:00
montlikadani
b229a0be5f
Code clean up
...
- Copy over all words files before updating active ones.
2018-12-23 14:34:59 +01:00
Zrips
8629a12710
Lest check explorer fly pay by player ground position not a fly state
2018-12-23 11:53:33 +02:00
Zrips
163af81253
We have to copy over all locale files before updating active ones.
2018-12-23 11:15:54 +02:00
Zrips
0439d5eeda
Lets properly resize GUI by required slots.
2018-12-23 11:03:18 +02:00
montlikadani
c9f15c8ad4
Re-added payInCreative boolean
...
If a group has jobs.paycreative permission then this booelean ignores.
2018-12-22 14:26:45 +01:00
montlikadani
dfbf7963da
Code clean up
...
- Updated MythicMobs to the latest version
- Fix player double checking when interacts in world
2018-12-17 20:50:14 +01:00
montlikadani
0592c6da62
Added some new 1.14 materials
...
- Added some 1.14 enchantments
- Some permission fixes
- Not check for chunk when the player not found
- Removed non-supported plant age checker
2018-12-13 18:54:38 +01:00
montlikadani
221ef37ea3
Fix some command permissions
...
- Trident material has an ID
- Removed boolean pay-in-creative from generalConfig and replaced to jobs.paycreative permission. https://www.spigotmc.org/threads/jobs-reborn.50989/page-232#post-3242807
2018-12-07 19:41:15 +01:00
montlikadani
e52c4fa43b
Fixed the plugin not disabling
...
- Fix some file creation problems
- Fixed when the player has not joined a job, milk a cow and get paid, https://www.spigotmc.org/threads/jobs-reborn.50989/page-231#post-3240788
2018-12-04 18:16:55 +01:00
montlikadani
ed0eadad69
Some code clean up
...
- Fix 1 color not work (lime)
- We using the default data folder from main class
- We don't need to copy and create a lot of message file
2018-11-25 20:09:48 +01:00
montlikadani
9e7eb97b12
Added custom head setting to the gui shop, #152
...
- Fix NullPointerException, https://www.spigotmc.org/threads/jobs-reborn.50989/page-227#post-3221066
2018-11-16 15:48:50 +01:00
Zrips
11af61064c
We don't need this ones anymore.
2018-11-13 19:14:21 +02:00
montlikadani
855cea13ef
Fixed IllegalArgumentException while creating a file, #293
...
- Some clean up code
2018-11-13 17:40:52 +01:00
montlikadani
e3829d12d2
Some tab-complete fix
...
- Retrieving colors
2018-11-12 16:31:05 +01:00
Zrips
1d3b6fc73f
Lets resize jobs browse GUI if jobs can't fit in current one
2018-11-12 17:17:28 +02:00
Zrips
12232cb9fa
Lets check translatable word split lenghtin case its wrong
2018-11-12 14:36:44 +02:00
Zrips
ab70033fb2
Lets add some legacy blocks
2018-11-12 13:26:10 +02:00
Zrips
bd0f124031
Lets update boosts based by permission each time using info command
2018-11-12 13:10:14 +02:00
Zrips
9d8c9532c1
Empty is not empty by Mojang logic...
2018-11-12 12:49:02 +02:00
Zrips
66f2c4e743
Lets remove data value for gui filler and back button as we can use full
...
names now
Set filler display name to empty field for better looks.
2018-11-12 12:38:08 +02:00
montlikadani
a75b128630
Improved tap-complete problems
...
- Fixed villager trade not working correctly.
2018-11-09 15:01:20 +01:00
montlikadani
ac77148230
Now if the localestring is empty or not found then create a default message file
...
- Now if execute the /jobs reload command then load the furnacebrewinghandling event.
- Fix language double loading when plugin startup
2018-11-01 17:00:29 +01:00
sync667
8e07d57ad6
Fixed bug with payments task stops randomly after taxes math get 0 or > 0. One function return fix too.
2018-10-30 18:41:32 +01:00
montlikadani
f6c251b0be
Removed last commit test (error)
...
- TODO: fixing 3 colors not working correctly #267
- Now the message files, it only creates two files, a default and a specified one.
- Fixed #239 hoppers earn money when baked food. (file creating problem)
2018-10-26 16:54:28 +02:00
montlikadani
7410d86bcc
Fix #267 (again) 3 colors not work
...
Fixed an issue to 3 colors not working correctly.
2018-10-23 17:47:23 +02:00
montlikadani
32db8ef1ea
Fix #267
...
The potion names & the colors not working correctly.
2018-10-22 19:16:06 +02:00
montlikadani
5b4f43b1af
Fixed the points are withdraw even if inventory is full in shop. #173
...
- Fix some bed recognition problem
2018-10-22 18:11:28 +02:00
montlikadani
cbb6c534e2
Let's adding short material names #271
...
- Some fixes
- Clean up some code
2018-10-19 20:02:03 +02:00
montlikadani
5c18493fc0
Removed last commit test (error)
...
- Fix some material recognition
- Fix #268 , in the command not find the player, so it not worked the command
2018-10-17 18:10:34 +02:00
montlikadani
e518f7308d
Fix #266
2018-10-16 16:59:25 +02:00
Zrips
350743a738
Version increment and some missing files from last commit
2018-10-16 15:31:52 +03:00
Zrips
f5183b3bac
Lets shorten restrictedBlocks file and use material names instead
2018-10-16 15:17:37 +03:00
Zrips
85ec42abb7
Lets print stack trace and provide better information what happen
2018-10-16 13:53:24 +03:00
Zrips
4af999b7cc
NPE
2018-10-16 12:38:31 +03:00
montlikadani
9dfa9177d1
Some changes in config
...
- Now if the player not joined in the job then the placeholder not showing in the chat.
- Fix NullPointerException (again...)
2018-10-15 17:06:40 +02:00
Zrips
b6589bac2f
Lets prevent slab error
2018-10-15 15:51:45 +03:00
Zrips
6d239bf83d
Glowing Redstone to regular one for 1.13
2018-10-15 14:01:51 +03:00
Zrips
0fb849abca
Correct enchant name translation
2018-10-15 13:36:13 +03:00
Zrips
2a1663495c
New command resetquest (playerName) (job)
...
Lets HashMap everything for quest progresion to avoid duplications
2018-10-15 13:20:21 +03:00
Zrips
4fdb037fe9
lets contract potion and color name lists
2018-10-14 19:42:10 +03:00
Zrips
518794e71e
Lets make it short
2018-10-14 19:22:24 +03:00
Zrips
a6a02b3ef4
Lets extract item names from CMIMaterial instead of having fixed list
2018-10-14 17:57:21 +03:00