Commit Graph
396 Commits
Author SHA1 Message Date
Jason Penilla be1d8c38a5 chore: Reduce code duplication in join/save exception handlers 2023-04-15 12:32:33 -07:00
Adrian 71b1ab11a8 fix: Add CarbonChatInternal#isProxy and removed unnecessary log in Velocity 2023-04-13 22:32:50 -05:00
Adrian 8decd8e1c6 perf: Cache URL_REPLACEMENT_CONFIG creation
And move it to the common module
2023-04-13 22:15:09 -05:00
Adrian 1de9da3a65 misc: Added MiniPlaceholders hook reference in configuration 2023-04-13 21:53:59 -05:00
Draycia 666e5eb8ac Fix incorrect hardcoded prefix in ping handler 2023-04-12 20:12:11 -07:00
Draycia 960c139c74 Fix ping handler 2023-04-07 16:48:20 -07:00
Draycia 41e0f979e4 Fix cross-server message rendering 2023-04-07 16:48:19 -07:00
Jason Penilla d4528048e2 Make PersistentUserProperty changes atomic 2023-04-07 11:18:03 -07:00
Draycia a3a5a73a4e Don't parse messages on receiving servers
Also adds support for cross server pings
2023-04-02 17:02:20 -07:00
Draycia 00fe9db0a1 Allow pinging nicknames 2023-04-02 16:35:25 -07:00
Jason Penilla 35a5f59a1f Reduce visibility of save method on user managers to avoid accidental use over saveIfNeeded 2023-04-02 14:17:03 -07:00
Jason Penilla 7fb5bfc737 Don't save empty player data into database 2023-04-02 12:09:56 -07:00
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 10e0270407 Cleanup/fix library loading for paper 2023-03-26 20:14:02 -07:00
Draycia 493f4cfec3 Fix flyway dumbness 2023-03-26 17:05:50 -07:00
Draycia aa2662a694 Download large dependencies at runtime 2023-03-26 17:03:17 -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