← All guides

Whitelist, ops and server.properties

Type these commands in the panel's Console without the /, or in game with the / if you're an op.

Make someone an op (admin)

op PlayerName
deop PlayerName

Ops can use every command. For finer control (moderators who can kick but not give items, for example), use the LuckPerms plugin instead (see Install plugins).

Whitelist: only let invited players join

whitelist on
whitelist add PlayerName
whitelist remove PlayerName
whitelist list
whitelist off

Ops can always join, even if they're not on the whitelist. To kick players who are online when you remove them from the list, set enforce-whitelist=true in server.properties.

Ban and kick

kick PlayerName reason
ban PlayerName reason
pardon PlayerName

Useful server.properties settings

Open Files → server.properties, change values, press Save Content, and restart the server.

  • motd: the message under your server's name in the server list
  • difficulty: peaceful, easy, normal or hard
  • gamemode: survival, creative, adventure or spectator for new players
  • pvp: true or false
  • max-players: how many can be online at once
  • view-distance and simulation-distance: lower numbers mean less lag (see Fix lag)
  • level-name: the world folder to load (see Upload a world)
  • level-seed: the seed for a new world. Only applies when a world is first created.
  • spawn-protection: radius around spawn only ops can build in (0 turns it off)
  • online-mode: keep this true. It checks that players own Minecraft and protects ops' accounts from being impersonated. Bedrock players through Floodgate don't need it turned off.

Don't change server-port or server-ip. The panel sets them every time the server starts.

Start a fresh world

Stop the server, rename or delete the world, world_nether and world_the_end folders, optionally set a new level-seed, and start again. Make a backup first if you might want the old world back.

Stuck?

Open a ticket in the client area and tell us what you've tried. We'll point you in the right direction.

Open a ticket