Bedrock has no ban
This is the first thing to know, especially coming from Java: a Bedrock server has no ban command at all. There's no ban and no banned-players list. You get two things:
- Kick (
kick): removes a player now, but they can walk straight back in. - The allowlist: this is your real way to keep someone out.
The allowlist
Once it's on, nobody joins your server unless their name is on it. So to keep a player out: turn the list on, and make sure their name isn't on it.
allowlist on
And to add someone:
allowlist add PlayerName
The name you type is the player's gamertag. If it has a space in it, wrap it in quotes.
Operators
An operator is a player who can run admin commands in game. While the server is running, one command does it:
op PlayerName
Because it's stored by account id, a player who changes their gamertag keeps their permissions.
Did this guide help you?
Improve this guide
Guides are open source. Found a fix or an addition? Open a pull request on github.com/serverkgg/minecraft-bedrock