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
bfeac43f12
NULL uuids in flatfile should not be wiped as duplicates. Fixes #2594
2015-06-20 13:04:03 -04:00
t00thpick1
981523789e
Add Debug and change a line
2015-03-09 14:20:52 -04:00
t00thpick1
ca6dc5195d
Properly convert SQL to Flatfile when UUIDs are null
2015-02-16 23:12:50 -05:00
t00thpick1
7a14e61762
Fix flatfile UUID conversion I think. Fixes #2225 , #2411
2015-01-31 14:38:49 -05:00
TfT_02
7c0cc8794f
Whoops, should've incremented these
2014-12-23 18:49:26 +01:00
TfT_02
eda18bc990
Only show the scoreboard tips a couple of times
...
We can assume a player knows how scoreboards work after showing them
the tips a few times across multiple login sessions
Adds #1833
2014-12-23 14:08:29 +01:00
t00thpick1
1119d3c17f
Actually fix flatfile player loading....
...
you lied to me @tft_02
2014-09-03 00:05:48 -04:00
TfT_02
56cb5c092f
Should be this
2014-08-26 21:55:35 +02:00
Shevchik
9d7faf9ed9
Fix database loading data for wrong player
...
Fixes #2223
2014-08-24 15:25:56 -07:00
t00thpick1
be9ff51fd9
Should fix #2223 for realz this time.
2014-08-21 19:42:03 -04:00
t00thpick1
574cdd374b
Use a placeholder value. Fixes #2216 #2221
2014-08-20 22:19:36 -04:00
t00thpick1
8760c2bbb0
This way is cleaner though.
2014-08-17 20:01:04 -04:00
t00thpick1
dc635fe7d7
SHould fix #2195
2014-08-17 19:57:52 -04:00
t00thpick1
8766d31943
Fix #2182 and Fix #2178
...
NOW() is a numeric representation of the date, not a timestamp.... so thats a nono.
Also, we need to update UUIDs grabbing by name.
2014-08-07 13:54:28 -04:00
t00thpick1
79a17b0c1c
Fix /mcrank when using flatfile. Fixes #2179
2014-08-05 09:20:12 -04:00
t00thpick1
857e12b96e
SQLDatabaseManager optimizations, async profile loading -t00thpick1, zreed
...
This commit changes our shared connection into a connection pool utility to prevent
thread locks from multiple actions attempting to access the database at the same time.
In additon, profile loading has been moved off the main thread at login time, to
allieviate the performance issues caused by it.
Fixes #2138 , Fixes #2119 , Fixes #1982 , Fixes #1953
2014-08-01 20:31:17 +02:00
TfT_02
c10525ada9
Add UUID support! - zreed, slipcor, t00thpick1
...
This commit updates our database managers to use UUIDs instead
of usernames for persistent storage.
Fixes #1979
2014-08-01 20:23:03 +02:00
zreed
48c7aa3e84
Add an UpgradeManager
2014-07-23 12:37:02 +02:00
TfT_02
0aa67727f5
Fixed bug with flatfile format updater
2014-07-12 14:02:53 +02:00
TfT_02
862d38b587
Clean up all of the imports
2014-03-03 18:27:45 +01:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
GJ
8deac175d1
Repair damaged user files. Fixes #1869
2014-02-22 09:52:36 -05:00
GJ
d0b766a2d3
Fixed bug with updating (very) old user data.
2014-02-21 11:38:22 -05:00
GJ
43e2c813d1
Clean up some of our messes.
2014-01-20 13:58:40 -08:00
Eric Hildebrand
8f83e328b0
Introduction of new Alchemy skill!
2014-01-16 22:32:40 +01:00
GJ
3be443c63c
Cleanup some XP functions, remove unused scoreboard values, minor refactoring.
2013-10-29 09:49:41 -04:00
riking
95f15e68fe
New and Improved Scoreboard System
...
- Scoreboards now AUTO-UPDATE
- Scoreboards now COME IN COLOR
- If you want, they can come in EVERY COLOR (Config setting)
- Scoreboards can be displayed alongside chat output!
- Prevention of denial of service to SQL via spamming /mctop using a cooldown
- Added /mccooldown command to show cooldowns for all available skills
2013-10-25 09:49:02 -07:00
TfT_02
f4ff8518c2
Cleanup progress feedback
2013-10-18 16:43:37 +02:00
riking
dbd27b641e
Give periodic status messages to the console in conversion
2013-10-18 16:40:44 +02:00
TfT_02
3b09012b35
Also use getServer() here as well
2013-10-18 15:26:14 +02:00
GJ
468fbdab56
SkillUtils cleanup, EventUtils creation
...
Move some functions in SkillUtils to more relevant locations.
Begin work on utility class to handle all event calls.
2013-10-15 13:03:33 -04:00
riking
b3cf9bf839
When an error occurs updating the leaderboards, print out the current player name if possible
2013-10-14 09:53:42 -07:00
GJ
d8f3a54f9b
Compiler throws warnings all over the place about our close methods, this one is no different.
2013-10-07 07:56:13 -04:00
TfT_02
3f9c98d72e
Update changelog & minor formatting fixes
2013-10-06 10:25:28 +02:00
riking
70eb67dd6a
Flatfile loadProfile - place newUser() inside of try block
...
This fixes incorrect behavior in the edge-case where an IOException occurs when reading (but not writing) the flatfile database.
2013-10-06 10:09:09 +02:00
riking
c9858dfd49
Do not mark a PlayerProfile as clean if it failed to save
...
DatabaseManager.saveUser() now returns a success value, which is used by PlayerProfile to determine whether or not it should be considered clean.
2013-10-06 10:09:09 +02:00
GJ
a8e23e08ee
Remove HudType from Flatfile records.
2013-09-18 11:54:23 -04:00
GJ
15f5dcf860
Removed HudType references from the database.
2013-09-18 09:57:28 -04:00
GJ
446b6c107b
Remove empty lines from FlatFile - the plugin will not enable if these are present.
2013-09-18 08:34:47 -04:00
TfT_02
7bac0e2ca5
Dropped SpoutPlugin support
...
Because SpoutPlugin is not being updated to 1.6.x and mcMMO 1.4.07 does
not support any CB version below 1.6.x SpoutPlugin support is no longer
needed.
https://blog.spout.org/minecraft-1-6-and-the-legacy-finale/
2013-09-16 16:48:42 +02:00
GJ
ede0757d83
Remove /mmoupdate and replace with /mcconvert database
2013-08-22 22:33:06 +02:00
GJ
98c6abad36
No reason to cast here.
2013-08-19 15:14:33 -04:00
TfT_02
37e3bfe7d9
Fixed formatting
2013-08-07 19:58:49 +02:00
riking
d61b837dcf
Implement checkStructure()
2013-08-07 19:49:00 +02:00
riking
f079e22789
Use provided last-saved information for purge.
...
The new method, OfflinePlayer.getLastPlayed(), is used as a backup for when the data is unparsable.
TODO check if StringUtils is available here
2013-08-07 19:45:27 +02:00
T00thpick1
11e4ff34d6
Flatfile repair
2013-07-01 02:36:21 -04:00
riking
23729f45ee
Pull changes from dev-dbman (commit f63c5e3)
2013-06-28 15:02:58 -07:00
GJ
98b98256b7
Make our oldUserRemover actually work...
2013-06-13 12:23:58 -04:00
GJ
4ff4271da2
These should be protected.
2013-06-07 15:46:57 -04:00