Commit Graph
100 Commits
Author SHA1 Message Date
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
Jason Penilla cf396c6db6 2.1.0-beta.12 2023-06-17 16:20:03 -07:00
Jason Penilla b2499bf9c7 2.1.0-beta.11 2023-06-17 16:04:37 -07:00
Jason Penilla 310e0f1ef2 build: propagate version to subprojects 2023-06-17 16:03:25 -07:00
Jason Penilla af278b7492 Back to 2.1.0-SNAPSHOT 2023-06-17 15:55:41 -07:00
Jason 72cd93ff04 Add toggle for nickname management (#252) 2023-06-17 14:37:29 -07:00
Jason Penilla f9fcd9b72d Fix missing description property 2023-06-08 11:25:50 -07:00
Jason Penilla 7798f0a9f1 Update group id 2023-06-08 11:22:30 -07:00
Jason Penilla 5d8a2481c1 Set up sonatype publishing 2023-06-08 11:20:09 -07:00
Jason Penilla ce17a634e7 Set up sonatype publishing 2023-06-08 11:19:13 -07:00
Jason Penilla f6153905c4 format license 2023-06-07 22:27:50 -07:00
Jason 052c3731f5 Folia support & display name state handling improvements (#240) 2023-04-25 12:48:40 -07:00
Jason Penilla 0efeeaa5c8 fix: Make CarbonPlayerCommon#transientLoadedSince volatile 2023-04-23 18:02:55 -07:00
Jason Penilla 6607ee2493 fix: Provide Identity pointers for "offline" CarbonPlayers 2023-04-23 17:50:57 -07:00
Jason Penilla 216221404b chore(velocity): Remove unused field in VelocityUserManager 2023-04-23 13:01:51 -07:00
Jason Penilla c9c9a04c37 build: Move unsignedvelocity Modrinth dependency into Velocity build script 2023-04-22 06:46:48 -07:00
Jason Penilla 11fa24ebfb back to 2.1.0-SNAPSHOT 2023-04-17 11:02:34 -07:00
Jason Penilla 6af5080a49 2.1.0-beta.9 2023-04-17 11:01:20 -07:00
Jason Penilla 14aaf4d31d Revert "Use legacy serializer in DSRV hook"
This reverts commit 2f3a2a66f7.

Fixes warnings about legacy formatting, but this is probably masking larger issues with the DSRVChatHook doing things in the wrong order. I don't really want to touch DSRV though, so I will leave further investigation for someone else.
2023-04-17 11:00:59 -07:00
Jason Penilla bd77588e8b 2.1.0-beta.8 2023-04-16 13:28:14 -07:00
Jason Penilla 7d49477b86 Fix release token name 2023-04-16 13:27:26 -07:00
Jason Penilla 839e6804e5 Adjust actions workflow 2023-04-16 09:56:38 -07:00
Jason Penilla f9e0d6bce5 2.1.0-beta.7 2023-04-16 09:30:19 -07:00
Jason Penilla 6ecbf5ecbf Comment out hangar publish until it can work 2023-04-16 09:28:43 -07:00
Jason Penilla dd6e22e980 build: Fix beta check 2023-04-16 09:26:32 -07:00
Jason Penilla 1c86766696 Actions fix 2023-04-16 09:15:50 -07:00
Jason Penilla b016c45732 2.1.0-beta.6 2023-04-16 09:12:32 -07:00
Jason Penilla f34c0c462c Adjust actions workflow 2023-04-16 09:12:11 -07:00
Jason Penilla cc17164502 2.1.0-beta.5 2023-04-16 08:29:09 -07:00
Jason Penilla 0528e8ef49 chore: move custom placeholder replacement to method 2023-04-15 18:07:45 -07:00
Jason Penilla 4e5bedfd77 fix: revert change to how custom placeholders are resolved 2023-04-15 18:03:55 -07:00
Jason Penilla 2ceff008b1 Adjust actions workflow 2023-04-15 17:56:31 -07:00
Jason Penilla bfef7d3438 2.1.0+beta.4 2023-04-15 14:25:18 -07:00
Jason Penilla 11fd08491b build: setup modrinth publishing 2023-04-15 14:23:49 -07:00
Jason Penilla d842b5aa70 back to 2.1.0-SNAPSHOT 2023-04-15 12:32:46 -07:00
Jason Penilla be1d8c38a5 chore: Reduce code duplication in join/save exception handlers 2023-04-15 12:32:33 -07:00
Jason Penilla f5aedd7016 Fix actions workflow (pt1?) 2023-04-15 09:55:10 -07:00
Jason Penilla 3dbec83827 fix(fabric): Add missing @Singleton to MinecraftServerHolder 2023-04-13 20:55:31 -07:00
Jason Penilla 2698dae60c remove redundant var 2023-04-13 18:23:28 -07:00
Jason Penilla 12a7b2cee7 move hangar-publish-plugin config to root project 2023-04-13 18:21:30 -07:00
Jason Penilla 4c60d0f472 Setup auto hangar publishing 2023-04-13 18:12:33 -07:00
Jason Penilla d4528048e2 Make PersistentUserProperty changes atomic 2023-04-07 11:18:03 -07:00
Jason Penilla 35a5f59a1f Reduce visibility of save method on user managers to avoid accidental use over saveIfNeeded 2023-04-02 14:17:03 -07:00
Jason Penilla 7fb5bfc737 Don't save empty player data into database 2023-04-02 12:09:56 -07:00
Jason 366b679f7a Propogate user data changes cross-server (#235) 2023-04-02 11:35:32 -07:00
Jason 1397cd4c4f Adjust dependency loading and relocations (#234) 2023-03-27 16:16:48 -07:00
Jason Penilla fe4e84d375 Delay PlaceholderAPI check 2023-03-26 14:21:15 -07:00
Jason Penilla 18e242b25a fabric: ensure MinecraftServerHolder is initialized with the mod 2023-03-26 13:18:13 -07:00
Jason Penilla 3d92ec2482 Remove duplicated Permission type 2023-03-26 12:51:28 -07:00
Jason Penilla 8280abdaf6 Fix paper-plugin.yml dependency info 2023-03-26 12:46:54 -07:00
Jason Penilla ca04c4dc78 Make Carbon a Paper plugin and use paper-trail instead of PaperLib 2023-03-26 12:24:48 -07:00
Jason Penilla b8e288eb41 further improve mojang api rate limit handling 2023-03-26 11:46:33 -07:00
Jason Penilla 914d21d1fd add missing shutdown for uuidToProfileRateLimit 2023-03-26 11:43:06 -07:00
Jason Penilla c846d51ee9 Improve mojang api rate limit handling 2023-03-26 11:41:50 -07:00
Jason Penilla 4026d40145 Use FastUuidSansHyphens for MojangProfileResolver 2023-03-26 11:14:20 -07:00
Jason Penilla 45c93223d2 close player file reader 2023-03-26 11:08:02 -07:00
Jason Penilla 72444b91dc simplify writing user json
default options are CREATE TRUNCATE_EXISTING and WRITE
2023-03-26 11:05:44 -07:00
Jason Penilla 4eff3579ed Trim all strings from SQL
they might end with null terminator
2023-03-26 11:00:29 -07:00
Jason Penilla f24a64c59a trim keys from database to remove null terminator padding 2023-03-26 10:36:26 -07:00
Jason Penilla 442f5e07e0 bump fabric to 1.19.4 and change server instance handling 2023-03-25 12:54:02 -07:00
Jason Penilla 64a9bd410b fix super calls 2023-03-25 12:13:48 -07:00
Jason Penilla 51b9885942 Remove cast 2023-03-25 12:12:10 -07:00
Jason Penilla e41050e472 Remove unused field 2023-03-25 12:08:48 -07:00
Jason Penilla 3c4a1eb002 Remove unnecessary override 2023-03-25 12:08:21 -07:00
Jason Penilla cef9ad0fd9 Update fabric init 2023-03-25 12:04:11 -07:00
Jason Penilla 640fc495cc Move up needsSave check 2023-03-25 11:45:33 -07:00
Jason Penilla 7b881e594c Fix method name for checkstyle 2023-03-25 11:37:41 -07:00