montlikadani
066c0dd2b6
Remove bossbar on server shutdown
2020-01-26 13:41:34 +01:00
montlikadani
1e2a2473b0
Do not ignore deprecated and not used methods
...
For developers are needed if not updating the Jobs
2020-01-21 17:30:29 +01:00
montlikadani
95c3ae3578
Fixed issue when the RequiredJobLevels not works correctly
2020-01-13 15:56:25 +01:00
montlikadani
1ecffe1895
Fixed NPE when loading the chunks from database
...
- Fixed NPE when getting the quests and null
- Removed some deprecated methods
2020-01-08 17:51:40 +01:00
montlikadani
6a017df07f
Just some optimizations
2019-12-24 12:08:11 +01:00
montlikadani
3e0ed72a3f
Fix NPE when a job not found with that id
...
WeakHashMap is not safe for saving datas, because it will clears the whole data from it and the database will crash it. Described here: https://www.baeldung.com/java-weakhashmap#overview
- Fixed issue when the bone meal still acts as placed block
2019-12-23 09:43:49 +01:00
montlikadani
e1665f55d4
Bonus output colors can now be changed from config
2019-12-14 18:08:43 +01:00
montlikadani
d30f0d578d
Fixed issue when used a dev-build of papi
2019-12-13 17:07:42 +01:00
montlikadani
04fda3bb86
10x faster material recognition
...
From 34ddd20a0a
2019-12-02 17:35:37 +01:00
montlikadani
3a7eb65472
Fixed jobs GUI when opened showing the same action names
...
- Optimized the shooting of firework random
2019-11-02 15:32:53 +01:00
Zrips
536eac2613
Lets move shop gui to CMI handling type one
...
We have to re register events for GUI
2019-10-30 10:29:59 +02:00
Zrips
804da86dc1
Lets use CMI Gui handling instead of messy old one
2019-10-29 15:37:31 +02:00
Zrips
ebe321fc42
Missing locale for itembonus when you are not in that job
...
Lets allow to not apply bonus to a negative income, this will change
previous default behavior and will not add bonus to negative income from
now on unless changed in config file
2019-10-28 12:20:04 +02:00
montlikadani
c36df666be
Lets start working on Cook action
2019-10-26 11:30:58 +02:00
montlikadani
65d0b9a811
Change logic for reload
2019-10-16 20:21:50 +02:00
montlikadani
3b8ad58d05
Lets make async for convert sub-command
...
- Some null checks
2019-10-16 20:19:05 +02:00
montlikadani
f48e6dcec4
Speed up the version checking of papi
2019-09-26 20:44:20 +02:00
Zrips
6dfd0d94e8
Table conversion to use ID's
2019-09-24 12:27:32 +03:00
Zrips
e077c5f02d
First iteration to use ID's instead of full name String, saves space
2019-09-19 18:54:59 +03:00
Zrips
fae5d65a88
Lets upgrade BufferedPayment
2019-09-19 14:01:24 +03:00
montlikadani
6cd52625e2
Should fixed issue when the JobsPrePaymentEvent getJob method always returns null
2019-09-14 16:14:38 +02:00
montlikadani
f19138db4d
Fixed signs updating
...
- Level, exp adding and taking amounts now correctly calculating.
2019-09-03 17:01:49 +02:00
montlikadani
d84b7d4f03
Implement more API event methods to PrePaymentEvent
2019-08-23 17:28:35 +02:00
montlikadani
a07cbb246d
Should need to get actionbar message if the exp, points or money 0
...
The player should receive the payment message if one, such as points, money, or exp 0 is received. If the value 0 will not get any message.
2019-08-23 17:09:15 +02:00
Yiğit Duman
ee85da3761
Fix for showing messages without payment ( #513 )
2019-08-23 15:36:54 +02:00
Zrips
229be42d64
Lets save block protection in 100's batches whatever it reaches this
...
limit, instead of doing everything in one go on server shutdown
2019-08-16 14:22:39 +03:00
montlikadani
3ee52815a1
Remove bossbar on server shutdown
2019-08-15 09:41:25 +02:00
montlikadani
95dda60088
Critical bug fix for fastpayment in for-loop
...
- Changed the navy and silver to light_blue and light_gray due to version problems, #501
2019-08-12 14:04:15 +02:00
montlikadani
13432fe35f
Implement some missing codes
...
Fixed issue when added the schedules to list but cleared in for-loop.
2019-08-04 13:08:47 +02:00
montlikadani
0abdf99c85
Class register should be in the main thread
2019-07-28 12:39:31 +02:00
montlikadani
cf44caa2aa
Implement code to unregister all listeners on reload
...
This reduces the memory leak issue sometimes
- Schedule file now generated when option is enabled in configuration
- Make sure MyPet is enabled when starting plugin
2019-07-23 21:32:32 +02:00
montlikadani
3cc2c97ec8
Added option to disable the ScheduleManager to prevent memory leak issue
...
By default this has been disabled, because the plugin automatically creates the task, when we don't want to make boosts with scheduleManager.
2019-07-14 14:45:10 +02:00
montlikadani
dd8a717271
Added option to save the toggled actionbar/bossbar values to a file
...
- Fixed issue when the /jobs gtop clear not removed the scoreboard
- Deprecate some methods
- Fixed issue when the nearbyEntities is invalid under 1.8 (armor stand will not work in this version)
2019-06-27 18:03:52 +02:00
Zrips
9cac1806e2
Best way to go: Make your own thing
2019-06-14 16:20:42 +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
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
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
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
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
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
9d4e62da1e
Fix #403 when changing the database
2019-05-02 15:30:47 +02: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
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
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
Zrips
f310ad0677
Initial update to move boosted items to its own file and change behavior
2019-01-31 15:35:53 +02: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
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
montlikadani
6709abca2f
Fixed issue with colors not work, #267
2018-12-31 13:01:53 +01:00
Zrips
98cd4dee23
new command to display posible placeholders
...
Some complexing for similar placeholders
2018-12-27 13:10:12 +02:00
montlikadani
2b09ae73d6
Added some PAPI placeholders
...
- Fix double checked Exception throws
2018-12-26 14:08:27 +01:00
Zrips
f7a5980a9e
Lets catch exceptions on shutdown in case there is issue with that
2018-12-25 22:47:08 +02:00
Zrips
edb943be11
Initial support for built in placeholders for PlaceHolderAPI
...
Couple base placeholders
2018-12-25 12:52:38 +02:00
Zrips
6823891c89
Lets use UUID's
2018-12-23 18:13:34 +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
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
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
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
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
Zrips
f5183b3bac
Lets shorten restrictedBlocks file and use material names instead
2018-10-16 15:17:37 +03:00
Zrips
99f13e5c47
Lets update libraaries includign rawMessage one
2018-10-14 14:01:11 +03:00
montlikadani
e05a7f34af
Added new potions
...
- Now, if are missing max-level, vip-max-level, slots, and rejoincooldown integers, it will work without it.
- Fix empty lores
- Minor spell correcting in config
- Fix disabling plugin when the server crash
2018-10-08 18:35:00 +02:00
montlikadani
36d4eded68
Minor config changes
...
- Fix jobs.* permission does not work correctly
- Fix potion item main hand
- Removed IConomy support
- Fixing drink job event (not working)...
2018-09-28 19:38:00 +02:00
montlikadani
ebc6c99dc2
Let's clean up code
...
- We use the default colors from the lang file
- Fixed enchantments not working in GUI
- Fix BossBar console error message
- Now if the signs is enabled then use the command
- Fixed the place of brewing stand stayed when the player break, #205
- Now if the Signs.Enable boolean true, then only create a file
- Fixed version checker not working correctly
2018-09-23 17:02:48 +02:00
montlikadani
5a471f3e6e
Fixes a lot of problems with gets the items
...
- Clean up code
- Minor correcting spelling mistakes
2018-09-20 16:34:41 +02:00
montlikadani
bb8a32a6f0
Back to Vault 1.6.7
...
- Clean up code
2018-09-17 17:38:58 +02:00
montlikadani
e63d86f912
Now if execute the browse cmd in console not send the raw msg
...
- Now /jobs quest when execute in console not send the message
- Now you can set in config the amount of players to be shown in one page for /jobs top & gtop commands
2018-09-07 17:46:47 +02:00
montlikadani
c084825422
Revert "Now if execute the browse cmd in console not send the raw msg"
...
This reverts commit 05a6b71775
.
2018-09-07 16:20:56 +02:00
montlikadani
05a6b71775
Now if execute the browse cmd in console not send the raw msg
...
- Now /jobs quest when execute in console not send the message
- Fix brewing stand id
- Now you can set in config the amount of players to be shown in one page for /jobs top command
2018-09-07 16:07:15 +02:00
montlikadani
1e8940124f
Let's removing unnecessary code
...
- Fixed NullPointerException if loading words
- Fix potion ids
- Plugin now disabling when found an issue if the plugin has started
- Now if the SignsEnabled boolean is false does not create a file
- Fix api event bugs #226
2018-09-01 09:07:22 +02:00
montlikadani
1547505a96
Support for dev. Vault
...
- Clean up code
- Now only create furnaceBrewingStands.yml file if the boolean is enabled
- Fix double permission names
2018-08-24 09:02:30 +02:00
montlikadani
1852cb5bc3
Fix NullPointerExceptions (again)
...
Other:
- Add SuppressWarnings deprecation
- Fix skull owner set of offline player
2018-08-23 09:20:07 +02:00
montlikadani
5c93c54236
Merge pull request #216 from Zrips/montlikadani-patch-3
...
Fix NullPointerExceptions
2018-08-20 19:46:06 +02:00
montlikadani
f3c456c046
Clean up code
...
Other:
- Removed unused imports.
- Removed deprecation methods.
- Support for WorldEdit 7.0.0
- Support for MyPet 3.0
2018-08-20 17:07:20 +02:00
montlikadani
f2c5a916d3
Update Jobs.java
2018-08-16 17:43:10 +02:00
Zrips
72a7644074
Item by material, not by CMIMaterial name
2018-08-09 13:19:33 +03:00
Zrips
ffa0ad5522
Lets check daily quest even if player will not get paid for it.
2018-08-06 16:43:20 +03:00
Zrips
6354efab91
Better item recognition
2018-08-01 16:55:30 +03:00
Zrips
4f1e9c4446
Updating for 1.13 version support
2018-07-22 16:30:25 +03:00
Zrips
15fd5b97a2
item boost now being controled by NBT data
...
cache is included for performance boost
new commands itembonus and edititembonus
old item updates on new command usage
2018-02-13 14:47:53 +02:00
Zrips
3af38fdaa4
We dont need separate option for scheduler enable option
2018-02-11 13:30:19 +02:00
Zrips
8809a33c4e
Options options options
...
options for furnace and brewing stands defaults values and save behavior
option to remove different percentage after player reaches max level
2018-01-22 13:12:23 +02:00
Zrips
0f8d2c12dd
Option to limit furnace and brewind stand amount
...
Option to reset brewing stands and furnaces after server restart
2018-01-21 17:25:10 +02:00
Zrips
54650a2385
New daily quests
...
updated pagination handling
updated browse command look
updated time conversion from milliseconds
2018-01-21 14:07:21 +02:00
Zrips
8d98e8ddf3
Correctly preloading player limits
2017-11-03 16:48:50 +02:00
Zrips
05e9184b9c
Inform about blockprotection only if payment is possible for it.
2017-09-01 13:49:27 +03:00
Zrips
02a3c4cd65
Include points into logging and output
...
faster log save into database
2017-09-01 13:24:47 +03:00
Zrips
fbf3f22945
Merge pull request #126 from Rukes/master
...
Added 3rd party BP & new schedule event
2017-09-01 12:19:51 +03:00
Zrips
23ca602689
Hmm
2017-09-01 12:19:19 +03:00