ForgeWorld Gaming

Hosting guide

How to add a password to your Minecraft server

Last checked: 2026-10-06. A vanilla Minecraft: Java Edition dedicated server has no join-password setting - server.properties has no key that asks players for a password when they connect. The supported equivalent is the whitelist: turn it on with /whitelist on, add your players with /whitelist add, and the server refuses everyone who is not on the list.

Updated 6 October 2026

See available Minecraft plans

Why there is no password field

Java Edition's server.properties has no join-password key. The server.properties reference covers the whole file, and the only password in it is rcon.password - "The password for rcon." RCON is console access, not a gate at the door: enable-rcon is "Whether to enable rcon, which allows access to the server console over a network", and rcon.port is "The TCP port number rcon listens on." Setting a RCON password does not restrict who can join the server - it protects the remote console itself, and the reference's day-one advice is to leave enable-rcon off unless you need it.

What Java Edition does have is account verification. online-mode (default true) is "Whether to only allow players verified with the Minecraft account database to join" - it is what keeps uninvited, unverified accounts out. A shared join password can leak and be passed around; a whitelist of verified accounts is tied to each player's own account.

The whitelist is the password equivalent

The whitelist answers the actual question - keep strangers out while your friends get in:

  • Run /whitelist on from the server console, or set white-list=true in server.properties and restart the server. As of Java 26.3 (snapshot 2), white-list is true by default - "The white-list property is now true by default" - while servers on older versions default to false.
  • Add your players with /whitelist add <targets>; they do not need to be online to be added.
  • With the whitelist enabled, "users not on the whitelist cannot connect."
  • Keep online-mode=true so a whitelist entry matches a real, verified account.

Two keys whose names ask to be confused: white-list is the one that enables the whitelist. enforce-whitelist (default false) enables nothing - it decides whether players who are already online and not on the list are kicked when the whitelist is reloaded.

One bypass worth knowing before you rely on the list alone: Java Edition operators can connect even if not whitelisted. The ban list also overrides the whitelist - anyone on it is blocked from connecting, whatever the list says.

Managing the list

Entries live in whitelist.json in the server root, each with two fields: uuid - "The UUID of the player, in hyphenated hexadecimal format", dashes included - and name. Edit the file by hand while the server runs and the change is not picked up on its own: run /whitelist reload, which "refreshes the profile list from disk, used when whitelist.json has been modified outside of Minecraft." /whitelist remove <targets> takes a player off the list, and /whitelist list shows who is on it.

Paper and Bedrock

Paper changes none of this: PaperMC's getting-started documentation (page last updated September 18, 2026) records no differences from vanilla for /whitelist or whitelist.json, or for the white-list, enforce-whitelist and op-permission-level keys. Bedrock Edition is a separate edition with its own allowlist - the command is /allowlist, the file is allowlist.json, and the properties key is allow-list.

The command-by-command reference for everything on this page is the whitelist, op and ban commands guide, which also covers the permission levels these commands require. Password-protect or whitelist your server covers the games that do have join passwords, and the Minecraft availability page carries current plans if you would rather not run the server yourself.

ForgeWorld Gaming current order availability: Minecraft (Paper, Vanilla and Forge) Standard: 8–56 player slots at CA$9.89–CA$69.23/month; Terraria Standard: 4–24 player slots at CA$8.99–CA$16.99/month; Valheim Standard: 3–10 player slots at CA$11.99–CA$17.99/month; Garry’s Mod Standard: 8–56 player slots at CA$9.89–CA$69.23/month; Factorio Standard: 8–24 player slots at CA$9.99–CA$13.99/month; Palworld Standard: 4–8 player slots at CA$12.99–CA$16.99/month; Enshrouded Standard: 4–6 player slots at CA$11.99–CA$13.99/month; Satisfactory Standard: 4–6 player slots at CA$14.99–CA$18.99/month; Conan Exiles Standard: 8 player slots at CA$15.99/month; 7 Days to Die Standard: 4–8 player slots at CA$10.99–CA$15.99/month; Rust Standard: 50 player slots at CA$19.99/month; Project Zomboid Standard: 8 player slots at CA$13.99/month; ARK Standard: 10 player slots at CA$19.99/month. Other game orders and other sizes and qualities are temporarily paused. Hosted in Chicago, Illinois, United States. Prices are in Canadian dollars, with no setup fee and cancel any time. Your server is set up automatically after payment. Check the current Minecraft availability, Terraria availability, Valheim availability, Garry’s Mod availability, Factorio availability, Palworld availability, Enshrouded availability, Satisfactory availability, Conan Exiles availability, 7 Days to Die availability, Rust availability, Project Zomboid availability and ARK availability, or browse game availability before planning a purchase.

Common questions

Can I set a password players must type to join my Minecraft server?

No. Vanilla Minecraft: Java Edition has no join-password setting at all - there is no server.properties entry for one and no command that sets one. The whitelist is the supported way to keep strangers out: with the whitelist enabled, "users not on the whitelist cannot connect". Pair it with online-mode=true so a whitelist entry matches a real, verified account.

What is rcon.password in server.properties?

"The password for rcon." RCON is console access, not a gate at the door: enable-rcon is "Whether to enable rcon, which allows access to the server console over a network", and rcon.port is "The TCP port number rcon listens on." Setting it does not restrict who can join the server - it protects the remote console itself. The server.properties reference's day-one advice is to leave enable-rcon off unless you need it.

How do I turn on the whitelist on a Minecraft server?

Run /whitelist on from the server console, or set white-list=true in server.properties and restart. Note the default changed: as of Java 26.3 (snapshot 2) white-list is true by default - "The white-list property is now true by default" - while servers on older versions default to false. The separate enforce-whitelist key (default false) does not enable the whitelist; it controls whether players already online and not on the whitelist are kicked when the whitelist is reloaded.

How do I add someone to the Minecraft whitelist?

/whitelist add <targets> - players do not need to be online to be added or removed. The entry lands in whitelist.json in the server root as a uuid ("The UUID of the player, in hyphenated hexadecimal format", dashes included) plus a name. If you edit whitelist.json by hand while the server runs, run /whitelist reload, which "refreshes the profile list from disk, used when whitelist.json has been modified outside of Minecraft". Java Edition ops can connect even if not whitelisted.

Does Paper or Bedrock Edition support join passwords?

Paper adds no join password: PaperMC's getting-started documentation (page last updated September 18, 2026) records no differences from vanilla for the whitelist commands, whitelist.json or the white-list, enforce-whitelist and op-permission-level keys. Bedrock Edition is a separate edition with its own allowlist - the command is /allowlist, the file is allowlist.json, and the server.properties equivalent is the allow-list key.

Sources

Check current order availability. Minecraft (Paper, Vanilla and Forge) Standard: 8–56 player slots at CA$9.89–CA$69.23/month; Terraria Standard: 4–24 player slots at CA$8.99–CA$16.99/month; Valheim Standard: 3–10 player slots at CA$11.99–CA$17.99/month; Garry’s Mod Standard: 8–56 player slots at CA$9.89–CA$69.23/month; Factorio Standard: 8–24 player slots at CA$9.99–CA$13.99/month; Palworld Standard: 4–8 player slots at CA$12.99–CA$16.99/month; Enshrouded Standard: 4–6 player slots at CA$11.99–CA$13.99/month; Satisfactory Standard: 4–6 player slots at CA$14.99–CA$18.99/month; Conan Exiles Standard: 8 player slots at CA$15.99/month; 7 Days to Die Standard: 4–8 player slots at CA$10.99–CA$15.99/month; Rust Standard: 50 player slots at CA$19.99/month; Project Zomboid Standard: 8 player slots at CA$13.99/month; ARK Standard: 10 player slots at CA$19.99/month. Other game orders and other sizes and qualities are temporarily paused. Check game availability before ordering. After payment. Your server is set up automatically after payment. Prices are in Canadian dollars, there is no setup fee, and you can cancel any time.

See available Minecraft plans

Questions this guide did not answer? Email support@fwg.world for pre-sales help. No account or payment is required.