Minecraft Administration: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Cut filler: notes about the page itself, repeated lines, empty phrases and decorative pictures (Ryan 2026-10-15)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
Line 3: Line 3:
|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.
|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.
The three basic parts of Minecraft server admin are setting up OP / Admin users, keeping a whitelist and keeping 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, 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.
An OP (Operator) account can use every command in Minecraft, such as adding or removing people from the whitelist and changing the weather or time of day. (For a list of commands, see the [https://minecraft.wiki/w/Commands Minecraft Wiki's commands page].) To make yourself an OP, you need FTP access to the server, or the '''File Manager''' in your server's '''TOOLS''' row. You also need your account's UUID (Universally Unique IDentifier).
*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.
*Or use the '''ACCESS''' tab in '''Quarry''', the Minecraft tool in 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 />
*How to connect: [[FTP_Access|FTP Access]].<br /><br />


--
--


#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 see a page similar to the image below.<br /><br />
#Find the UUID for your account with [https://mcuuid.net/ UUID Finder]. Type your Minecraft account name, and the page shows your Full UUID and Trimmed UUID.<br /><br />
#:[[File:minecraft-mcuuid-lookup-2026-10.png|alt=The mcuuid.net lookup for the player Notch, showing his Full UUID and Trimmed UUID.]]
#:[[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 '''Full UUID''' and paste it into Notepad on your computer. You'll need it when you edit your server's files.<br /><br />
#You will need to open the following file in your FTP folder:
#Open this file in your server's folder over FTP:
#*ops.json - The file contains information on which accounts are granted OP / Admin access.
#*ops.json: lists which accounts have 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, add your UUID, name, permission level, and whether you can join when the server is full. Here's an example with Notch's info:<br>
#:[[File:Screenshot_2023-03-02_085438.png|alt=ops.json with one operator, Notch, listing his uuid, name, level 4 and bypassesPlayerLimit false.]]
#:[[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>
#For more than one admin, add a block for each one, separated by a comma:<br>
#:[[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.]]
#:[[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.
#Save the file and start the server.


=== Bedrock OP ===
=== Bedrock OP ===
#Make sure your server is running.<br />
#Make sure your server is running.<br />
#Head in game and log into the server.
#Join the server in game.
#Grab your username that is used in game.<br />
#Note your in-game username.<br />
#Open '''Quarry''' in the '''TOOLS''' row on your server's page and click the '''CONSOLE''' tab
#Open '''Quarry''' in the '''TOOLS''' row on the Game Server 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.
#Press Enter. You're now OP on Bedrock.


To manually set your OP status. Use the guide below.<br />
To set your OP status in the files instead:<br />


:1. Log into your FTP client<br />
:1. Log in with an FTP program (FileZilla).<br />
:2. Edit or create the '''permissions.json''' file.<br />
:2. Edit or create the '''permissions.json''' file.<br />
: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 />
:3. Add the following code, with the player's xuid in place of the x's (the xuid is their Xbox account number, shown on their player card in Quarry's '''Who is playing''' list while they're on the server)<br />
<pre>
<pre>
[
[
Line 46: Line 46:
]
]
</pre>
</pre>
:4. Save the file and re upload<br />
:4. Save the file and upload it again.<br />
:5. Restart your server.<br />
:5. Restart your server.<br />


=== Whitelisting ===
=== Whitelisting ===


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.


1. Once you are connected to your server via FTP, you will need to locate two files.<br>
1. Connect to your server over FTP and find these two files:<br>
*server.properties - Main configuration file for your server
*server.properties: your server's main settings file
*whitelist.json - This file contains information on who is or isn't allowed on the server.
*whitelist.json: lists who is and 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''.<br /><br />
2. In the '''server.properties''' file, change '''white-list''' from ''false'' to ''true''.<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 />
[[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, add your UUID and account name. Here's an example with Notch's info:


<pre>
<pre>
Line 72: Line 72:
</pre>
</pre>


=== Managing Whitelists and Blacklists in Game ===
=== 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.<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 81: Line 81:
[[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 to the whitelist can't join, and they get a message saying they're not on the whitelist.


-----
-----
Line 87: Line 87:
=== How to OP your character ===
=== How to OP your character ===


# You will want to first get a working rcon tool for minecraft
# First, get a working RCON tool for Minecraft.
## More info related to this topic on the [[McRcon|McRcon page]]
## How to set one up: [[McRcon|McRcon]].
# Once you are logged into your Rcon tool type the following into it
# Once you're logged in to your RCON tool, type:
## op Username (with username being the name your character uses in game)
## op Username (Username is your character's name in game)
## Example: op SurvivalServers
## 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
# The RCON window replies that your player is now OP'd.
# Log in game and test out some admin commands
# Join the game and try 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.
[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 09:00, 17 November 2026

The three basic parts of Minecraft server admin are setting up OP / Admin users, keeping a whitelist and keeping a blacklist.

Setting up OP / Admin Users

An OP (Operator) account can use every command in Minecraft, such as adding or removing people from the whitelist and changing the weather or time of day. (For a list of commands, see the Minecraft Wiki's commands page.) To make yourself an OP, you need FTP access to the server, or the File Manager in your server's TOOLS row. You also need your account's UUID (Universally Unique IDentifier).

  • Or use the ACCESS tab in Quarry, the Minecraft tool in your server's TOOLS row, to make players operators and add them to the allow list (whitelist) by name.
  • How to connect: FTP Access.

--

  1. Stop your server.
  2. Find the UUID for your account with UUID Finder. Type your Minecraft account name, and the page shows your Full UUID and Trimmed UUID.

    The mcuuid.net lookup for the player Notch, showing his Full UUID and Trimmed UUID.
  3. Copy the Full UUID and paste it into Notepad on your computer. You'll need it when you edit your server's files.

  4. Open this file in your server's folder over FTP:
    • ops.json: lists which accounts have OP / Admin access.
  5. In the ops.json file, add your UUID, name, permission level, and whether you can join when the server is full. Here's an example with Notch's info:
    ops.json with one operator, Notch, listing his uuid, name, level 4 and bypassesPlayerLimit false.
  6. For more than one admin, add a block for each one, separated by a comma:
    ops.json with two operator blocks separated by a comma, each with a uuid, name, level and bypassesPlayerLimit line.
  7. Save the file and start the server.

Bedrock OP

  1. Make sure your server is running.
  2. Join the server in game.
  3. Note your in-game username.
  4. Open Quarry in the TOOLS row on the Game Server page and click the CONSOLE tab.
  5. Type op @p[name="Player Name Here"] (replace Player Name Here with your in-game username).
  6. Press Enter. You're now OP on Bedrock.

To set your OP status in the files instead:

1. Log in with an FTP program (FileZilla).
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, shown on their player card in Quarry's Who is playing list while they're on the server)
[
  {
    "permission": "operator",
    "xuid": "2535xxxxxxxxxxxx"
  }
]
4. Save the file and upload it again.
5. Restart your server.

Whitelisting

A whitelist lets only the players you add join.

1. Connect to your server over FTP and find these two files:

  • server.properties: your server's main settings file
  • whitelist.json: lists who is and isn't allowed on the server.

2. In the server.properties file, change white-list from false to true.

server.properties open in a text editor, with the white-list line changed from false to true.

In the whitelist.json file, add your UUID and account name. Here's an example with Notch's info:

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

Managing whitelists and blacklists 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 to the whitelist can't join, and they get a message saying they're not on the whitelist.


How to OP your character

  1. First, get a working RCON tool for Minecraft.
    1. How to set one up: McRcon.
  2. Once you're logged in to your RCON tool, type:
    1. op Username (Username is your character's name in game)
    2. Example: op SurvivalServers
  3. The RCON window replies that your player is now OP'd.
  4. Join the game and try some admin commands.

Minecraft server hosting from Survival Servers comes with instant setup and 24/7 support.