Commit Graph
405 Commits
Author SHA1 Message Date
Jason Penilla 44b6c26554 whisper & other command cleanup 2023-08-08 09:23:57 -07:00
Jason Penilla b46f6c6016 cross-server whispers & cross-server player name tab completion in commands 2023-08-08 09:23:57 -07:00
Jason Penilla 3385c343c9 ignore empty chats 2023-08-06 15:17:32 -07:00
Draycia 06e0ee08fb Fix missing license header 2023-08-02 18:11:06 -07:00
Draycia 2d89dc68c4 Allow console to use chat with 'console_sender' channel format 2023-08-02 18:02:53 -07:00
Jason Penilla 912f0e8af1 fix: hotfix for recursive cross-server message bug 2023-08-02 12:56:11 -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 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 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