Commit Graph
1466 Commits
Author SHA1 Message Date
Jason Penilla 42850a1410 build: update gradle, plugins, dependencies 2023-08-01 17:11:50 -07:00
Jason Penilla c0761b7cea build(velocity): remove blossom usage 2023-08-01 16:55:56 -07:00
Jason Penilla 8241e6091b Back to 2.1.0-SNAPSHOT 2023-08-01 16:42:04 -07:00
Jason Penilla 0fedf4ecce 2.1.0-beta.16 2023-08-01 16:19:46 -07:00
Jason Penilla 7a0ff8333d Fix legacy code detection in PlaceholderAPIMiniMessageParser 2023-07-19 11:39:37 -07:00
Jason Penilla 3401a419ea Fix duplicate mute info message 2023-07-17 11:25:25 -07:00
Jason Penilla 96ccede4f9 Locale loading and reloading fixes 2023-07-17 11:21:25 -07:00
Jason Penilla 8d761519e4 Revert "Add channel 'name' option, don't register channels with invalid keys/names"
This reverts commit 9daac8eff3.
2023-07-17 11:21:25 -07:00
Draycia 9daac8eff3 Add channel 'name' option, don't register channels with invalid keys/names
Also hides the key option by default
2023-07-16 20:58:24 -07:00
Jason Penilla dcd1e0cc90 Update adventure-platform-fabric to release 2023-07-16 13:05:03 -07:00
Jason Penilla 294e85cb0b Improve CarbonChat JavaDoc 2023-07-12 18:48:43 -07:00
Jason Penilla 88402ed0a6 Rework channel registration
Addons should now register any new channels as early as possible to allow for command registration.

Removing channels requires a plugin restart.
2023-07-12 18:48:43 -07:00
Jason Penilla 2f1023d9f0 Remove quilt repo
New quiet-loom uses Vineflower instead which is on central
2023-07-12 16:48:15 -07:00
Jason Penilla bb6c576033 fabric: add carbonchat entrypoint for addon mods 2023-07-12 15:28:34 -07:00
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
Jason Penilla 141772f72e fix registry relocation 2023-07-09 16:21:57 -07:00
Draycia 89894fad30 Add chat-filter and make command messages utilise prepareAndEmitChatEvent 2023-07-08 19:22:09 -07:00
Draycia d1a0cd3cc6 Fix checkstyle 2023-07-08 17:40:30 -07:00
Draycia 482d09b3f5 Fix missing licenses 2023-07-08 17:39:22 -07:00
Draycia 33e19541e0 Add nickname PAPI placeholder 2023-07-08 17:38:37 -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
Draycia 78155d6d4b Fix styling in velocity chat listener 2023-07-04 21:03:50 -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 Penilla 4dc1a58a18 clean up CarbonPaperLoader 2023-07-04 11:20:00 -07:00
Jason Penilla 04c2433f45 Back to 2.1.0-SNAPSHOT 2023-07-04 11:18:01 -07:00
Jason Penilla 360eb91cd7 2.1.0-beta.15 2023-07-04 10:59:10 -07:00
Adrian 999e2f9dee Improved Velocity listeners registration and execution performance (#257)
* perf(velocity): Improved listener registration and execution performance

Also, changed Velocity ChatListener PostOrder to LATE

* Reverted ChatListener PostOrder change

* Applied suggested changes

* Fixed checkstyle
2023-07-04 00:24:19 -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 82c22a08fa Don't throw exceptions when DSRV channels are misconfigured 2023-07-02 19:49:54 -07:00
Draycia e4adb0752a Fix custom placeholders not being used on Velocity and Paper 2023-07-02 16:38:27 -07:00
Adrian 9ab930afce Changed Velocity ChatListener PostOrder to LATE (#258) 2023-06-30 14:49:05 -07:00
Draycia f7e79d0f67 Change channels log to INFO 2023-06-29 19:21:40 -07:00
Jason Penilla 7b1826514f 6dac942 pt 2 2023-06-28 15:08:06 -07:00
Jason Penilla 6dac94252c Dependency fixes
- Removes mariadb sql driver
- psql drivers, mysql drivers, and zstd-jni will now be present on all platforms through one of
  - driver provided by platform
  - driver included/shaded in carbon jar
  - driver downloaded at runtime
2023-06-28 15:05:34 -07:00