Commit Graph
1450 Commits
Author SHA1 Message Date
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
Jason Penilla 3c0f9621bb fix(paper): Remove unnecessary library download
This is provided by Paper
2023-06-28 14:15:10 -07:00
Jason Penilla b12a6fb573 Back to 2.1.0-SNAPSHOT 2023-06-27 19:39:10 -07:00
Jason Penilla 69a70d79fd 2.1.0-beta.14 2023-06-27 19:21:51 -07:00
Jason Penilla 47c23bbdaa fix(fabric): Bump adventure-platform-fabric and update fabric.mod.json for 1.20.1 2023-06-27 19:19:59 -07:00
Jason Penilla c986089c95 Back to 2.1.0-SNAPSHOT 2023-06-27 19:09:53 -07:00
Jason Penilla 4535e6ae18 2.1.0-beta.13 2023-06-27 19:02:10 -07:00
Jason Penilla 27f60a6757 fix: Align Velocity command exception handling, completions, and execution coordination with other platforms 2023-06-27 18:58:52 -07:00
Jason Penilla fc1cfd419a Clean up plugin instance access in DSRVChatHook 2023-06-27 16:55:55 -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