Commit Graph

130 Commits

Author SHA1 Message Date
731e2d8691 replace BukkitRunnable to CancellableRunnable 2023-08-20 21:33:29 +07:00
c11223b174 update & rollback some "big changes" 2023-08-18 22:34:08 +07:00
f480884653 Misc, PlayerListener & SQLDatabaseManager 2023-08-18 17:26:16 +07:00
019d22d92a Make mcMMO quieter by moving most log messages to debug only 2023-06-19 16:26:30 -07:00
5ab55c1653 mcMMO will no longer use the DamageModifier API (potentially fix immortal player bug) 2022-03-17 19:58:42 -07:00
280eb0ba51 Added support for allowPublicKeyRetrieval=true in the JDBC launch (#4635)
options for MySQL

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
2021-09-22 15:03:03 -07:00
7e28799f94 Fix SQL on 1.17 (hacky) and optimized CompatibilityManager 2021-06-15 14:19:30 -07:00
c8b1a17194 this should fix null connection error with MySQL
Fixes #4497
2021-04-19 12:20:15 -07:00
aa562a4710 2.1.194 2021-04-18 17:52:45 -07:00
48de5057a4 Fix another bug where usernames can be saved as null for FlatFileDB 2021-04-15 14:43:37 -07:00
22b24b4774 JUnit 5 time 2021-04-13 17:25:56 -07:00
d9e195f63a Add a newUser test 2021-04-13 15:22:21 -07:00
f7339277f8 Add more tests, fix null name bug 2021-04-13 12:41:23 -07:00
834ccc946a FlatFileDatabaseManager refactor + adding tests part 1 2021-04-09 16:45:58 -07:00
be44c0e417 Update SkillTools 2021-04-09 11:13:27 -07:00
eec5feb2bf PrimarySkillType refactor and other refactors 2021-04-08 13:21:34 -07:00
5080d86e44 Refactoring code part 1 to prep for adding a bunch of unit tests 2021-04-08 10:39:07 -07:00
75db0af01d More console spam reduction for database operations 2021-03-12 16:37:21 -08:00
4a048b47cb Refactor DB code a bit and fix console spam when using the Plan plugin
Fixes #4450
2021-03-12 16:25:14 -08:00
6c69cd2aea Fixed several SQL bugs + SQL db is now fully UTF-8 compatible 2021-03-09 15:10:00 -08:00
f4976e5ecb switch SQL from latin1 to utf8mb4 2021-03-09 13:56:03 -08:00
f346d3b758 2.1.157 2020-11-11 16:50:21 -08:00
592851e80b Throw errors for child skill leaderboard requests 2020-11-10 11:22:02 -08:00
fdd951f1f1 Second Smelt makes use of its own section in Bonus Drops in config.yml
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
2020-07-13 12:31:30 -07:00
7eae59a0b3 Misc code fixes 2020-07-13 11:39:03 -07:00
428c093ae4 UUID updater changes + locale fixes
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
2020-07-13 11:18:16 -07:00
ea70c937f2 Fix rank for new versions of MySQL 2020-01-27 18:45:19 -08:00
0ffcff53b3 Further address locale issues (Targets #4083) 2020-01-26 17:48:14 +00:00
8a4410cde8 Add a configuration to print jdbc exceptions
By default, mcmmo tries to pretty print errors, which is fine for many cases,
however; deeper nested errors can lack information, e.g. networking related issues,
while the pretty print is less intimitating and provides useful information to users,
surpressing the trace can prevent debugging these deeper issues, this config option serves
as a compromise between scaring users and having a means to find these deeper issues.
2019-08-26 05:29:29 +01:00
4048ecc764 Fixing some imports 2019-06-02 22:42:03 -07:00
4795143fca Fixed a memory leak in MySQL that would cause errors if users were
removed from the DB
2019-05-29 10:14:04 -07:00
43d8e08e83 Fix offline inspecting a player hitting an error if the casing didn't match up perfectly. Fixes #3727 2019-01-26 10:51:30 -05:00
6ad9c8e664 Readying a Tool now has a sound 2019-01-20 00:46:33 -08:00
43da10a855 Levels now start at 1 (configurable advanced.yml) 2019-01-18 13:10:45 -08:00
0acde4a8af Why are these empty part 2 2019-01-15 01:11:33 -08:00
9f8c9db4bc Setting SSL to false will now squelch MySQL warnings 2019-01-14 20:37:30 -08:00
6f77bb206d Refactoring + adding a new skillranks config (not functional yet) 2019-01-12 23:54:53 -08:00
d3c47935d4 Some refactoring 2019-01-12 19:56:54 -08:00
85fd0a79bc Sounds volume and pitch are now configurable in the new sounds.yml file 2019-01-12 19:08:54 -08:00
4cfb7a5f4b mcMMO now supports SSL and tries to use it by default for MySQL (turn this off in config.yml MySQL.Server.SSL)
this fixes a lot of console spam from default mysql installs
2019-01-12 17:26:17 -08:00
f828084246 Added config option to easily disable all scoreboards 2019-01-11 01:47:36 -08:00
626890ed95 Chimaera Wing exploit fix 2019-01-10 23:52:11 -08:00
8aa919f834 should fix inspecting offline players
(cherry picked from commit ad715f51c6b8b87e3a78c18c7daaf4cdf7c10a8e)
2019-01-05 19:21:45 -05:00
0d260a74c9 Refactoring to make my life easier 2018-12-29 05:24:55 -08:00
495c4a33e5 Store skill totals rather than calculating them on the fly for faster leaderboard queries. 2018-11-14 20:31:57 -05:00
0a1559511a Quick and dirty 1.13 update. I.e. it now compiles for 1.13. 2018-07-23 22:13:57 -04:00
dcd79e87e1 This command probably works 2016-04-23 00:32:04 -04:00
f4b6d7845e Add config option to auto-truncate player skill levels that exceed the configured max level. Adds #2512
Also removes a good bit of magic numbering from FlatFileDatabaseManager
2015-11-12 19:10:30 -05:00
7e92905618 Comments so I don't forget why I did it like this again 2015-11-04 13:48:29 -05:00
9934ab972e Clean up SQLDatabaseManager 2015-07-18 10:48:40 -04:00