Skip to content

GH-373 Add opponent placeholder in combat notification#373

Merged
Rollczi merged 3 commits into
masterfrom
opponent-placeholder-in-notification
Jun 7, 2026
Merged

GH-373 Add opponent placeholder in combat notification#373
Rollczi merged 3 commits into
masterfrom
opponent-placeholder-in-notification

Conversation

@CitralFlo

Copy link
Copy Markdown
Member
image

Signed-off-by: Michał Wojtas <wojtas.michal90@gmail.com>
@CitralFlo CitralFlo changed the title Add opponent placeholder in combat notification GH-373 Add opponent placeholder in combat notification Apr 10, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Minecraft version to 1.21.11 and introduces a new {OPPONENT} placeholder for combat notifications, allowing players to see who tagged them. The implementation includes a configurable placeholder for unknown players. Feedback was provided to ensure that the {OPPONENT} placeholder does not display the player's own name in scenarios involving self-tagging, such as using ender pearls.

…t/FightTask.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
})
public Notice combatNotification = BukkitNotice.builder()
.actionBar("Combat ends in: <red>{TIME}</red>")
.actionBar("Combat ends in: <red>{TIME}</red> | Enemy: <red>{OPPONENT}</red> ⚔")

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.

I don't like that you set this as the default.

The goal is clear: a simple plugin for combat tagging, with advanced options

@Rollczi Rollczi merged commit bb130ae into master Jun 7, 2026
1 check passed
@Rollczi Rollczi deleted the opponent-placeholder-in-notification branch June 7, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants