The short answer
With whitelist on and whitelist add <player> you only let invited players onto your Minecraft server. You grant full admin rights with op <player> – for everything in between (moderators, builders, VIPs) you use the permissions plugin LuckPerms. In the console you type commands without a slash, in game with one.
For project servers such as an SMP, this combination is the standard. You'll find a suitable Paper server under Minecraft server hosting; our plugin guide shows how to install plugins like LuckPerms.
Set up the whitelist
whitelist on
whitelist add PlayerName
whitelist remove PlayerName
whitelist listTo make it permanent, set it in server.properties:
white-list=true
enforce-whitelist=trueWith enforce-whitelist=true, players who are not (or no longer) on the list are kicked when the whitelist is reloaded. If you edit whitelist.json directly, reload it with whitelist reload.
Grant OP rights deliberately
OP gives a player access to all Vanilla commands. The level is set by op-permission-level in server.properties (default 4 = everything, including stopping the server).
| Level | Allows |
|---|---|
| 1 | Bypass spawn protection |
| 2 | Cheat commands like /gamemode, /tp, /give |
| 3 | Moderation: /kick, /ban, /op |
| 4 | Everything, including /stop and /save-all |
Grant OP sparingly – ideally only to yourself. For a team with different roles, LuckPerms is much safer.
Permissions and groups with LuckPerms
lp creategroup moderator
lp group moderator permission set essentials.kick true
lp group moderator permission set essentials.mute true
lp creategroup admin
lp group admin parent add moderator
lp user PlayerName parent add moderatorThis way the admin group inherits all moderator permissions and gets its own on top. New players automatically land in the default group – set the base permissions there. It's more convenient with lp editor: the command creates a link to the web editor where you edit groups with a few clicks.
FAQ
What's the difference between OP and LuckPerms?
OP is an all-or-nothing switch for Vanilla commands. LuckPerms grants individual permissions to groups – ideal for moderators, builders or ranks.
Does the whitelist work with name changes?
Yes. The whitelist stores the account's UUID, not just the name. A renamed player stays allowed.
How do I remove OP rights?
With deop <player> in the console or in game.
Do I need a database for LuckPerms?
No. By default LuckPerms stores data in a local file. A database such as MariaDB is only worth it when several servers should share the same permissions.
Was this post helpful?
MagicHosting – Hosting with real value
Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.
- Current limited offers from our server exchange
- Affordable domains with transparent pricing and great offers
- Powerful DDoS protection for maximum availability
- Personal support when you have questions or issues