Commit Graph
328 Commits
Author SHA1 Message Date
Jason 366b679f7a Propogate user data changes cross-server (#235) 2023-04-02 11:35:32 -07:00
Draycia 2ee7c85a35 Fix ignores for cross-server messages 2023-03-26 20:18:02 -07:00
Draycia 493f4cfec3 Fix flyway dumbness 2023-03-26 17:05:50 -07:00
Draycia 1d0fa05a46 Misc cleanup and improvements 2023-03-26 16:50:34 -07:00
Jason Penilla b8e288eb41 further improve mojang api rate limit handling 2023-03-26 11:46:33 -07:00
Jason Penilla 914d21d1fd add missing shutdown for uuidToProfileRateLimit 2023-03-26 11:43:06 -07:00
Jason Penilla c846d51ee9 Improve mojang api rate limit handling 2023-03-26 11:41:50 -07:00
Jason Penilla 4026d40145 Use FastUuidSansHyphens for MojangProfileResolver 2023-03-26 11:14:20 -07:00
Jason Penilla 45c93223d2 close player file reader 2023-03-26 11:08:02 -07:00
Jason Penilla 72444b91dc simplify writing user json
default options are CREATE TRUNCATE_EXISTING and WRITE
2023-03-26 11:05:44 -07:00
Jason Penilla 4eff3579ed Trim all strings from SQL
they might end with null terminator
2023-03-26 11:00:29 -07:00
Jason Penilla f24a64c59a trim keys from database to remove null terminator padding 2023-03-26 10:36:26 -07:00
Draycia 466bacbe16 Checkstyle cleanup 2023-03-25 21:21:49 -07:00
Draycia 6a49ae1767 Fix messaging services, misc fixes 2023-03-25 21:18:13 -07:00
Draycia b1f7c8f6c3 Log exceptions and use threadfactory in MessagingManager 2023-03-25 20:17:26 -07:00
Jason Penilla 442f5e07e0 bump fabric to 1.19.4 and change server instance handling 2023-03-25 12:54:02 -07:00
Jason Penilla 51b9885942 Remove cast 2023-03-25 12:12:10 -07:00
Jason Penilla 3c4a1eb002 Remove unnecessary override 2023-03-25 12:08:21 -07:00
Jason Penilla cef9ad0fd9 Update fabric init 2023-03-25 12:04:11 -07:00
Jason Penilla 640fc495cc Move up needsSave check 2023-03-25 11:45:33 -07:00
Jason Penilla 7b881e594c Fix method name for checkstyle 2023-03-25 11:37:41 -07:00
Jason Penilla 6fda12425e Use PersistentUserProperty for all serialized values 2023-03-25 11:36:12 -07:00
Jason Penilla e1e9c4f62e Add PersistentUserProperty 2023-03-25 10:45:41 -07:00
Jason Penilla 50c1eaf5e0 amend @Backing doc 2023-03-25 10:17:07 -07:00
Jason Penilla 66dc5abe53 typo fix 2023-03-25 10:14:08 -07:00
Jason Penilla 9b9f4fcc0e Clean up user manager creation 2023-03-25 10:12:38 -07:00
Jason Penilla 072c608261 rename ForCarbon to DataDirectory 2023-03-25 09:58:58 -07:00
Jason Penilla 5b5ed42b48 resolve circular dependencies (mostly) 2023-03-25 09:55:32 -07:00
Jason Penilla 50f0b4a3fa Move all periodic tasks to own executor 2023-03-25 08:54:15 -07:00
Jason Penilla 154569b208 add exception handling to save in cleanup 2023-03-23 15:08:08 -07:00
Jason Penilla d4f7d846c6 fixup profileresolver injection 2023-03-23 13:42:24 -07:00
Jason Penilla 3b7f70e1d3 clean up caching user managers 2023-03-23 13:36:20 -07:00
Jason Penilla 9f58e81d20 implementing tracking and unloading of transient loaded users (loaded for offline players) 2023-03-23 13:29:40 -07:00
Jason Penilla 0c283d0918 usermanager cleanup 2023-03-23 13:01:47 -07:00
Draycia 0251440600 Remove SaveOnChange & fix checkstyle errors 2023-03-22 20:34:43 -07:00
Draycia 8d672c829b Don't save clean player objects 2023-03-22 16:41:49 -07:00
Draycia 081cdf7deb Fix up DB managers 2023-03-22 16:15:14 -07:00
Jason Penilla e5524eefd2 Adjust UserManager creation and access 2023-03-21 20:03:52 -07:00
Jason Penilla b41d745458 Remove remaining PlayerSuggestions use outside CarbonPlayerArgument 2023-03-21 15:24:20 -07:00
Jason Penilla d5e32eae3f Clean up 2023-03-21 15:09:24 -07:00
Jason Penilla 172750adc3 Adjust timer name (again) 2023-03-21 14:22:55 -07:00
Jason Penilla bb917e3942 Adjust timer name 2023-03-21 14:21:44 -07:00
Jason Penilla f69f16c155 Use AtomicInteger instead of Semaphore for rate limit 2023-03-21 14:13:53 -07:00
Jason Penilla e7f5028240 Rate limit mojang api requests & don't make requests for tab completion 2023-03-21 14:10:50 -07:00
Jason Penilla 46fcd4e351 Add ProfileCache 2023-03-21 13:22:36 -07:00
Jason Penilla 34c8f60530 More improvements to MojangProfileResolver 2023-03-21 12:32:16 -07:00
Jason Penilla 51cafbf548 Change pending profile request futures to use BasicLookupResponse
Will make caching simpler in the future
2023-03-21 12:25:40 -07:00
Jason Penilla e8f88e474b Fix UUID and missing profile handling in MojangProfileResolver 2023-03-21 12:19:40 -07:00
Jason Penilla 0f13aea977 Replace all usages of UserManager#carbonPlayer with UserManager#user 2023-03-21 10:20:34 -07:00
Jason Penilla 16754ec55a Make MojangProfileResolver final 2023-03-21 09:56:33 -07:00