t00thpick1
2248316ed3
some of zreeds work, because too lazy to fix merge compatability
2014-07-31 12:44:41 -04:00
riking
9668bb2ee7
Abort onEnable() when driver not found
2014-07-30 12:31:56 -07:00
t00thpick1
9a12d86eac
Configurable :P
2014-07-28 16:46:55 -04:00
t00thpick1
ed82a838c8
I like these to be explictly closed rather than in a new method.
2014-07-27 14:56:34 -04:00
t00thpick1
e6a7c8f5d2
We need both UUID and username to create new.
2014-07-27 12:57:12 -04:00
t00thpick1
f8f73a49b5
comma
2014-07-27 11:50:12 -04:00
TfT_02
49f2bf5452
Fix formatting in SQLDatabaseManager
2014-07-27 12:32:48 +02:00
zreed
16b40c3eba
Create the UUID index on the right table as well as on table creation
2014-07-26 01:42:27 -04:00
t00thpick1
1396d6d9ad
Explicitly close every resource
2014-07-26 00:00:40 -04:00
zreed
b2015d68d1
Work by Zreed
2014-07-25 23:31:41 -04:00
t00thpick1
a3066803d0
Completely untested, needs some more work as follows:
...
A. Handle reconnecting on full disconnects.
B. refactor code to use same connection object in same task(Some tasks go through many methods that each get their own connection object)
C. Test that it actually works :P
2014-07-24 23:27:56 -04:00
SLiPCoR
d02058ca13
Update player name in case it has changed.
...
TODO: Check for double names if that happens? In general?
2014-07-24 19:31:38 +02:00
zreed
7d0fd36a2a
Further cleanup of SQLDatabaseManager upgrades
2014-07-24 12:12:41 +02:00
TfT_02
7861e93497
Fixed formatting!
2014-07-24 12:12:41 +02:00
zreed
8fd9982f69
Optimize SQL side of UUID update
2014-07-24 01:08:00 +02:00
SLiPCoR
c5e1a735f9
Check for uuids instead of usernames when loading a player
2014-07-24 01:08:00 +02:00
SLiPCoR
80754b4426
Add a new fallback method that does the exact same thing; add it when the retry on getting a UUID player would have failed twice
2014-07-24 01:08:00 +02:00
SLiPCoR
4524a3e437
Add saving of UUIDs (used in the UUID Fetcher update task)
2014-07-24 01:08:00 +02:00
TfT_02
69ebde052d
Load UUID with SQL
2014-07-24 01:08:00 +02:00
TfT_02
792f21bc20
Save and load profiles using UUIDs
...
fall back on usernames if neccesary
2014-07-24 01:07:59 +02:00
TfT_02
d3faff67ad
UUID Conversion stuff
2014-07-24 01:07:59 +02:00
TfT_02
dc21e18cc2
Deprecate methods in ExperienceAPI
2014-07-24 01:07:59 +02:00
TfT_02
7643edfdcd
Prepare for UUID update
2014-07-24 01:07:58 +02:00
zreed
48c7aa3e84
Add an UpgradeManager
2014-07-23 12:37:02 +02:00
zreed
94a566acc9
Remove redundant maxReconnects database connection property
2014-07-09 19:03:15 +02:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
GJ
b3474c04c7
Increment SQL query numbers due to addition of Alchemy. Fixes #1803
...
Thanks to @roastnewt for the help!
2014-01-21 11:16:39 -08: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
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
GJ
de964a3a60
This naming bothers me.
2013-10-07 07:53:42 -04:00
TfT_02
3f9c98d72e
Update changelog & minor formatting fixes
2013-10-06 10:25:28 +02:00
riking
96b54387fe
SQL database - split loadProfile to have retry flag
...
Instead of assuming that newUser() worked as intended, we cycle back around into the method.
This also removes the possibility of infinite loops from the writeMissingRows() code path.
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
riking
f75fe3cc89
Potential fix for loss of data due to SQL connection dropping
...
The idea behind this change is to send a ping every hour, which is shorter than the driver's 'dead connection' threshold of 8 hours.
As a side effect, this also will fix a subset of the situations where the MySQL server is restarted.
2013-10-06 10:09:08 +02:00
TfT_02
4c96161acb
Don't throw errors about dropped columns
2013-09-20 21:39:20 +02:00
GJ
15f5dcf860
Removed HudType references from the database.
2013-09-18 09:57:28 -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
2c8b9334b6
THis should stay false.
2013-08-28 13:13:34 -04:00
GJ
d41ccf9072
Don't loop forever if not connected.
2013-08-28 13:12:24 -04:00
GJ
c98d298cf1
Actually make use of the checkConnected calls.
2013-08-28 11:44:58 -04:00
GJ
ede0757d83
Remove /mmoupdate and replace with /mcconvert database
2013-08-22 22:33:06 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
GJ
a345737b8b
Add more detailed error messages on SQL connection failure.
...
Fixes #1322
2013-07-30 15:09:22 -04:00
riking
736359056f
Add checkConnected() calls to re-establish dead SQL connections
2013-07-23 15:03:19 -07:00
GJ
68727496ad
Useless casting and elses.
2013-07-11 12:49:01 -04:00