Add command to announce requests - #114
Open
Javggg wants to merge 2 commits into
Open
Conversation
Signed-off-by: Javggg <javier.velasquez.gallardo@gmail.com>
Signed-off-by: Javggg <javier.velasquez.gallardo@gmail.com>
applenick
requested changes
Aug 28, 2026
applenick
left a comment
Member
There was a problem hiding this comment.
The formatting feels a bit outdated. Also, having a staff member's name attached to accepting map requests seems unnecessary as presenting a unified staff front is probably the better approach today. Could you remove the --name flag?
As for formatting, I'd go for something like this and making it a clickable component:
Component announce = text()
.append(text("Map requests are now ", NamedTextColor.GRAY))
.append(text("OPEN", NamedTextColor.GREEN, TextDecoration.BOLD))
.append(text("! ", NamedTextColor.GRAY))
.append(text("[", NamedTextColor.GRAY))
.append(text("Request a map", NamedTextColor.AQUA))
.append(text("]", NamedTextColor.GRAY))
.clickEvent(ClickEvent.suggestCommand("/request "))
.hoverEvent(HoverEvent.showText(text("Click to request a map", NamedTextColor.GRAY)))
.build();I wonder if in addition to bringing back the dedicated announcement command, we could simply auto-broadcast whenever a staff member enables requests. That way, there’s one less manual step, but likely better to have both options available.
Thanks for taking the time to work on this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Similar to what zzuf did with #57, this PR adds the
/requests announcecommand from the Requests plugin.Usage:
/requests announce [--name|-n]By default the announcement reads "We are accepting map requests". With the
--nameflag, it credits the staff member who ran it.