Skip to content

Title: /email add command incorrectly parses @ as target selector #3027

@Cotton-seed

Description

@Cotton-seed

What feature do you want to see added?

Description:

When using AuthMeReloaded 6.0.0-R1, the /email add command incorrectly treats the @ character in email addresses as a Minecraft target selector (e.g. @A, @p, @s).

Steps to reproduce:
Join the server

Run:

/email add test@example.com
The command fails because @example.com is interpreted as a target selector instead of a string.
Expected behavior:

The command should treat the entire email address as a plain string argument, including the @ character.

Actual behavior:

The @ symbol is parsed as a target selector by Minecraft’s command system, causing the command to break or behave incorrectly.

Notes:

This appears to be related to Minecraft’s Brigadier command parser interpreting @ as a special selector token, even inside email input fields.

Suggested improvement:

Please ensure the email argument is handled as a fully quoted or raw string to prevent parsing of special selector syntax, or explicitly escape/disable selector parsing for this argument.

I am a user from China and not very fluent in English, so I used GPT to help me write this suggestion.

Are there any alternatives?

What we tried (vanilla-side only):

We attempted several solutions using only vanilla Minecraft command behavior on a server running Leaf (a Paper-based Minecraft server fork optimized for multithreading performance):

Using quotes:

/email add "test@example.com"

Escaping the @ symbol:

/email add test@example.com
Testing different plain input variations without plugins or command modifications.

All of these attempts still result in the @ character being interpreted by Minecraft’s command parser as a selector-related token, or the command failing entirely.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions