# How to Set Up Whitelisting on Your Minecraft Server

Whitelisting is a powerful feature in Minecraft that restricts access to your server to only those players who are specifically allowed. This helps keep your server secure and ensures that only trusted players can join. This guide will walk you through the steps to set up whitelisting and whitelist players on your Minecraft server hosted by Ridgeline Servers.

# Setting Up Whitelisting

1. **Log into Your Server Control Panel**:
    
    
    - Open your web browser and go to [panel.ridgelineservers.com](https://panel.ridgelineservers.com).
    - Enter your login credentials to access the control panel.
2. **Access the Server Configuration**:
    
    
    - Once logged in, select your Minecraft server from the list of available servers.
    - Navigate to the **Settings** or **Configuration** section, depending on your control panel layout.
3. **Enable Whitelisting**:
    
    
    - Look for the option labeled **Whitelist** or **Whitelisting**.
    - Set the whitelist option to **True**.
    - Save your changes.
4. **Restart the Server**:
    
    
    - Navigate to the **Console** or **Server Control** section.
    - Click the **Restart** button to apply the changes.

# Whitelisting Players

### Whitelisting Players via the Console  


1. **Log into Your Server Control Panel**:
    
    
    - Open your web browser and go to [panel.ridgelineservers.com](https://panel.ridgelineservers.com).
    - Enter your login credentials to access the control panel.
2. **Access the Console**:
    
    
    - Once logged in, select your Minecraft server from the list of available servers.
    - Navigate to the **Console** section in the control panel.
3. **Enter the Whitelist Command**:
    
    
    - In the console input field, type the following command to add a player to the whitelist: <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950">`whitelist add <playername>`  
        Replace &lt;playername&gt; with the actual Minecraft username of the player you want to whitelist.  
        </div>
4. **Verify the command worked**:
    
    
    - Look for a confirmation message in the console indicating the player has been added to the whitelist. It will typically say something like `Added <playername> to the whitelist`.

### Whitelisting Players via In-Game Commands

1. **Join the Server**:
    
    
    - Log into your Minecraft server with a player account that already has operator status.
2. **Open the Chat Window**:
    
    
    - Press `T` or `/` to open the chat window.
3. **Enter the Whitelist Command**:
    
    
    - Type:  
        `/whitelist add <playername>`Replace &lt;playername&gt; with the username of the player you wish to whitelist.
4. **Confirm the command worked**:
    
    
    - You should receive a confirmation message in the chat indicating that the player has been added to the whitelist.

# Managing the Whitelist

### Viewing the Whitelist

- To see a list of all players on the whitelist, use the command: ```
    whitelist list
    ```

### Removing a Player from the Whitelist

- If you need to remove a player from the whitelist, use the command: ```
    whitelist remove <playername>
    ```
    
    Replace `<playername>` with the player's username.

## Troubleshooting

### Common Issues

- **Command Not Recognized**:
    
    
    - Ensure you are using the correct syntax and have administrative permissions.
- **Player Not Found**:
    
    
    - Double-check the spelling of the player’s username.
- **No Confirmation Message**:
    
    
    - If you don’t see a confirmation message, verify your server settings and ensure the command was entered correctly.

### Additional Help

If you need further assistance, open a support ticket via [Ridgeline Servers Support](https://billing.ridgelineservers.com/tickets).