Commit Graph
427 Commits
Author SHA1 Message Date
Draycia f2fa2b5d92 Revert "Remove non-functional Chat Placeholders"
This reverts commit 403c3a3059.
2023-07-05 21:57:57 -07:00
Draycia 403c3a3059 Remove non-functional Chat Placeholders 2023-07-05 21:54:03 -07:00
Josua Parks fc1b597f03 Cleanup chat listeners and deduplicate shared code (#260) 2023-07-04 20:59:13 -07:00
Jason Penilla b8f1fa2d10 deduplicate dependency loading logic 2023-07-04 11:48:30 -07:00
Jason 307395ce5b Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task (#259)
* Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task

* Add maven central as fallback for paper mirror

* filter duplicate dependencies

* fix fabric runServer

* add todo

* enable hangar publishing

* - exclude unneeded deps from runtime dl
- sort deps and relocations in the list file
- other misc fixes

* move jdbi relocation

* don't log anything when we don't download or relocate any dependencies

* add back mariadb driver and download more dependencies at runtime

and other related build changes

* build cleanup

* build cleanup

* remove useless dependencies block
2023-07-04 00:24:00 -07:00
Draycia f7e79d0f67 Change channels log to INFO 2023-06-29 19:21:40 -07:00
Jason Penilla 9010086679 Config comment cleanup 2023-06-27 16:52:24 -07:00
Ralph Drake 39f700ac20 Describe valid StorageTypes in PrimaryConfig.java (#254) 2023-06-27 16:44:49 -07:00
Jason Penilla e8308df602 revert adding final to config fields from 5668ad21 (f9c35442 cont) 2023-06-24 18:11:20 -07:00
Jason Penilla 051f58bdf1 Fix loading of shaded SQL drivers 2023-06-24 18:04:59 -07:00
Jason Penilla 8e59a14fdb Un-promote ChannelRegistry#byCommandName from API 2023-06-24 18:04:58 -07:00
Jason Penilla 0d72883ab9 Inject ChannelRegistry to CarbonPlayerCommon 2023-06-23 14:03:29 -07:00
Draycia 47b1ba4d7f More cleanup 2023-06-23 13:49:11 -07:00
Jason Penilla 547adcf0fe Remove indirection in getting ChannelRegistry from DatabaseUserManagers 2023-06-23 13:42:31 -07:00
Draycia 85612eb94c Fix injection issue and cleanup CCProvider usage 2023-06-23 13:22:46 -07:00
Jason Penilla 2e280eb410 Force init of Driver classes 2023-06-22 17:16:11 -07:00
Jason Penilla 543231961c Remove manual class preloads in MySQLUserManager.Factory 2023-06-22 16:17:32 -07:00
Draycia f9c3544240 Don't use final on config fields 2023-06-20 14:29:02 -07:00
Jason Penilla 6add891319 misc cleanup 2023-06-17 17:09:39 -07:00
Draycia 513e3d005f Fix ping handler regex 2023-06-17 14:52:53 -07:00
Jason 72cd93ff04 Add toggle for nickname management (#252) 2023-06-17 14:37:29 -07:00
Draycia 29505dd0ed Remove CarbonEventConfig 2023-06-15 20:08:11 -07:00
Josua ParksandRiley Park 9cb0795379 Fix event registration and listener subscriptions (#251)
Co-authored-by: Riley Park <[email protected]>
2023-06-15 19:08:23 -07:00
Draycia c45bc28de0 Add missing rendering logic to channel registry 2023-06-15 16:23:51 -07:00
Draycia 3717df99ad Fix recipient not being passed into command msg renderer 2023-06-15 16:23:51 -07:00
Aiko ed0d257db1 Fix setting nicknames for others (#250) 2023-06-15 15:38:05 -07:00
Draycia 14b229152e Fix channel prefixes not working 2023-06-08 20:29:19 -07:00
Draycia 8ced22ffb9 Add CarbonPrivateChatEvent 2023-06-08 15:15:52 -07:00
Draycia 5668ad21a8 Replace event library, remove deprecated methods
And some cleanup
2023-06-06 21:04:41 -07:00
Draycia cbcd145360 Add missing docs for ChannelMessage 2023-06-02 19:37:41 -07:00
Draycia 545d09c574 Remove non-sourced resolver
Fixes a few issues causing placeholders to not work
2023-06-01 01:54:29 -07:00
Draycia 76e3b68dfe Extract channel prefix check to CarbonPlayer 2023-05-28 17:48:08 -07:00
Draycia d452106e0b Render per-player when calling sendMessageInChannelAsPlayer 2023-05-28 17:48:08 -07:00
Josua Parks 6839cd0f66 Update Fabric module to support 1.19.4 (#241) 2023-05-03 18:26:33 -07:00
Jason 052c3731f5 Folia support & display name state handling improvements (#240) 2023-04-25 12:48:40 -07:00
Jason Penilla 0efeeaa5c8 fix: Make CarbonPlayerCommon#transientLoadedSince volatile 2023-04-23 18:02:55 -07:00
Jason Penilla 6607ee2493 fix: Provide Identity pointers for "offline" CarbonPlayers 2023-04-23 17:50:57 -07:00
Jason Penilla 0528e8ef49 chore: move custom placeholder replacement to method 2023-04-15 18:07:45 -07:00
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