Minecraft Whitelist: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
ColeP (talk | contribs)
Created page with " To prevent unauthorized users from joining your server, a "white list" will need to be created. A whitelist is similar to a security guard checking if your name is on the lis..."
 
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(8 intermediate revisions by 3 users not shown)
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.}}


To prevent unauthorized users from joining your server, a "white list" will need to be created. A whitelist is similar to a security guard checking if your name is on the list before you're allowed into a party. Setting up a whitelist will help prevent your server from being the victim of griefers and other unwanted guests.
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.


=== Add an OP Account to Server ===
A whitelist lets only the players you add join.


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, go [https://minecraft.gamepedia.com/Commands#List_of_commands|here].)  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>
=== Adding an OP account and setting up the whitelist ===
*Information on FTP access can be found on the [[FTP_Access|FTP Access]] page.<br /><br />
 
Follow these instructions on how to setup your account as an OP as well as setup a white-list.<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>
*How to connect: [[FTP_Access|FTP Access]].<br /><br />


----
----
Line 12: 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/|Minecraft UUID Finder]. Type in the account name for your Minecraft account and you will 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:MC_Ops.png]]
[[File:minecraft-mcuuid-lookup-2026-10.png|alt=UUID lookup website showing the player Notch with the Full UUID and Trimmed UUID fields.]]
<br />
<br />
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 />


3. Once you are connected to your server via FTP, you will need to locate three files.<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 />
*server.properties - Main configuration file for your server
*ops.json - The file contains information on which accounts are granted OP access.
*whitelist.json - This file contains information on 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 />
3. Once you're connected to your server over FTP, find these three files:<br>
*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.


[[File:MC_Whitelist.png]]<br /><br />
4. In the '''server.properties''' file, change the value of '''white-list''' from ''false'' to ''true''.<br /><br />


5. In the '''ops.json''' file you will need add the following information.
[[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, 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 40: Line 41:
</pre>
</pre>


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


<pre>
<pre>
Line 47: Line 48:
     "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
     "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
     "name": "Notch"
     "name": "Notch"
   },
   }
]
]
</pre>
</pre>
Line 54: Line 55:
8. Restart the server.<br />
8. Restart the server.<br />


=== Managing Whitelist in Game ===
=== 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.<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 />
 
Removing Notch:<br />
[[File:MC_Whitelist_Remove.png|alt=Minecraft chat after typing /whitelist remove Notch, with the game replying Removed Notch from the whitelist.]]<br />
 
Players you haven't added can't join, and get a message saying they're not on the whitelist.


Once you have operator permissions and are on the whitelist, you are now able to add/remove players from the whitelist with ease. Here's an example of adding and removing Notch from the whitelist while in the game.<br />
[https://www.survivalservers.com/services/game_servers/minecraft/ Rent a Minecraft server] from Survival Servers and be online in minutes.
<p>Adding Notch:<br />
[[File:MC_Whitelist_Add.png]]<br /></p>
<p>Removing Notch:<br />
[[File:MC_Whitelist_Remove.png]]<br /></p>

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.