Minecraft Whitelist: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:wiki-operator] Added the Quarry route: ACCESS > Allow list and Operators (Ryan yes 10/27)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
Line 1: Line 1:
{{#seo:|title=Minecraft Whitelist: How to Whitelist Players on Your Server|description=Set up a Minecraft whitelist: turn on white-list in server.properties, add your UUID to ops.json and whitelist.json, then add players with /whitelist.}}
{{#seo:|title=Minecraft Whitelist: How to Whitelist Players on Your Server|description=Set up a Minecraft whitelist: turn on white-list in server.properties, add your UUID to ops.json and whitelist.json, then add players with /whitelist.}}


You can set up the whitelist in '''Quarry''' in your server's '''TOOLS''' row. On its '''ACCESS''' tab, add your players to the '''Allow list''' by name, yourself included, then click '''Allow list only'''. You can make yourself an operator there too, under '''Operators'''. You can also do it over FTP.
You can set up the whitelist in '''Quarry''', the Minecraft tool in your server's '''TOOLS''' row. On its '''ACCESS''' tab, add your players to the '''Allow list''' by name, yourself included, then click '''Allow list only'''. You can make yourself an operator there too, under '''Operators'''. You can also do it over FTP.


To prevent unauthorized users from joining your server, a "white list" will need to be created.
A whitelist lets only the players you add join.


=== Adding an OP Account and Whitelist Setup ===
=== Adding an OP account and setting up the whitelist ===


An OP (Operator) account allows full access to commands within Minecraft, such as adding/removing people from the whitelist, changing the weather, time of day, etc. (For a list of commands, see the [https://minecraft.wiki/w/Commands#List_of_commands Minecraft Wiki's list of commands]). To setup yourself as an OP, you will need FTP access to the server as well as the UUID (Universally Unique IDentifier) for your account.<br>
An OP (operator) account can use every command in Minecraft, such as adding or removing people from the whitelist, or changing the weather and time of day. Full list: [https://minecraft.wiki/w/Commands#List_of_commands Minecraft Wiki's list of commands]. To make yourself an OP, you'll need FTP access to the server and your account's UUID (its unique ID).<br>
*Information on FTP access can be found on the [[FTP_Access|FTP Access]] page.<br /><br />
*How to connect: [[FTP_Access|FTP Access]].<br /><br />


----
----
Line 14: Line 14:
1. Stop your server.<br />
1. Stop your server.<br />


2. Retrieve the UUID for your account. Go to this page [https://mcuuid.net/ UUID Finder]. Type in the account name for your Minecraft account and you will see a page similar to the image below.<br /><br />
2. Get your account's UUID from [https://mcuuid.net/ UUID Finder]. Type in your Minecraft account name to see its UUID.<br /><br />
[[File:minecraft-mcuuid-lookup-2026-10.png|alt=UUID lookup website showing the player Notch with the Full UUID and Trimmed UUID fields.]]
[[File:minecraft-mcuuid-lookup-2026-10.png|alt=UUID lookup website showing the player Notch with the Full UUID and Trimmed UUID fields.]]


Copy the value for the '''Full UUID''' and place it in a notepad on your computer. We will use this later when editing the files for your server.<br /><br />
Copy the '''Full UUID''' and paste it into Notepad on your computer. You'll need it when you edit your server's files.<br /><br />


3. Once you are connected to your server via FTP, you will need to locate three files.<br>
3. Once you're connected to your server over FTP, find these three files:<br>
*server.properties - Main configuration file for your server
*server.properties: the main settings file for your server
*ops.json - The file contains information on which accounts are granted OP access.
*ops.json: which accounts have OP access.
*whitelist.json - This file contains information on who is or isn't allowed on the server.
*whitelist.json: who is or isn't allowed on the server.


4. In the '''server.properties''' file, you will need to change the value of '''white-list''' from ''false'' to ''true''.<br /><br />
4. In the '''server.properties''' file, change the value of '''white-list''' from ''false'' to ''true''.<br /><br />


[[File:MC_Whitelist.png|alt=The white-list line in server.properties changed from false to true in a text editor.]]<br /><br />
[[File:MC_Whitelist.png|alt=The white-list line in server.properties changed from false to true in a text editor.]]<br /><br />


5. In the '''ops.json''' file you will need add your UUID, name, permission level, and if you can join despite the number of players on the server. Using Notch's info, it will look like this.
5. In the '''ops.json''' file, add your UUID, name, permission level, and whether you can join when the server is full. With Notch's info, it looks like this:


<pre>
<pre>
Line 41: Line 41:
</pre>
</pre>


6. In the '''whitelist.json''' file, you will need to add your UUID and account name. Using Notch's info, it will look like this.
6. In the '''whitelist.json''' file, add your UUID and account name. With Notch's info, it looks like this:


<pre>
<pre>
Line 55: Line 55:
8. Restart the server.<br />
8. Restart the server.<br />


=== Managing Whitelist in Game ===
=== Managing the whitelist in game ===


Once you have operator permissions and are on the whitelist, you are now able to add/remove players from the whitelist with ease.<br />
Once you're an operator and on the whitelist, you can add and remove players from the whitelist in game.<br />
Adding Notch:<br />
Adding Notch:<br />
[[File:MC_Whitelist_Add.png|alt=Minecraft chat after typing /whitelist add Notch, with the game replying Added Notch to the whitelist.]]<br />
[[File:MC_Whitelist_Add.png|alt=Minecraft chat after typing /whitelist add Notch, with the game replying Added Notch to the whitelist.]]<br />
Line 64: Line 64:
[[File:MC_Whitelist_Remove.png|alt=Minecraft chat after typing /whitelist remove Notch, with the game replying Removed Notch from the whitelist.]]<br />
[[File:MC_Whitelist_Remove.png|alt=Minecraft chat after typing /whitelist remove Notch, with the game replying Removed Notch from the whitelist.]]<br />


Unless you add players to your whitelist, they will be unable to join and will receive a message indicating they are not on the whitelist.
Players you haven't added can't join, and get a message saying they're not on the whitelist.


Don't have a server yet? [https://www.survivalservers.com/services/game_servers/minecraft/ Rent a Minecraft server] from Survival Servers and be online in minutes.
[https://www.survivalservers.com/services/game_servers/minecraft/ Rent a Minecraft server] from Survival Servers and be online in minutes.

Latest revision as of 09:00, 17 November 2026


You can set up the whitelist in Quarry, the Minecraft tool in your server's TOOLS row. On its ACCESS tab, add your players to the Allow list by name, yourself included, then click Allow list only. You can make yourself an operator there too, under Operators. You can also do it over FTP.

A whitelist lets only the players you add join.

Adding an OP account and setting up the whitelist

An OP (operator) account can use every command in Minecraft, such as adding or removing people from the whitelist, or changing the weather and time of day. Full list: Minecraft Wiki's list of commands. To make yourself an OP, you'll need FTP access to the server and your account's UUID (its unique ID).


1. Stop your server.

2. Get your account's UUID from UUID Finder. Type in your Minecraft account name to see its UUID.

UUID lookup website showing the player Notch with the Full UUID and Trimmed UUID fields.

Copy the Full UUID and paste it into Notepad on your computer. You'll need it when you edit your server's files.

3. Once you're connected to your server over FTP, find these three files:

  • server.properties: the main settings file for your server
  • ops.json: which accounts have OP access.
  • whitelist.json: who is or isn't allowed on the server.

4. In the server.properties file, change the value of white-list from false to true.

The white-list line in server.properties changed from false to true in a text editor.

5. In the ops.json file, add your UUID, name, permission level, and whether you can join when the server is full. With Notch's info, it looks like this:

[
  {
    "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
    "name": "Notch",
    "level": 4,
    "bypassesPlayerLimit": false
  }
]

6. In the whitelist.json file, add your UUID and account name. With Notch's info, it looks like this:

[
  {
    "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
    "name": "Notch"
  }
]

7. Save all three files and close them.
8. Restart the server.

Managing the whitelist in game

Once you're an operator and on the whitelist, you can add and remove players from the whitelist in game.
Adding Notch:
Minecraft chat after typing /whitelist add Notch, with the game replying Added Notch to the whitelist.

Removing Notch:
Minecraft chat after typing /whitelist remove Notch, with the game replying Removed Notch from the whitelist.

Players you haven't added can't join, and get a message saying they're not on the whitelist.

Rent a Minecraft server from Survival Servers and be online in minutes.