Applies to: Minecraft Java on the Gravel Host Panel · Time: about 15 minutes · Difficulty: Beginner
Lock your Minecraft server down so only the people you choose can join, staff get only the commands they need, and griefing can be undone in seconds.
Operators can run any command on your server. Op yourself and almost no one else.
op PlayerName to make a player an operator. No / is needed in the console.deop PlayerName to take it back.whitelist add PlayerName
Ranks give staff the commands they need and nothing else, so you don't have to op them.
LuckPerms and click Install.lp editor.admin, moderator and player, and give each one only the permissions it needs.lp applyedits command, paste it into the Console.CoreProtect logs every block placed, broken or taken from a chest.
CoreProtect and click Install./co inspect, then click a block to see who touched it. Type /co inspect again to turn it off.co rollback u:PlayerName t:1h
1h to how far back you want to go, such as 30m or 2d.Running a bigger public server? Add an anti-cheat plugin from Plugins to catch fly and speed hacks.
Leave Allow non-premium players off. It lets people join without owning Minecraft, and anyone can join with any name, including yours. The server has no way to tell it isn't you.
Not on the Gravel Host Panel? The same setting is online-mode in server.properties. Keep it true.
Command blocks are off by default. Only operators in creative mode can place them, and each one runs commands with full power.
A player who isn't on the whitelist gets refused when they try to join. In game, /co inspect shows who placed or broke a block.
Allow non-premium players is on. Turn it off on Properties and restart. Then open ops.json in Files and remove anyone you didn't op.
The editor didn't push them to the server. Copy the lp applyedits command the editor shows and paste it into the Console.
Bedrock players join through Floodgate and need their own whitelist command: fwhitelist add PlayerName. See How to Install GeyserMC on Your Minecraft Server.
The time was too short or the name was wrong. Run co rollback again with a longer time, such as t:1d, and the exact player name.
Still stuck? Our team is on Discord, or open a ticket from the Billing Panel.