My name includes space - How do I enter my username when typing command?

My username in Minecraft is sun solar arrow. This name includes spaces.

Situation - When I want to get OP privilege, a user who has OP privilege will enter:

/op sun solar arrow

But my username includes spaces. So it shows an error message:

Invaild syntax

How do I enter my username?

0

2 Answers

If you surround your name in quotes, the game will read it literally. That means that spaces, brackets, etc will be interpreted as their real characters rather than part of the syntax of the command.

For instance:

/op "sun solar arrow"
/tp "angussidney" ~ ~10 ~

From the server console you can do: op @p[name="solar arrow"].

2

You Might Also Like