Minecraft Administration: Difference between revisions
m Add link to the game service page (internal linking sweep) |
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description |
||
| Line 1: | Line 1: | ||
Minecraft administration can be done in many forms and the three most basic ways to do this is by setting up OP / Admin users, maintaining a whitelist, and maintaining a blacklist. | {{#seo: | ||
|title=Minecraft Server Admin: OP Players and Set Up a Whitelist | |||
|description=Make yourself OP on a Minecraft Java or Bedrock server, turn on the whitelist, and edit ops.json and whitelist.json with working examples. | |||
}} | |||
Minecraft administration can be done in many forms and the three most basic ways to do this is by setting up OP / Admin users, maintaining a whitelist, and maintaining a blacklist. | |||
=== Setting up OP / Admin Users === | === Setting up OP / Admin Users === | ||
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, | 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 Minecraft Wiki's commands page]). To setup yourself as an OP, you will need FTP access to the server (or the '''File Manager''' in your server's '''TOOLS''' row) as well as the UUID (Universally Unique IDentifier) for your account. | ||
*Or use the '''ACCESS''' tab in '''Quarry''' (your server's '''TOOLS''' row) to make players operators and add them to the allow list (whitelist) by name. | |||
*Information on FTP access can be found on the [[FTP_Access|FTP Access]] page.<br /><br /> | *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 /> | Follow these instructions on how to setup your account as an OP as well as setup a white-list.<br /> | ||
| Line 10: | Line 15: | ||
#Stop your server.<br /> | #Stop your server.<br /> | ||
#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 a page similar to the image below.<br /><br /> | #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 /> | ||
#:[[File: | #:[[File:minecraft-mcuuid-lookup-2026-10.png|alt=The mcuuid.net lookup for the player Notch, showing his Full UUID and Trimmed UUID.]] | ||
#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 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 /> | ||
#You will need to open the following file in your FTP folder: | #You will need to open the following file in your FTP folder: | ||
#*ops.json - The file contains information on which accounts are granted OP / Admin access. | #*ops.json - The file contains information on which accounts are granted OP / Admin access. | ||
#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.<br> | #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.<br> | ||
#:[[File:Screenshot_2023-03-02_085438.png]] | #:[[File:Screenshot_2023-03-02_085438.png|alt=ops.json with one operator, Notch, listing his uuid, name, level 4 and bypassesPlayerLimit false.]] | ||
#Adding multiple admins will look like this.<br> | #Adding multiple admins will look like this.<br> | ||
#:[[File:Screenshot_2023-03-02_085912.png|450px]] | #:[[File:Screenshot_2023-03-02_085912.png|450px|alt=ops.json with two operator blocks separated by a comma, each with a uuid, name, level and bypassesPlayerLimit line.]] | ||
#Once you are done making changes, save the file, and start the server up. | #Once you are done making changes, save the file, and start the server up. | ||
| Line 25: | Line 30: | ||
#Head in game and log into the server. | #Head in game and log into the server. | ||
#Grab your username that is used in game.<br /> | #Grab your username that is used in game.<br /> | ||
# | #Open '''Quarry''' in the '''TOOLS''' row on your server's page and click the '''CONSOLE''' tab | ||
#Type '''op @p[name="Player Name Here"]''' (replace Player Name Here with your in game Username).<br /> | #Type '''op @p[name="Player Name Here"]''' (replace Player Name Here with your in game Username).<br /> | ||
#Hit enter and you are now OP on bedrock. | #Hit enter and you are now OP on bedrock. | ||
| Line 32: | Line 37: | ||
:1. Log into your FTP client<br /> | :1. Log into your FTP client<br /> | ||
:2. Edit or create the ''' | :2. Edit or create the '''permissions.json''' file.<br /> | ||
:3. Add the following code ( | :3. Add the following code, with the player's xuid in place of the x's (the xuid is their Xbox account number; it shows on their player card in Quarry's '''Who is playing''' list while they are on the server)<br /> | ||
<pre> | <pre> | ||
[ | [ | ||
{ | { | ||
" | "permission": "operator", | ||
" | "xuid": "2535xxxxxxxxxxxx" | ||
} | } | ||
] | ] | ||
| Line 57: | Line 60: | ||
2. In the '''server.properties''' file, you will need to change the value of '''white-list''' from ''false'' to ''true''.<br /><br /> | 2. In the '''server.properties''' file, you will need to change the value of '''white-list''' from ''false'' to ''true''.<br /><br /> | ||
[[File:MC_Whitelist.png]]<br /><br /> | [[File:MC_Whitelist.png|alt=server.properties open in a text editor, with the white-list line changed from false to true.]]<br /><br /> | ||
In the '''whitelist.json''' file, you will need to add your UUID and account name. Using Notch's info, it will look like this. | In the '''whitelist.json''' file, you will need to add your UUID and account name. Using Notch's info, it will look like this. | ||
| Line 66: | Line 69: | ||
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", | "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", | ||
"name": "Notch" | "name": "Notch" | ||
} | } | ||
] | ] | ||
</pre> | </pre> | ||
=== Managing Whitelists and Blacklists in Game === | === Managing Whitelists and Blacklists in Game === | ||
| Line 76: | Line 77: | ||
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 /> | 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 /> | ||
Adding Notch:<br /> | Adding Notch:<br /> | ||
[[File:MC_Whitelist_Add.png]]<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 /> | Removing Notch:<br /> | ||
[[File:MC_Whitelist_Remove.png]]<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. | |||
----- | ----- | ||
(This information is setting up OP via RCON instead of FTP | (This information is setting up OP via RCON instead of FTP.) | ||
=== How to OP your character === | === How to OP your character === | ||
# You will want to first get a working rcon tool for minecraft | # You will want to first get a working rcon tool for minecraft | ||
## More info related to this topic [ | ## More info related to this topic on the [[McRcon|McRcon page]] | ||
# Once you are logged into your Rcon tool type the following into it | # Once you are logged into your Rcon tool type the following into it | ||
## | ## op Username (with username being the name your character uses in game) | ||
## Example: | ## Example: op SurvivalServers | ||
# Once you run this command in the rcon window it will then spit back text stating your player is now OP'd | # Once you run this command in the rcon window it will then spit back text stating your player is now OP'd | ||
# Log in game and test out some admin commands | # Log in game and test out some admin commands | ||
Need a host? [https://www.survivalservers.com/services/game_servers/minecraft/ Minecraft server hosting] from Survival Servers comes with instant setup and 24/7 support. | Need a host? [https://www.survivalservers.com/services/game_servers/minecraft/ Minecraft server hosting] from Survival Servers comes with instant setup and 24/7 support. | ||
Revision as of 20:39, 14 October 2026
Minecraft administration can be done in many forms and the three most basic ways to do this is by setting up OP / Admin users, maintaining a whitelist, and maintaining a blacklist.
Setting up OP / Admin Users
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 Minecraft Wiki's commands page). To setup yourself as an OP, you will need FTP access to the server (or the File Manager in your server's TOOLS row) as well as the UUID (Universally Unique IDentifier) for your account.
- Or use the ACCESS tab in Quarry (your server's TOOLS row) to make players operators and add them to the allow list (whitelist) by name.
- Information on FTP access can be found on the FTP Access page.
Follow these instructions on how to setup your account as an OP as well as setup a white-list.
--
- Stop your server.
- Retrieve the UUID for your account. Go to this page UUID Finder. Type in the account name for your Minecraft account and you will see a page similar to the image below.
- 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.
- You will need to open the following file in your FTP folder:
- ops.json - The file contains information on which accounts are granted OP / Admin access.
- 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.
- Adding multiple admins will look like this.
- Once you are done making changes, save the file, and start the server up.
Bedrock OP
- Make sure your server is running.
- Head in game and log into the server.
- Grab your username that is used in game.
- Open Quarry in the TOOLS row on your server's page and click the CONSOLE tab
- Type op @p[name="Player Name Here"] (replace Player Name Here with your in game Username).
- Hit enter and you are now OP on bedrock.
To manually set your OP status. Use the guide below.
- 1. Log into your FTP client
- 2. Edit or create the permissions.json file.
- 3. Add the following code, with the player's xuid in place of the x's (the xuid is their Xbox account number; it shows on their player card in Quarry's Who is playing list while they are on the server)
[
{
"permission": "operator",
"xuid": "2535xxxxxxxxxxxx"
}
]
- 4. Save the file and re upload
- 5. Restart your server.
Whitelisting
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.
1. Once you are connected to your server via FTP, you will need to locate two files.
- server.properties - Main configuration file for your server
- whitelist.json - This file contains information on who is or isn't allowed on the server.
2. In the server.properties file, you will need to change the value of white-list from false to true.
In the whitelist.json file, you will need to add your UUID and account name. Using Notch's info, it will look like this.
[
{
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"name": "Notch"
}
]
Managing Whitelists and Blacklists 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. Here's an example of adding and removing Notch from the whitelist while in the game.
Adding Notch:

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.
(This information is setting up OP via RCON instead of FTP.)
How to OP your character
- You will want to first get a working rcon tool for minecraft
- More info related to this topic on the McRcon page
- Once you are logged into your Rcon tool type the following into it
- op Username (with username being the name your character uses in game)
- Example: op SurvivalServers
- Once you run this command in the rcon window it will then spit back text stating your player is now OP'd
- Log in game and test out some admin commands
Need a host? Minecraft server hosting from Survival Servers comes with instant setup and 24/7 support.



