Commit Graph

  • 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
  • d3faff67ad UUID Conversion stuff TfT_02 2014-07-09 12:15:36 +02:00
  • dc21e18cc2 Deprecate methods in ExperienceAPI TfT_02 2014-07-08 14:46:43 +02:00
  • 7643edfdcd Prepare for UUID update TfT_02 2014-04-10 17:57:40 +02:00
  • 48c7aa3e84 Add an UpgradeManager zreed 2014-07-22 20:01:26 -04:00
  • 87bce65098 Update twilightforest.blocks.yml TfT_02 2014-07-20 19:44:13 +02:00
  • c288dc433b Add Twilightforest mod configs, made by joulesbeef TfT_02 2014-07-20 17:17:02 +02:00
  • 0cc29d070f Move 1.6.x mod config to their own folder TfT_02 2014-07-20 16:11:41 +02:00
  • 8fd94b625c Fix Blast Mining and change its behavior slightly TfT_02 2014-07-20 00:41:54 +02:00
  • ccca3fff26 Don't use hardcoded unlock levels for Blast Mining TfT_02 2014-07-20 00:00:36 +02:00
  • f77446919f Can't use more function modifiers than necessary TfT_02 2014-07-18 17:11:26 +02:00
  • 96fdf265d5 Don't run party chat on a separate thread TfT_02 2014-07-18 17:06:30 +02:00
  • b964e3f7c3 Show colors in console for party chat TfT_02 2014-07-18 00:51:09 +02:00
  • d93c83f775 Add a modifier function for each DamageModifier TfT_02 2014-07-18 00:16:12 +02:00
  • 6b9f6c29ec Actually fix the isWaterBottle() check TfT_02 2014-07-17 00:14:06 +02:00
  • 09b0bf62e2 Added SkillAPI used to get a list of skill names TfT_02 2014-07-16 20:07:23 +02:00
  • 15d7d3f8a2 Add Snow to Excavation guide TfT_02 2014-07-16 11:47:28 +02:00
  • dedbdf890a Fixed broken isWaterBottle() check TfT_02 2014-07-15 17:50:39 +02:00
  • 30085e1e34 Add option to control Unarmed item pickup behavior TfT_02 2014-07-15 15:40:49 +02:00
  • 1c30146491 Fixed bug where Berserk deletes items when the players inventory is full. TfT_02 2014-04-05 13:13:33 +02:00
  • 037022b175 Fixed bug where falling blocks were not tracked TfT_02 2014-07-15 14:46:20 +02:00
  • 0aa67727f5 Fixed bug with flatfile format updater TfT_02 2014-07-12 13:58:36 +02:00
  • 8e3e1d5f11 Use deprecated events for damage dealing for now TfT_02 2014-07-11 21:33:35 +02:00
  • d2d70089ca Update for modifierFunctions TfT_02 2014-07-11 14:02:42 +02:00
  • 94a566acc9 Remove redundant maxReconnects database connection property zreed 2014-07-08 21:25:40 -04:00
  • daab095557 I was actually using the wrong Map TfT_02 2014-07-03 12:33:03 +02:00
  • 4c4def2a23 This entirely untested and made on a whim patch may or may not fix database lockups due to seperate threads accessing the db connection at the same time dev-dblock t00thpick1 2014-07-03 00:46:09 -04:00
  • 2b9b5df1ee Alter original event and stop firing FakeDamageEvents TfT_02 2014-06-29 16:38:40 +02:00
  • e7e62b8d40 SecondaryAbilityEvent now implements Cancellable TfT_02 2014-05-11 14:58:08 +02:00
  • 3d242bbdb6 Always call back events TfT_02 2014-06-29 15:13:06 +02:00
  • e796eae3c3 Update for new damage API TfT_02 2014-06-29 14:11:38 +02:00
  • a257e83a62 Update for new getOnlinePlayers behavior TfT_02 2014-06-29 14:04:36 +02:00
  • d527584248 A private method cannot be abstract >.> Kane York 2014-06-28 23:49:46 -07:00
  • 0a4de6e2fc Reword statement in standards.md Kane York 2014-06-28 23:48:12 -07:00
  • 4b20f12eff Fix a NPE with getFlowerAndGrassXp() TfT_02 2014-06-23 21:04:45 +02:00
  • 0de1187012 Fixed setting custom names and lore with treasures TfT_02 2014-06-22 20:42:48 +02:00
  • 8e474170e4 Fix crafting with items received from Salvage TfT_02 2014-06-18 11:44:21 +02:00
  • 2eeb9b1f35 Set a pretty repair material name in armor.yml TfT_02 2014-06-15 17:45:36 +02:00
  • 3de6e2c3f1 Add full Repairable support in armor config files TfT_02 2014-06-15 17:43:24 +02:00
  • 98d166808f Finish the tools.yml header TfT_02 2014-06-15 17:41:21 +02:00
  • f75e15dfdc Set a pretty repair material name in tools.yml TfT_02 2014-06-15 17:31:50 +02:00
  • f2b892b7d5 Add full Repairable support in tools config files TfT_02 2014-06-15 17:28:54 +02:00