Added /xpRank destroyDatabase which makes a backup of the current database and then generates a new empty database.
Database updates all players before the server stops.
Removed dependency of level change event.
Added optional parameter for /xpRank top [listLength]
Testing done:
Tested how the database handles large amount of data by generating 14000 player entries.
Requesting the player with the last rank still preforms with out producing lag. Success.
Testing Needed:
Server with more than a couple players online at the time ( Preferably 10 or more). To test how the database handles a lot of player updates at one time.