Skip to content

Add managers for Nicks and Kick messages - #52

Merged
Pugzy merged 3 commits into
bolt-rip:masterfrom
Pugzy:feat/nick-and-kick
Jul 7, 2026
Merged

Add managers for Nicks and Kick messages#52
Pugzy merged 3 commits into
bolt-rip:masterfrom
Pugzy:feat/nick-and-kick

Conversation

@Pugzy

@Pugzy Pugzy commented Jun 30, 2026

Copy link
Copy Markdown
Member

Adds two cross-service listener managers: one to strip Community nicks from match participants, one to send a rejoin message to players who are kicked mid-match.

NickManager

  • Removes a player's Community nick when they join a match as a participant
  • Uses isPluginEnabled("Community") guard via NickUtils so the plugin loads cleanly without Community present
  • Checks event.getNewParty() instanceof Competitor instead of a ranked-specific player list, making it work across all service types (RANKED, PUG, TM, DRAFT)
  • Registered globally in MatchManager rather than scoped to RankedManager

KickMessageManager

  • Sends a rejoin server message (with separators) to participants who are kicked from the server during a match
  • Registered globally in MatchManager
  • Allows players who were kicked for being idle/afk to rejoin with a message click

@Pugzy Pugzy changed the title Feat/nick and kick Add managers for Nicks and Kick messages Jun 30, 2026
@Pugzy
Pugzy merged commit 832b11d into bolt-rip:master Jul 7, 2026
1 check passed
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.

1 participant