Commit Graph
394 Commits
Author SHA1 Message Date
Jason Penilla 0ae6a01128 channel load and general file handling cleanup 2023-07-12 13:04:48 -07:00
Jason Penilla 702f5ad823 Make order of internal reload event listeners consistent 2023-07-11 17:22:45 -07:00
Jason Penilla ef62dc24f5 don't try to double register commands 2023-07-11 17:22:45 -07:00
Jason Penilla e9d4abd84b Fix reloads by recreating the channel registry
Currently, this persists API-registered entries. Not sure if that's what we want to do, or if we should have an event for registering channels instead...

We only support registering commands for channels added at startup anyways.
2023-07-11 17:22:45 -07:00
Jason Penilla d05cc65258 improve ping regex 2023-07-10 11:42:43 -07:00
Draycia 89894fad30 Add chat-filter and make command messages utilise prepareAndEmitChatEvent 2023-07-08 19:22:09 -07:00
Draycia fd2bb08553 Unpromote channelByValue from API 2023-07-08 17:18:41 -07:00
Draycia 4ce7a46391 Finish removing relocated libraries from API 2023-07-08 17:01:25 -07:00
Draycia 09054b7332 Hide Event lib from API 2023-07-08 15:55:17 -07:00
Draycia 43d2754018 Start hiding relocated api libs 2023-07-08 15:16:55 -07:00
HarvelsX 9f20afc33a Emit event CarbonChatEvent in message processing from
message service;
2023-07-08 15:16:55 -07:00
Jason Penilla 25b88f3f8b use the default HttpClient executor in DependencyDownloader
(HttpClient *really* doesn't want to be used synchronously)

by reusing the HttpClient we still avoid redundant threads, we just can't reuse the thread making the request for handling it
2023-07-05 23:47:56 -07:00
Jason Penilla f7e59a2196 don't create redundant threads for DependencyDownloader http client 2023-07-05 23:18:19 -07:00
Draycia 17e90a4df9 Add permission and support for MiniPlaceholders tags in chat messages 2023-07-05 23:10:44 -07:00
Draycia 83e5439de2 Add permission to allow PAPI placeholders in messages
Fix chat placeholders not being properly used
2023-07-05 22:45:11 -07:00
Draycia f459d47bdb Extract chat placeholder parsing 2023-07-05 22:00:31 -07:00
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