Skip to content

Add helper methods for vanilla-style command feedback - #13058

Closed
jpenilla wants to merge 6 commits into
mainfrom
feat/command-feedback-helpers
Closed

jpenilla wants to merge 6 commits into
mainfrom
feat/command-feedback-helpers

Conversation

@jpenilla

@jpenilla jpenilla commented Sep 6, 2025 •

Copy link
Copy Markdown
Member

This helps plugin developers more easily follow vanilla conventions when their commands are used for example by /execute or a datapack function.

@jpenilla
jpenilla requested a review from a team as a code owner September 6, 2025 18:50
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Sep 6, 2025
@jpenilla
jpenilla force-pushed the feat/command-feedback-helpers branch from 1f87762 to e086eba Compare October 7, 2025 19:55
@Warriorrrr Warriorrrr linked an issue Oct 11, 2025 that may be closed by this pull request
@jpenilla

jpenilla commented Nov 4, 2025

Copy link
Copy Markdown
Member Author

Revisiting this I'm not sure if sendToTarget is the best name for that method

* @param message the message to send
* @param allowInformingAdmins whether admins and console may be informed of this success
*/
void sendSuccess(ComponentLike message, boolean allowInformingAdmins);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about introducing an overload where the last parameter defaults to true? Or is the general consensus to not bring any unexpected surprises?

@Strokkur424

Copy link
Copy Markdown
Member

Revisiting this I'm not sure if sendToTarget is the best name for that method

Is there a problem with just mirroring Vanilla naming and calling it sendSystemMessage? I think that name is already fine. Alternatively, for a more general name, sendReply could also work IMO.

@Doc94

Doc94 commented Oct 2, 2026

Copy link
Copy Markdown
Member

Replaced with #14331

@Doc94 Doc94 closed this Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

Paper/Minecraft Brigadier Command Feedback Parity

4 participants