nossr50
eb1e657af1
Simplify data validation + listen to exceptions again
2021-03-11 14:10:29 -08:00
nossr50
2203d61c10
More safety against corrupt data when loading data for FlatFile
2021-03-11 13:11:11 -08:00
nossr50
d77c8c88a3
Less spammy corrupt data reporting
2021-03-11 12:16:33 -08:00
nossr50
7755875dbf
Some refactoring of FlatFileDatabaseManager
2021-03-11 12:02:21 -08:00
nossr50
72116d809b
Add another error message if mcMMO finds something unexpected in the database
2021-03-11 12:00:11 -08:00
nossr50
e95b7f72a7
Add some safety measures to loading a user from FlatFile
2021-03-11 11:58:27 -08:00
nossr50
6c69cd2aea
Fixed several SQL bugs + SQL db is now fully UTF-8 compatible
2021-03-09 15:10:00 -08:00
nossr50
f4976e5ecb
switch SQL from latin1 to utf8mb4
2021-03-09 13:56:03 -08:00
nossr50
f9097087fe
Fixed a bug where player levels were wiped on FlatFile database if players changed nicknames
2021-03-07 14:28:47 -08:00
nossr50
5e35a65fbf
2.1.177
2021-03-05 15:17:41 -08:00
nossr50
72264205d0
Update player names immediately when change is detected
2021-03-05 14:27:53 -08:00
nossr50
ba7b6826b4
2.1.170 - papi fix
2021-01-05 15:25:39 -08:00
nossr50
7931a095fe
Add some tests for com.gmail.nossr50.util.random classes
2021-01-03 12:21:32 -08:00
nossr50
f346d3b758
2.1.157
2020-11-11 16:50:21 -08:00
nossr50
592851e80b
Throw errors for child skill leaderboard requests
2020-11-10 11:22:02 -08:00
nossr50
15578bb84e
Some refactoring
2020-11-04 12:12:51 -08:00
nossr50
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
nossr50
7eae59a0b3
Misc code fixes
2020-07-13 11:39:03 -07:00
nossr50
428c093ae4
UUID updater changes + locale fixes
...
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
2020-07-13 11:18:16 -07:00
nossr50
402283806d
Database choice is now logged
2020-05-05 19:51:53 -07:00
nossr50
ea70c937f2
Fix rank for new versions of MySQL
2020-01-27 18:45:19 -08:00
Shane Freeder
0ffcff53b3
Further address locale issues (Targets #4083 )
2020-01-26 17:48:14 +00:00
Shane Freeder
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
nossr50
4048ecc764
Fixing some imports
2019-06-02 22:42:03 -07:00
nossr50
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
t00thpick1
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
nossr50
6ad9c8e664
Readying a Tool now has a sound
2019-01-20 00:46:33 -08:00
nossr50
43da10a855
Levels now start at 1 (configurable advanced.yml)
2019-01-18 13:10:45 -08:00
nossr50
0acde4a8af
Why are these empty part 2
2019-01-15 01:11:33 -08:00
nossr50
95d60e646d
Diminishing returns now has an optional minimum gains setting
2019-01-14 22:11:58 -08:00
nossr50
9f8c9db4bc
Setting SSL to false will now squelch MySQL warnings
2019-01-14 20:37:30 -08:00
nossr50
6f77bb206d
Refactoring + adding a new skillranks config (not functional yet)
2019-01-12 23:54:53 -08:00
nossr50
d3c47935d4
Some refactoring
2019-01-12 19:56:54 -08:00
nossr50
85fd0a79bc
Sounds volume and pitch are now configurable in the new sounds.yml file
2019-01-12 19:08:54 -08:00
nossr50
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
nossr50
1e8d950767
Converting from MySQL -> FlatFile now accounts for users that don't exist yet in mcmmo.users
...
Fixes #3130
2019-01-11 02:17:03 -08:00
nossr50
f828084246
Added config option to easily disable all scoreboards
2019-01-11 01:47:36 -08:00
nossr50
626890ed95
Chimaera Wing exploit fix
2019-01-10 23:52:11 -08:00
t00thpick1
8aa919f834
should fix inspecting offline players
...
(cherry picked from commit ad715f51c6b8b87e3a78c18c7daaf4cdf7c10a8e)
2019-01-05 19:21:45 -05:00
nossr50
0d260a74c9
Refactoring to make my life easier
2018-12-29 05:24:55 -08:00
t00thpick1
495c4a33e5
Store skill totals rather than calculating them on the fly for faster leaderboard queries.
2018-11-14 20:31:57 -05:00
t00thpick1
0a1559511a
Quick and dirty 1.13 update. I.e. it now compiles for 1.13.
2018-07-23 22:13:57 -04:00
t00thpick1
dcd79e87e1
This command probably works
2016-04-23 00:32:04 -04:00
t00thpick1
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
t00thpick1
7e92905618
Comments so I don't forget why I did it like this again
2015-11-04 13:48:29 -05:00
t00thpick1
9934ab972e
Clean up SQLDatabaseManager
2015-07-18 10:48:40 -04:00
t00thpick1
93ad040936
Syntax is important
2015-06-20 15:11:18 -04:00
t00thpick1
bfeac43f12
NULL uuids in flatfile should not be wiped as duplicates. Fixes #2594
2015-06-20 13:04:03 -04:00
t00thpick1
4388430491
When an older user no longer has a username that a new user now has, we will update the old entry to be _INVALID_OLD_USERNAME_, however we no longer strictly enforce name uniqueness, so people altering their DB's need to tweek with caution. Invalid old users will not display in the leaderboards. Fixes #2503
2015-06-20 12:57:01 -04:00
t00thpick1
d8184fb298
Properly calculate diff times for old user purge. Fixes #2541
2015-06-11 18:12:22 -04:00