Commit Graph

  • 4304970059 This was supposed to be a zero. t00thpick1 2014-08-22 00:59:20 -04:00
  • fc981fda20 Better connection validation for us. t00thpick1 2014-08-21 19:41:47 -04:00
  • be9ff51fd9 Should fix #2223 for realz this time. t00thpick1 2014-08-21 19:41:36 -04:00
  • adde56114e Cleanup the changelog TfT_02 2014-08-21 16:40:06 -06:00
  • 5cfd2dc799 Added API to ExperienceAPI to get the amount of XP needed for a level TfT_02 2014-08-21 16:38:33 -06:00
  • c878775c72 Close the statement here as well TfT_02 2014-08-21 14:33:50 -06:00
  • 574cdd374b Use a placeholder value. Fixes #2216 #2221 t00thpick1 2014-08-20 22:18:50 -04:00
  • a3943aab24 Add checks for loaded/unloaded profiles in commands TfT_02 2014-08-19 22:23:19 -06:00
  • 1503e58d11 More relevant donation information t00thpick1 2014-08-19 23:45:32 -04:00
  • 2650d57d8e Added options to experience.yml for Dirt and Sand variations TfT_02 2014-08-19 21:28:53 -06:00
  • 4d402c7229 Use correct element t00thpick1 2014-08-19 19:11:07 -04:00
  • d687543910 Prevent players from having more than one database querying command running at once. t00thpick1 2014-08-19 18:11:56 -04:00
  • d8ad519cd0 Seperate pools for essential tasks like profile loading and profile saving. t00thpick1 2014-08-19 17:57:52 -04:00
  • a23d093271 Use provided instead of compile TfT_02 2014-08-18 17:19:14 -06:00
  • 8a35d69540 Move RefreshChunks setting from hidden.yml to config.yml TfT_02 2014-08-17 20:21:23 -06:00
  • 097a5a0894 Change purge a bit. Apparently andrewkm says this works. t00thpick1 2014-08-17 21:23:27 -04:00
  • 8760c2bbb0 This way is cleaner though. t00thpick1 2014-08-17 20:01:04 -04:00
  • dc635fe7d7 SHould fix #2195 t00thpick1 2014-08-17 19:57:37 -04:00
  • f10a1d0ffb Added McMMOPlayerPreDeathPenaltyEvent and McMMOPlayerStatLossEvent TfT_02 2014-08-16 21:04:19 -06:00
  • 809779e508 Added McMMOPlayerVampirismEvent TfT_02 2014-03-16 20:59:03 +01:00
  • 80d358d1fd Fix dealing too much AOE damage TfT_02 2014-08-13 21:24:32 -06:00
  • a1be17c72c Add a rate limit for mojang api requests. Configurable via hidden.yml t00thpick1 2014-08-12 11:51:34 -04:00
  • 0a066f51bb Fix #2197 There is no wait forever option, so we actually need a timeout. t00thpick1 2014-08-12 11:39:43 -04:00
  • 294141c353 We should be reconnecting automagically. t00thpick1 2014-08-11 12:16:27 -04:00
  • 5a47f9fa86 Fix #1320 t00thpick1 2014-08-08 00:42:33 -04:00
  • 6ee2d7d823 Do UUID saves in batches. t00thpick1 2014-08-08 00:13:30 -04:00
  • f2881f02c8 Fix id retrieval t00thpick1 2014-08-08 00:09:00 -04:00
  • 9f5445689c Helpful debug on shutdown t00thpick1 2014-08-08 00:02:07 -04:00
  • 0ea163e3ee Lazy fix t00thpick1 2014-08-08 00:01:57 -04:00
  • f097aa4a67 Missed loaded profile check, Fix #2189 t00thpick1 2014-08-07 23:46:22 -04:00
  • 1fcb9e649e A bit more logic simplification in SQLDatabaseManager, also fixes error printing, Fix #2188 t00thpick1 2014-08-07 23:45:40 -04:00
  • 1d0dc02013 Greatly simplify Profile loading in mySQL t00thpick1 2014-08-07 14:16:28 -04:00
  • 8766d31943 Fix #2182 and Fix #2178 t00thpick1 2014-08-07 13:54:28 -04:00
  • d857bf483e Fix #2184 t00thpick1 2014-08-07 11:23:02 -04:00
  • b7774251eb Remove need for thread locks in profile loading, just reschedule as needed. also stagger based on number of previous attempts. t00thpick1 2014-08-05 23:02:41 -04:00
  • da7507fc75 Throw some sanity information into the info log. t00thpick1 2014-08-05 20:20:05 -04:00
  • fe4699430d Fix #2177 t00thpick1 2014-08-05 19:15:22 -04:00
  • df4fc8149d Stagger load attempts more. t00thpick1 2014-08-05 19:03:55 -04:00
  • c156f0c346 Missed an unlock condition, lets use a finally. Should Fix #2180 t00thpick1 2014-08-05 18:57:13 -04:00
  • 79a17b0c1c Fix /mcrank when using flatfile. Fixes #2179 t00thpick1 2014-08-05 09:20:12 -04:00
  • d3051ad127 Use a slight delay to ensure its after the purge. t00thpick1 2014-08-04 11:49:09 -04:00
  • f4c53aaf8a Prevent user purges and UUID updates from conflicting in mass database operations. t00thpick1 2014-08-04 11:42:02 -04:00
  • 432ff95a98 More constants t00thpick1 2014-08-04 11:40:47 -04:00
  • fe29bb4b9f Accurate purge count t00thpick1 2014-08-03 21:14:24 -04:00
  • ae5347bc0f Purging shouldn't be main thread, also we have no reason to refresh profiles of purged users, as old users aren't online, and powerless users have nothing to wipe. t00thpick1 2014-08-03 21:12:41 -04:00
  • 966de87ef9 Print reason t00thpick1 2014-08-03 20:57:28 -04:00
  • 3569f9a182 Woot, rushing things without looking! t00thpick1 2014-08-03 20:40:48 -04:00
  • 70a23f8a0a EnumMaps cannot use a null key t00thpick1 2014-08-03 20:39:37 -04:00
  • 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. t00thpick1 2014-08-01 13:35:36 -04:00
  • c10525ada9 Add UUID support! - zreed, slipcor, t00thpick1 TfT_02 2014-08-01 20:17:15 +02:00
  • a38d1176cb Fix casing dev-uuid-connectionpool TfT_02 2014-08-01 19:25:49 +02:00
  • fb8592495d Only set detected durability if it's > 0 TfT_02 2014-08-01 01:09:00 +02:00
  • a48ada306c Add magical mod importer TfT_02 2014-07-20 22:40:59 +02:00
  • 7d65b9422a Make the profile loaded message optional TfT_02 2014-07-31 23:16:43 +02:00
  • e7ee31c291 Revert "Hide loading messages when at the first attempt" TfT_02 2014-07-31 23:10:46 +02:00
  • 23cbfc9038 Revert "Increase attempt counter after the apply" TfT_02 2014-07-31 23:10:39 +02:00
  • c24c19f5f5 Increase attempt counter after the apply TfT_02 2014-07-31 22:37:22 +02:00
  • 216ecc465d Hide loading messages when at the first attempt TfT_02 2014-07-31 22:06:42 +02:00
  • 635f2bdb43 Fix formatting TfT_02 2014-07-31 22:04:53 +02:00
  • 2286728308 Riking fix this or its gone. t00thpick1 2014-07-31 13:07:21 -04:00
  • f809bca47b Avoid race conditions in multiple load attempts. t00thpick1 2014-07-31 12:59:36 -04:00
  • 71d6cb661f Actually make multiple load attempts t00thpick1 2014-07-31 12:59:21 -04:00
  • 2248316ed3 some of zreeds work, because too lazy to fix merge compatability t00thpick1 2014-07-31 12:44:41 -04:00
  • 8db0d663dc More configs for 1.6.X mods Lucas Savva 2014-07-31 16:56:41 +01:00
  • 70744371a3 Fix bug where Repair_Material_Quantity wasn't read TfT_02 2014-07-31 00:47:22 +02:00
  • 18c322e8d6 Check if the user wants this item repairable first TfT_02 2014-07-31 00:46:41 +02:00
  • 9668bb2ee7 Abort onEnable() when driver not found riking 2014-07-30 12:31:56 -07:00
  • f0503c7797 Unused t00thpick1 2014-07-29 16:27:54 -04:00
  • 9a12d86eac Configurable :P t00thpick1 2014-07-28 16:46:55 -04:00
  • ed82a838c8 I like these to be explictly closed rather than in a new method. t00thpick1 2014-07-27 14:56:34 -04:00
  • e6a7c8f5d2 We need both UUID and username to create new. t00thpick1 2014-07-27 12:57:12 -04:00
  • fc393e1047 start t00thpick1 2014-07-27 12:01:08 -04:00
  • f8f73a49b5 comma t00thpick1 2014-07-27 11:50:12 -04:00
  • a7841adec5 Missed some usages t00thpick1 2014-07-27 11:14:46 -04:00
  • 7917b84eca Hopefully this works. t00thpick1 2014-07-27 11:03:16 -04:00
  • a80cdaff71 Add support for data value ranges in blocks.yml dev-wildcard TfT_02 2014-06-09 13:40:29 +02:00
  • 49f2bf5452 Fix formatting in SQLDatabaseManager TfT_02 2014-07-27 12:32:48 +02:00
  • 16b40c3eba Create the UUID index on the right table as well as on table creation zreed 2014-07-26 01:42:27 -04:00
  • 1396d6d9ad Explicitly close every resource t00thpick1 2014-07-26 00:00:40 -04:00
  • b2015d68d1 Work by Zreed zreed 2014-07-25 15:22:11 -04:00
  • a3066803d0 Completely untested, needs some more work as follows: t00thpick1 2014-07-24 23:27:56 -04:00
  • d02058ca13 Update player name in case it has changed. SLiPCoR 2014-07-24 02:54:43 +02:00
  • 75cbfa1b1c Ensure player has mcMMOPlayer object in brewing TfT_02 2014-07-24 12:29:42 +02:00
  • 7d0fd36a2a Further cleanup of SQLDatabaseManager upgrades zreed 2014-07-23 19:11:24 -04:00
  • 1c4ac1d766 Remove hidden interval option TfT_02 2014-07-24 00:34:16 +02:00
  • 7861e93497 Fixed formatting! TfT_02 2014-07-23 23:35:05 +02:00
  • 7118f8850d Also update flatfile with uuids TfT_02 2014-07-23 23:34:11 +02:00
  • 384bb6306a Add saveUserUUIDs to FlatfileDatabaseManager so mcMMO compiles zreed 2014-07-23 16:50:32 -04:00
  • 8fd9982f69 Optimize SQL side of UUID update zreed 2014-07-23 16:49:07 -04:00
  • c5e1a735f9 Check for uuids instead of usernames when loading a player SLiPCoR 2014-07-23 11:30:25 +02:00
  • 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 SLiPCoR 2014-07-23 11:18:28 +02:00
  • 4524a3e437 Add saving of UUIDs (used in the UUID Fetcher update task) SLiPCoR 2014-07-23 11:05:27 +02:00
  • 83c8d3cdb9 Save if uuid conversion is complete TfT_02 2014-07-17 22:39:21 +02:00
  • ed95cfcbfc Update to UUIDFetcher v3 TfT_02 2014-07-17 18:35:21 +02:00
  • 69ebde052d Load UUID with SQL TfT_02 2014-07-12 17:10:05 +02:00
  • 072e7c8b19 Update playername in database when a name changes TfT_02 2014-07-12 15:59:56 +02:00
  • 792f21bc20 Save and load profiles using UUIDs fall back on usernames if neccesary TfT_02 2014-07-12 14:54:22 +02:00
  • e619e01c23 UUID flatfile stuff TfT_02 2014-07-12 13:58:46 +02:00
  • e7d5aa17bf Add hidden options for uuid conversion TfT_02 2014-07-11 15:24:34 +02:00
  • 8d6f151a54 Deprecate PlayerProfiles relying on names TfT_02 2014-07-09 12:18:59 +02:00