Commit Graph
118 Commits
Author SHA1 Message Date
Jason Penilla f3640dcdea Revert extension load order change 2025-12-23 14:08:35 -08:00
Jason Penilla 5ee2f95012 Adjust audience wrapping based on MiniPlaceholders relational config 2025-12-14 21:09:54 -07:00
Jason Penilla 91f00da371 Disable relational MiniPlaceholders by default
With MP v2, we would add "non-relational placeholders for sender (principal)" and then "placeholders for viewer (principal), in relation to sender", as was our understanding of how relational placeholders should generally be used in PlaceholderAPI and MiniPlaceholders.

With MP v3, we must add both tag resolvers and pass a relational audience to MiniMessage. The issue is that the principal audience for non-relational placeholders then becomes the viewer instead of the sender.

Pending any change in how relational MiniPlaceholders work (or how they should be used according to the dev), we will disable them by default to reduce the need for render_for tags to effectively disable this new principal audience swap behavior in formats.

If relational support is desired, you will need to deal with the consequences, including how preprocess tags inherently do not play nice with render_for due to how MiniMessage parsing works.
2025-12-14 20:30:05 -07:00
Jason Penilla 6aaba51a2f Update for MiniPlaceholders v3 (#690) 2025-09-04 22:29:37 -07:00
Josua Parks 108561b5b9 fix: cross-server message logs twice (#603) 2025-01-24 16:46:39 -08:00
Draycia 8d24dd6eeb Fix placeholder issues on Velocity
Closes #534
2024-12-20 00:32:39 -08:00
Jason Penilla bdff4007e6 Add render_for tag (#455)
* Add `<render_for:<username|uuid>(:<inserting|self_closing_inserting>):<message>>` tag

* Handle null player

even though intellij thinks it's impossible, we literally return CompletableFuture.completedFuture(null) right above here...

* Remove unused parameters
2024-08-14 01:50:04 -07:00
Jason PenillaandJosua Parks 2a2e76f491 Update Guice to 7.0.0 (#430)
Co-authored-by: Josua Parks <[email protected]>
2024-06-11 19:58:24 -07:00
Draycia af12f92650 Reverse sender/recipient in relational placeholders 2024-05-14 16:32:23 -07:00
Jason PenillaandDraycia a816dcd738 Support signing messages from command arguments (#434)
* Initial signed command argument impl

* Implement on Paper and map to greedy string (unsigned) on velocity

* Use cloud signed arguments

* add relocations

* fabric: include instead of shade cloud-signed-arguments

* Make whispers between players on the same server signed

* Update cloud & loom

---------

Co-authored-by: Draycia <[email protected]>
2024-05-14 16:13:57 -07:00
Jason Penilla dff7c4674b Remove redundant setting of native number suggestions
the default is now false in 2.0
2024-03-12 11:00:51 -07:00
Jason PenillaandAlexander Söderberg 048321d17c feat: cloud v2 (#424)
* feat: cloud v2

* updates

* ArgumentFactory -> ParserFactory

* Use parsing context instead of context hack for player parser input

* fix: Allow console to clearchat

* revert behavior change to player suggestions

* Fixup command/argument description issues

* remove unused method

* paper: remove redundant command manager config

* fix cloud relocation

* remove redundant method call

* Update cloud

* thenCompose -> thenApply in CarbonPlayerParser

* bump luckperms

* adjust exception handling

---------

Co-authored-by: Alexander Söderberg <[email protected]>
2024-03-12 10:56:22 -07:00
Draycia 8ef507f51c Support custom chat completions on velocity (#414) 2024-03-07 10:34:38 -08:00
Jason Penilla e548e176d6 Update LICENSE_HEADER 2024-01-01 18:20:00 -08:00
Jason Penilla 476746278c Add MiniPlaceholders Expansion (#369) 2023-12-12 11:41:13 -08:00
Adrian a633940007 Changed Velocity ChatListener PostOrder to LATE 2023-12-05 11:52:04 -05:00
Josh TaylorandJason Penilla b5431e542e feature: basic towny integration (#334)
Co-authored-by: Jason Penilla <[email protected]>
2023-11-09 20:52:10 -07:00
Jason Penilla 2073b3e008 fix: Add missing configureListeners call on velocity 2023-11-07 23:11:35 -07:00
Jason Penilla 2ed9025101 Move dependency downloader code out of project 2023-11-02 16:37:18 -07:00
Riley Park 45369aa261 chore: cleanup command registration 2023-10-28 19:24:28 -07:00
Jason Penilla 5483bfd834 Add messaging enabled/type to bStats 2023-10-21 19:00:40 -07:00
Jason 0c9b3ce651 Party chat (#299) 2023-10-02 12:15:51 -07:00
Jason e065d78f2e clean up startup logs (#291) 2023-09-15 14:44:57 -07:00
Jason Penilla 08b8c5841d make the update checker run later on fabric 2023-09-15 14:43:26 -07:00
Jason Penilla 7a43d07807 Make non-component placeholders preProcessParsed 2023-09-09 09:59:09 -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