HomeStart / GuidesAnleitungen / Minecraft whitelist, op and ban commands/ Minecraft: Whitelist-, Op- und Ban-Befehle

Minecraft whitelist, op and ban: the commands that keep your server yoursMinecraft-Whitelist, Op und Ban: die Befehle, mit denen Ihr Server Ihrer bleibt

Most griefing on small private servers is not a hack. It is a server that lets anyone in, or a friend who got op when they only needed to play. Four commands and three JSON files fix that.Das meiste Griefing auf kleinen privaten Servern ist kein Hack. Es ist ein Server, der jeden reinlässt, oder ein Freund, der Op bekommen hat, obwohl er nur spielen wollte. Vier Befehle und drei JSON-Dateien lösen das.

First: the whitelist is now on by defaultZuerst: Die Whitelist ist jetzt standardmäßig an

Since Java Edition 26.3, a freshly generated server.properties contains white-list=true. On a new server, nobody can join until you add them, which surprises people who expect the old behaviour. Operators are the exception: on Java Edition, ops can always connect while the whitelist is active, even if they are not on it.Seit Java Edition 26.3 enthält eine neu erzeugte server.properties den Eintrag white-list=true. Auf einem neuen Server kann also niemand beitreten, bis Sie ihn hinzufügen, und das überrascht alle, die das alte Verhalten erwarten. Operatoren sind die Ausnahme: In der Java Edition können Ops sich bei aktiver Whitelist immer verbinden, auch wenn sie nicht darauf stehen.

In the server console you type commands without the leading slash. In game, as an op, you use the slash.In der Serverkonsole tippen Sie Befehle ohne führenden Schrägstrich. Im Spiel, als Op, mit Schrägstrich.

Whitelist commandsWhitelist-Befehle

whitelist add Steve
whitelist remove Steve
whitelist list
whitelist on
whitelist off
whitelist reload

One setting changes what happens to people who are already online. With enforce-whitelist=true (default: false) and the whitelist enabled, players who are not on the list are kicked when the server reloads the whitelist. Leave it off and removing someone only stops their next join.Eine Einstellung entscheidet, was mit Leuten passiert, die schon online sind. Mit enforce-whitelist=true (Standard: false) und aktiver Whitelist werden Spieler, die nicht auf der Liste stehen, gekickt, sobald der Server die Whitelist neu lädt. Bleibt sie aus, verhindert das Entfernen nur den nächsten Beitritt.

Op: give it sparinglyOp: sparsam vergeben

op Steve
deop Steve

op adds the player to ops.json with the level set by op-permission-level in server.properties. The default is 4, the highest level, which includes server-management commands. If a friend only needs to help with building or moderation, set a lower default before you op them, or edit their level in ops.json and restart.op trägt den Spieler mit der Stufe aus op-permission-level in der server.properties in ops.json ein. Standard ist 4, die höchste Stufe, inklusive Befehlen zur Serververwaltung. Wenn ein Freund nur beim Bauen oder Moderieren helfen soll, setzen Sie vorher einen niedrigeren Standard oder ändern Sie sein level in ops.json und starten Sie neu.

Ops also bypass the whitelist, so op is effectively a key to the front door as well.Ops umgehen außerdem die Whitelist; Op ist also gleichzeitig ein Schlüssel zur Haustür.

BansBans

ban Griefer123 Destroying spawn
ban-ip 203.0.113.7
banlist players
banlist ips
pardon Griefer123
pardon-ip 203.0.113.7

A sane default for a friends serverEin vernünftiger Standard für einen Freundeserver

On overnight.hostBei overnight.host

Full disclosure: we sell game servers. Our game server plans come with a web control panel that has a live console, a file manager and scheduled tasks, and you get full access to the server files. Payment is by card (Stripe) or SEPA bank transfer, and the panel login is e-mailed to you after payment. Support is by e-mail at support@overnight.host.Offen gesagt: Wir verkaufen Gameserver. Unsere Gameserver-Pläne kommen mit einem Web-Control-Panel mit Live-Konsole, Dateimanager und geplanten Aufgaben, und Sie haben vollen Zugriff auf die Serverdateien. Bezahlt wird per Karte (Stripe) oder SEPA-Überweisung, die Panel-Zugangsdaten bekommen Sie nach der Zahlung per E-Mail. Support läuft per E-Mail an support@overnight.host.

Game server plans and current prices →Gameserver-Pläne und aktuelle Preise →

In our panel you can run all of the commands above from the live console and edit whitelist.json, ops.json and server.properties in the file manager.In unserem Panel können Sie alle Befehle oben in der Live-Konsole ausführen und whitelist.json, ops.json und server.properties im Dateimanager bearbeiten.

SourcesQuellen

Written by the person who runs overnight.host, a small hosting company. Last checked against the sources above on 29 October 2026.Geschrieben von der Person, die overnight.host betreibt, ein kleines Hosting-Unternehmen. Zuletzt am 29. Oktober 2026 mit den oben genannten Quellen abgeglichen.

Technical guidance is informational and reflects the linked sources at the time of writing; game and software defaults can change with new versions. Current plans and final prices are on the product pages.Technische Hinweise dienen der Information und geben den Stand der verlinkten Quellen zum Zeitpunkt des Schreibens wieder; Standardwerte von Spielen und Software können sich mit neuen Versionen ändern. Aktuelle Pläne und Endpreise stehen auf den Produktseiten.

FAQFAQ

I added a friend but they still get "not whitelisted".Ich habe einen Freund hinzugefügt, aber er bekommt trotzdem "not whitelisted".

Check the exact account name (online mode checks real accounts) and run whitelist list. If you edited whitelist.json by hand, run whitelist reload.Prüfen Sie den genauen Accountnamen (der Online-Modus prüft echte Accounts) und führen Sie whitelist list aus. Wenn Sie whitelist.json von Hand bearbeitet haben, führen Sie whitelist reload aus.

Do I need to whitelist myself if I am op?Muss ich mich selbst whitelisten, wenn ich Op bin?

Not on Java Edition: ops can connect while the whitelist is active. On Bedrock, every player has to be on the allowlist regardless of op status.In der Java Edition nicht: Ops können sich bei aktiver Whitelist verbinden. In Bedrock muss jeder Spieler unabhängig vom Op-Status auf der Allowlist stehen.

Why did my spawn protection stop working?Warum funktioniert mein Spawnschutz nicht mehr?

Per the Minecraft Wiki, spawn protection is disabled automatically if the server has no ops. Op yourself and it applies again.Laut Minecraft Wiki wird der Spawnschutz automatisch deaktiviert, wenn der Server keine Ops hat. Op Sie selbst, dann greift er wieder.

Want to run it with us?Wollen Sie es bei uns betreiben?

Prices are final totals; no VAT is shown (§19 UStG). Questions before you order? Email support@overnight.host.Alle Preise sind Endpreise ohne ausgewiesene USt. (§19 UStG). Fragen vor der Bestellung? Schreiben Sie an support@overnight.host.

See game server plans →Gameserver-Pläne ansehen → Ask a questionFrage stellen