montlikadani
3fceed1beb
Add \n newline support for jobs description
2020-07-14 08:22:12 +02:00
montlikadani
db82201051
Clean up
...
- Fix when points are not added to the player account, Fixes #833
2020-06-29 13:19:12 +02:00
Zrips
21fa78ee92
Updating for the 1.16 support and base color handling
2020-06-29 13:51:24 +03:00
montlikadani
1a0d87c7b2
Code cleanup
...
- Now %jobsr_user_points% will display only 3 digits, Closes #761
- Fix when resetting quests for all jobs
2020-06-16 09:27:28 +02:00
montlikadani
8644910fef
Fixed when the db cleaning for users not works
...
Fixes #814
2020-06-12 08:56:15 +02:00
montlikadani
d61d2b0b6e
Fix for oregenerator plugins global timer not works
...
Fixes #793
2020-06-11 09:42:38 +02:00
montlikadani
08af55c5f6
Revert "Lets allow 4 bytes of utf-8 chars" this causing other languages are not working
...
Fixes #813
2020-06-09 07:56:51 +02:00
montlikadani
a9d2bbdf9e
Added option to disable payment if user reached the max level of a job
...
Closes #806
2020-06-01 16:53:05 +02:00
montlikadani
554eb6c941
Now the dying shulkers will add income
2020-05-24 14:05:40 +02:00
montlikadani
fbbfe46a66
Better way to check if player have the given action in jobs
2020-05-14 17:48:43 +02:00
montlikadani
91bf7eb93d
Added jobs expiration time to fire players if their works times is expired
2020-05-08 12:01:32 +02:00
Zrips
d056dc8ecf
Version up and some cleanup
2020-05-06 17:56:50 +03:00
Zrips
3e50e3ae5b
Limiting BoassBar progress to a valid range only
2020-05-06 17:22:38 +03:00
Zrips
6a7b588c18
Fix for damager entity in JobsPrePaymentEvent
2020-05-06 14:54:55 +03:00
montlikadani
e7f7c7deb0
Fixed when the blacklist worlds not works for tntbreak action
2020-04-27 19:06:43 +02:00
Zrips
4198a28967
Lets avoid unnecessary BP on block breaks or piston moves when block was
...
not protected to begin with
2020-04-25 16:27:46 +03:00
montlikadani
3fc2487bfd
Revert some things to prevent data losing
2020-04-16 18:55:32 +02:00
montlikadani
47280b04d0
Improve database loading
2020-04-13 17:44:14 +02:00
Zrips
fb5fad2a6c
Lets show more informative bossbar
2020-04-02 18:07:38 +03:00
Zrips
891bca964a
Fixing issue with same quest not being able to handle same material for
...
different actions
2020-04-02 15:36:31 +03:00
montlikadani
5a090c4242
Improve connecting to database
2020-03-29 18:28:21 +02:00
montlikadani
40648f2701
Use getOrDefault in some cases to make less code
2020-03-26 11:21:44 +01:00
montlikadani
9e006ebe89
Improved baking action doesn't pay enough when items are on another block
...
- Removed some deprecated methods
2020-03-26 09:12:39 +01:00
Zrips
b6e4b9cfb2
This is continue and not return
2020-03-25 16:08:23 +02:00
Zrips
843b07b176
Lets allow to disable each job separately in specific worlds
2020-03-25 14:08:33 +02:00
montlikadani
f9f745e63a
Fix NPE when the jobs player are null during exploring chunks
2020-03-15 14:36:52 +01:00
montlikadani
fad0fcee55
Removed some redundant null checks and methods
2020-03-13 16:12:46 +01:00
montlikadani
368417d59e
Correct some material ids
2020-02-15 16:55:57 +01:00
Zrips
c38fe742b4
Correcting income when we have same materials but different data values
2020-02-15 17:48:22 +02:00
montlikadani
a4c75ac575
Added option to define per-permission leave from job
...
- Some integer placeholders should returns 0 if the player have no jobs.
2020-02-05 16:54:43 +01:00
montlikadani
d5752453dd
Fixed NPE when class instance is null
2020-01-28 18:25:14 +01:00
montlikadani
5aa4f0b763
Fixed NPE when MythicMobs plugin not found on plugin reload
2020-01-28 17:23:47 +01:00
montlikadani
8f067f4646
Fixed FileNotFoundException when using "en" locale
2020-01-28 17:18:13 +01:00
Zrips
8e08543d83
Fix for MythicMobs not working after jobs reload
2020-01-27 17:52:25 +02:00
Zrips
33c14e474c
Lets initialize only when we need them.
2020-01-27 16:19:12 +02:00
Zrips
66fae7ed39
Fixing pagination
2020-01-27 12:50:42 +02:00
montlikadani
0b43b7e91a
Reworked the initialization of dependencies
2020-01-26 17:48:23 +01:00
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