Commit Graph
100 Commits
Author SHA1 Message Date
Jason Penilla 6cc4a28405 Update zstd-jni and remove relocation 2023-09-07 22:41:39 -07:00
Jason Penilla 7d2933a787 fix postgres v3 migration 2023-09-07 09:48:55 -07:00
Jason bbb82dec95 Disable messaging service on proxies (#285) 2023-08-29 09:24:49 -07:00
Jason b5546e029c Merge pull request #284 from Hexaoxide/ignorelist 2023-08-27 11:15:20 -07:00
Jason Penilla 73f78f7573 adjust message 2023-08-26 13:12:00 -07:00
Jason Penilla 8574fb9503 fix (un)ignore feedback messages 2023-08-26 13:04:15 -07:00
Jason Penilla a4a1abb50d adjust update-player query 2023-08-26 12:53:58 -07:00
Jason Penilla 178863db6c ignorelist messages 2023-08-26 12:43:05 -07:00
Jason Penilla 0f5a3286d2 ignore list command 2023-08-25 21:14:40 -07:00
Jason Penilla 1b61afb687 add H2 user storage 2023-08-24 12:41:18 -07:00
Jason Penilla 1409b4981d simplify DatabaseUserManager creation 2023-08-24 12:41:18 -07:00
Jason Penilla e5843e4ce5 update gradle wrapper 2023-08-23 09:27:20 -07:00
Jason Penilla c50f89ffd1 velocity: update asm & relocations 2023-08-23 09:19:58 -07:00
Jason Penilla e2baa90f9b Improve handling of failed dependency relocation 2023-08-23 09:18:48 -07:00
Jason 7ed005afeb simplify database handling across sql flavors (#279) 2023-08-22 19:44:09 -07:00
Jason Penilla dbd01c52da also remove username from select query 2023-08-22 14:37:40 -07:00
Jason 54f37fb945 stop storing usernames in db (#277) 2023-08-22 13:41:08 -07:00
Jason Penilla 9a8761ebe2 Back to 2.1.0-SNAPSHOT 2023-08-20 13:21:38 -07:00
Jason Penilla d002d95cdd 2.1.0-beta.19 2023-08-20 12:10:18 -07:00
Jason Penilla dca05a5f9a improve join/save exception handling 2023-08-20 11:44:42 -07:00
Jason b180546987 improve config management (#276)
- ConfigFactory -> ConfigManager
- gracefully handle broken primary config on reload (continue using existing config and print error)
- throw error for broken primary config on init
- as a consequence of the previous two points #primaryConfig is no longer nullable
- write back configs after reading them, ensuring new config options get added to existing configs
- require command settings to load for init to continue
2023-08-19 13:21:53 -07:00
Jason Penilla b9f9322122 Add update checker 2023-08-19 13:07:43 -07:00
Jason Penilla 02774c763f Include git metadata in manifest, commit hash in snapshot platform versions 2023-08-19 12:50:28 -07:00
Jason Penilla 7371f7b92e enable user manager type bstats chart 2023-08-19 11:26:44 -07:00
Jason Penilla ed3fcf3523 fix unnecessary saves & missing save complete packets 2023-08-19 11:05:28 -07:00
Jason Penilla dc9d9b06ef update flyway 2023-08-19 11:05:28 -07:00
Jason Penilla 470e506cb0 fix saving of ignored players & left channels to db 2023-08-19 11:05:28 -07:00
Jason Penilla f4f5f0d7e5 fix saving new players to database 2023-08-19 11:05:28 -07:00
Jason Penilla af263020ff setup velocity bstats 2023-08-19 10:58:00 -07:00
Jason Penilla d86b93894e Clean up command DI 2023-08-12 10:17:32 -07:00
Jason Penilla ee006bc9d7 Remove unused CarbonPlayerPaper.Factory interface 2023-08-10 15:44:07 -07:00
Jason Penilla 0872e27efa Remove unused BasicChatChannel and fix ConfigChatChannel equals/hashCode 2023-08-10 15:31:07 -07:00
Jason Penilla 0ea917af3c Remove unused ChatChannel#filterRecipients method 2023-08-10 15:19:38 -07:00
Jason Penilla 1e20138137 Remove unchecked cast and unnecessary generic in CarbonChatInternal 2023-08-10 14:21:10 -07:00
Jason Penilla ea4d0c9b5a Remove CarbonChat#serverId and add @ServerId injection binding annotation 2023-08-10 14:11:47 -07:00
Jason Penilla dc37c94fb2 Add missing @Backing annotation 2023-08-10 14:07:22 -07:00
Jason Penilla 40884685f8 Add ChannelRegistry#channelOrThrow, rename ChannelRegistry#keyOrDefault to channelOrDefault 2023-08-10 13:41:21 -07:00
Jason Penilla 7f28a9d876 Improve event exception handling 2023-08-10 12:58:32 -07:00
Jason Penilla ef275b5c33 Simplify user manager hierarchy 2023-08-10 00:42:29 -07:00
Jason Penilla 10b9862c18 displayName -> nickname; renderName -> displayName 2023-08-10 00:27:43 -07:00
Jason Penilla 1267b3bd4b API cleanup & other various refactoring 2023-08-09 23:50:20 -07:00
Jason Penilla cdb9d618f9 partially fix MessagingManager shutdown 2023-08-08 09:23:57 -07:00
Jason Penilla a393a53a37 cache profiles from other servers on the network 2023-08-08 09:23:57 -07:00
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 18f94a31c9 support offline players in CarbonPAPIPlaceholders 2023-08-08 09:18:14 -07:00
Jason Penilla 3385c343c9 ignore empty chats 2023-08-06 15:17:32 -07:00
Jason Penilla 19d17ce004 Back to 2.1.0-SNAPSHOT 2023-08-02 12:59:55 -07:00
Jason Penilla 534a7255d3 2.1.0-beta.17 2023-08-02 12:57:25 -07:00
Jason Penilla 912f0e8af1 fix: hotfix for recursive cross-server message bug 2023-08-02 12:56:11 -07:00
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
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
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
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
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
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
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
Jason Penilla 547adcf0fe Remove indirection in getting ChannelRegistry from DatabaseUserManagers 2023-06-23 13:42:31 -07:00
Jason Penilla 2e280eb410 Force init of Driver classes 2023-06-22 17:16:11 -07:00
Jason Penilla 81c6cc7e17 Relocation/dependency cleanup 2023-06-22 16:17:55 -07:00
Jason Penilla 543231961c Remove manual class preloads in MySQLUserManager.Factory 2023-06-22 16:17:32 -07:00
Jason Penilla f8b525d58b Fabric 1.20.1 & dependency updates 2023-06-17 17:13:22 -07:00
Jason Penilla 62e29dc8ed Add fabric to release step 2023-06-17 17:09:39 -07:00
Jason Penilla 9673db40df Bump gradle & loom 2023-06-17 17:09:39 -07:00
Jason Penilla 6add891319 misc cleanup 2023-06-17 17:09:39 -07:00
Jason Penilla 1403955028 Back to 2.1.0-SNAPSHOT 2023-06-17 16:43:35 -07:00