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
766f1f4127
Oh! So that's why it's never used here
2013-10-14 20:48:35 +02: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
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
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
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
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
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
GJ
223649ec28
Formatting and localizing.
2013-08-22 22:22:19 +02:00
GJ
98c6abad36
No reason to cast here.
2013-08-19 15:14:33 -04:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02: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
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
T00thpick1
c85d52e594
Make Riking's stuff work
2013-07-02 12:42:09 -04:00
T00thpick1
11e4ff34d6
Flatfile repair
2013-07-01 02:36:21 -04:00
Kane York
f118ac14ca
Specify returning of generated keys before using them
...
This is a herp derp fix
2013-07-01 00:35:07 -04:00
T00thpick1
f5eb7a10de
Only set custom class when valid class
2013-07-01 00:34:54 -04:00
T00thpick1
36b09421e8
These should all be 0 too, for consistancy
2013-06-29 23:42:28 -04:00
T00thpick1
d6b39a11e7
0 is nonexistant, not -1
2013-06-29 23:41:08 -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
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
GJ
0c52b3016c
We've got these functions, might as well use them.
2013-05-21 10:02:09 -04:00
T00thpick1
2cf58f1b5b
Why break when we can return?
2013-05-16 18:04:14 -04:00
T00thpick1
9678875b4b
We do enjoy killing off orphans
2013-05-16 17:26:16 -04:00
GJ
24e5147a2a
This was never an issue.
2013-05-16 16:13:53 -04:00
GJ
bc706109e0
Fix issue with tables without party names.
2013-05-16 13:37:22 -04:00
T00thpick1
1444be665c
No reason to specify MyISAM
2013-05-14 23:54:52 -04:00
T00thpick1
c0f6c15a80
Fix SQL Syntax
2013-05-14 23:28:45 -04:00