Match the account mode on your server
Open server.properties and find online-mode. If it is true, pick Online accounts under Server account mode. Enter the Java usernames your friends use to join. Build whitelist looks up each account and uses the spelling stored on that profile.
If online-mode is false, pick Offline names. Copy the names exactly, including capital letters. For example, CaveExplorer and caveexplorer count as two players in this mode. Check the server setting before you build the file so the list uses the IDs your server expects.
Check who is on the list
Paste names into Player names. Put each name on its own line, or separate names with commas. Repeat names appear once in the preview. In online mode, names that could not be verified appear below the preview. Check their spelling and build again before you replace your server file.
A new download contains only the entries in the preview. If you already have players on the server, save a copy of the old whitelist.json and include anyone you want to keep before replacing it.
Load the list on your server
- Press Download whitelist and place
whitelist.jsonnext toserver.properties. On a hosted server, upload it through your file manager. - Restart the server or run
whitelist reloadfrom its console. Usewhitelist onto turn the list on if it is off. - Run
whitelist listand check that your friends are listed. If a player still cannot join, compare their current Java name and your server's account mode with the choices you used to build the file.