1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-10 10:17:51 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
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