NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com

Difference between revisions of "Minecraft Administration"

From Survival Servers
Jump to navigation Jump to search
m
 
(9 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
#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.
+
#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]]
 +
#Adding multiple admins will look like this.<br>
 +
#:[[File:Screenshot_2023-03-02_085912.png|450px]]
 +
#Once you are done making changes, save the file, and start the server up.
 +
 
 +
=== Bedrock OP ===
 +
#Make sure your server is running.<br />
 +
#Head in game and log into the server.
 +
#Grab your username that is used in game.<br />
 +
#Log into your rcon or open the cmd window for the server
 +
#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.
 +
 
 +
To manually set your OP status. Use the guide below.<br />
 +
 
 +
:1. Log into your FTP client<br />
 +
:2. Edit or create the '''op.json''' file.<br />
 +
:3. Add the following code (uuid can be found in the cmd window when a player joins)<br />
 
<pre>
 
<pre>
 
[
 
[
Line 26: Line 44:
 
]
 
]
 
</pre>
 
</pre>
6. Once you are done making changes, save the file, and start the server up.
+
:4. Save the file and re upload<br />
 
+
:5. Restart your server.<br />
=== Bedrock OP ===
 
#Make sure your server is running.<br />
 
#Head in game and log into the server.
 
#Grab your username that is used in game.<br />
 
#Log into your rcon or open the cmd window for the server
 
#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.
 
  
 
=== Whitelisting ===
 
=== Whitelisting ===

Latest revision as of 06:05, 2 March 2023

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. - Other administrative techniques and examples will be coming soon!

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, go 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.

  • 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.

--

  1. Stop your server.
  2. Retrieve the UUID for your account. Go to this page UUID Finder. Type in the account name for your Minecraft account and you will a page similar to the image below.

    MC Ops.png
  3. 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.

  4. 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.
  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.
    Screenshot 2023-03-02 085438.png
  6. Adding multiple admins will look like this.
    Screenshot 2023-03-02 085912.png
  7. Once you are done making changes, save the file, and start the server up.

Bedrock OP

  1. Make sure your server is running.
  2. Head in game and log into the server.
  3. Grab your username that is used in game.
  4. Log into your rcon or open the cmd window for the server
  5. Type op @p[name="Player Name Here"] (replace Player Name Here with your in game Username).
  6. 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 op.json file.
3. Add the following code (uuid can be found in the cmd window when a player joins)
[
  {
    "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
    "name": "Notch",
    "level": 4,
    "bypassesPlayerLimit": false
  }
]
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.

MC Whitelist.png

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"
  },
]

Blacklisting

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:
MC Whitelist Add.png

Removing Notch:
MC Whitelist Remove.png


Please note that 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 and will be completed and merged into the information above soon)

How to OP your character

  1. You will want to first get a working rcon tool for minecraft
    1. More info related to this topic Here
  2. Once you are logged into your Rcon tool type the following into it
    1. OP Username (with username being the name your character uses in game)
    2. Example: OP SurvivalServers
  3. Once you run this command in the rcon window it will then spit back text stating your player is now OP'd
  4. Log in game and test out some admin commands


Share your opinion