Commit Graph
99 Commits
Author SHA1 Message Date
Jason Penilla c50f89ffd1 velocity: update asm & relocations 2023-08-23 09:19:58 -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 7371f7b92e enable user manager type bstats chart 2023-08-19 11:26:44 -07:00
Jason Penilla af263020ff setup velocity bstats 2023-08-19 10:58:00 -07:00
Josua Parks ddbdea35fe Merge pull request #272 from Hexaoxide/api-cleanup 2023-08-12 16:59:21 -07:00
Jason Penilla d86b93894e Clean up command DI 2023-08-12 10:17:32 -07:00
Draycia 88f020f82d Fix velocity sameWorldAs 2023-08-10 21:16:39 -07:00
Jason Penilla 1e20138137 Remove unchecked cast and unnecessary generic in CarbonChatInternal 2023-08-10 14:21:10 -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 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 2d89dc68c4 Allow console to use chat with 'console_sender' channel format 2023-08-02 18:02:53 -07:00
Jason Penilla c0761b7cea build(velocity): remove blossom usage 2023-08-01 16:55:56 -07:00
Draycia 89894fad30 Add chat-filter and make command messages utilise prepareAndEmitChatEvent 2023-07-08 19:22:09 -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
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 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
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 27f60a6757 fix: Align Velocity command exception handling, completions, and execution coordination with other platforms 2023-06-27 18:58:52 -07:00
Jason Penilla 81c6cc7e17 Relocation/dependency cleanup 2023-06-22 16:17:55 -07:00
Jason Penilla 6add891319 misc cleanup 2023-06-17 17:09:39 -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
Draycia ae620fe227 Set velocity chat listener to LAST 2023-06-09 21:20:49 -07:00
Draycia 068ba26cfc Remove redundant event cancellations 2023-06-08 15:30:53 -07:00
Draycia 5668ad21a8 Replace event library, remove deprecated methods
And some cleanup
2023-06-06 21:04:41 -07:00
Draycia e87cff5330 Remove unused imports 2023-06-02 19:49:21 -07:00
Draycia d322229744 Use channelMessage and rejoin left channels on message 2023-05-28 17:48:08 -07:00
Adrian 5193723414 Fixed Audience placeholders not being applied (#246) 2023-05-28 16:24:00 -07:00
Josua Parks 6839cd0f66 Update Fabric module to support 1.19.4 (#241) 2023-05-03 18:26:33 -07:00
Jason 052c3731f5 Folia support & display name state handling improvements (#240) 2023-04-25 12:48:40 -07:00
Jason Penilla 6607ee2493 fix: Provide Identity pointers for "offline" CarbonPlayers 2023-04-23 17:50:57 -07:00
Adrian 4445e02eec Prevent cancellation of messages from signed players with versions 1.19.1 or higher in Velocity (#239) 2023-04-23 14:40:14 -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 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 be1d8c38a5 chore: Reduce code duplication in join/save exception handlers 2023-04-15 12:32:33 -07:00
Adrian 979bb47048 misc: Applied suggestions review 2023-04-13 23:42:23 -05:00
Adrian 7e942d83bf fix(velocity): Fixed players suggestions 2023-04-13 23:08:34 -05:00
Adrian 71b1ab11a8 fix: Add CarbonChatInternal#isProxy and removed unnecessary log in Velocity 2023-04-13 22:32:50 -05:00
Adrian 8decd8e1c6 perf: Cache URL_REPLACEMENT_CONFIG creation
And move it to the common module
2023-04-13 22:15:09 -05:00