01
Console or game: where to type commands
Admin commands can be typed in two places:
- in the server console, without a slash:
op Pseudo. The console has every right: it is where you name the first operator;
- in the game chat, with a slash:
/op Pseudo, provided you are an operator yourself.
02
The whitelist
The whitelist reserves the server for the players you have added:
whitelist on
whitelist add Pseudo
whitelist remove Pseudo
whitelist list
whitelist reload
whitelist on turns it on, whitelist off turns it off;
- the list is saved in
whitelist.json; after editing the file by hand, whitelist reload reloads it;
- with
enforce-whitelist=true in server.properties, players removed from the list are kicked on reload.
03
Operators (op)
op Pseudo
deop Pseudo
An operator can use admin commands in game. Their power depends on the op-permission-level setting, from 1 to 4: at 4, they can do anything, including stopping the server. Operators are saved in ops.json.
Only make trusted people operators: an operator can break everything, or give themselves any item.
04
Kicking and banning
kick Pseudo raison
ban Pseudo raison
ban-ip Pseudo
pardon Pseudo
pardon-ip 203.0.113.42
banlist
kick removes a player without stopping them from coming back;
ban bans the account, ban-ip the IP address (useful against alt accounts, but an IP can be shared by a whole household);
pardon and pardon-ip lift a ban; bans are saved in banned-players.json and banned-ips.json.
05
Other useful commands
list: connected players;
say message: an announcement to the whole server;
gamemode creative Pseudo: changes a player's game mode;
tp Pseudo1 Pseudo2: teleports a player to another;
save-all: writes the world to disk, before a backup or a shutdown;
stop: stops the server cleanly, saving the world.
06
Precise rights with LuckPerms
Operator status is all or nothing. To let your moderators kick players without letting them change game mode, install a permissions plugin such as LuckPerms (on Paper, Purpur, Fabric or Forge): you create groups (player, moderator, administrator), give them precise permissions, and put each team member in their group. The essential Minecraft plugins guide presents LuckPerms and the other basic plugins.
07
Running your server at CloudFive
On our Minecraft plans, the console is available from the customer area, and the whitelist and operators are managed from the server page, without editing any file. The server.properties guide explains the server's other settings.
08
Frequently asked questions
How do I set up a whitelist on a Minecraft server?
Type whitelist on in the console, then whitelist add followed by each allowed player's username. In game, add a slash in front: /whitelist add Pseudo.
How do I make myself op on my Minecraft server?
From the server console, type op followed by your username, without a slash. The console has every right: it is the one that names the first operator.
What is the difference between ban and ban-ip?
ban bans the player's account; ban-ip bans their IP address, which also blocks their other accounts, but can affect other people sharing the same connection.
How do I give moderator rights without making someone op?
With a permissions plugin such as LuckPerms: you create a moderator group with only the permissions you want, then put the person in it.