Skip to content

fix: allow /bypass command for unauthenticated players#77

Merged
DIodide merged 1 commit into
stagingfrom
fix/bypass-command-blocked
Mar 23, 2026
Merged

fix: allow /bypass command for unauthenticated players#77
DIodide merged 1 commit into
stagingfrom
fix/bypass-command-blocked

Conversation

@DIodide

@DIodide DIodide commented Mar 23, 2026

Copy link
Copy Markdown
Member

Summary

  • /bypass was being blocked by the PlayerCommandPreprocessEvent handler because it only allowed /login and /re through for unauthenticated players
  • Adds /bypass to the command allowlist so operators can use it before logging in
  • Removes dead /login check from the AsyncPlayerChatEvent handler (chat messages never start with /)
  • Makes command matching case-insensitive

Test plan

  • Deployed to Fast Dev server and verified /bypass works for unauthenticated players

🤖 Generated with Claude Code

The command preprocess handler was blocking all commands except /login
and /re for unauthenticated players, which prevented /bypass from
executing. Also removes dead /login check from the chat handler (chat
messages never start with /) and makes command matching case-insensitive.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@DIodide DIodide merged commit 5e84210 into staging Mar 23, 2026
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