25% OFF First Invoice

Code at Checkout: CAVES

How to Ban and Unban Players on an Eco Server

in Eco

mc head By Dalton Whalen

Eco Ban and Unban Players

Overview

Within the asteroid-imminent world of Eco, players must work together to build a civilization and stop the end of the world. While this is the case, certain players may try to cause trouble within the server. Whether this is due to abusing the chat function or affecting the world itself, a ban may be required to stop them in their tracks. With Eco admin commands, you can easily ban and unban players at any time. Additionally, players can be unbanned by editing a file on the server if commands are unavailable. This can be tricky for unfamiliar players, so we have created this Apex Hosting tutorial to help you get started.
 

Banning Players

Eco Ban You are Banned

To ban a player, you must first ensure you are an admin on your Eco server. Once this is done, log into your server and press / to open the chat bar.

Eco Ban Command 1
Eco Ban Command 2

If you wish to simply ban a player, you may use the /ban PlayerName command, replacing PlayerName with the username of the desired target. To add onto this, you may add a comma after the username to provide a ban reason. After you enter the command, the player will be banned within a few seconds.
 

Unbanning Players

There are currently two ways to unban players from your Eco server, one is through more in-game commands, while other involves manually editing a file. While not normally needed, editing the file manually can be beneficial if you accidentally banned yourself or cannot log into the server directly.
 

Unbanning with Commands

Eco Ban Unban

To unban a player, you can use a similar command to before, /unban PlayerName, and replace PlayerName with the intended target. If you are unsure of which users are banned, you can use either the /ban or /unban command to view the currently blocked players.

 

Unbanning with File Editing

To unban manually, you will need to edit the Users.eco file on the panel itself. Before this can be done, however, you must obtain the player’s SteamID64 number for their account.
 

Finding the SteamID64 Number

  1. Visit the SteamID.io website.
  2. Using the search bar, search for the user.
  3. Once a profile is found, ensure the details appear correct.
  4. Find and make note of the steamID64 number.
    Eco Ban SteamID64 Number

 

Editing the Users File

  1. Navigate to the Apex server panel, then stop the server.
  2. In the left-hand menu, enter the Config Files, then open the Users.eco file.
  3. Scroll down to the BlackList section of the file editor.
    Eco Ban Users.eco File
  4. Find the Steam64ID for the player you wish to unban.
  5. For that user, delete any line from { to }.
    Eco Ban Remove Lines
  6. After this, press the “Save” button and restart the server when prompted.

 

Common Issues

The player can still join the server:
If you have used the ban command and the player can still join, ensure you are using the correct name in the command. You can confirm this by checking the chat window after executing the command for any errors. If it claims there is no existing user with that name, confirm your spelling and try again.

There is an issue with the Users.eco file:
In some cases, errors may occur after editing the Users.eco file due to formatting issues. When removing a banned player, ensure you remove every line between the { } symbols without any empty lines remaining. If the last banned user has a comma following the }, ensure you remove it as well. For further diagnosing, consider using a JSON validator.
 

Helpful Links

SteamID.io Website
How to Add Admins to an Eco Server

Start Your Eco Server

Get started with your own eco server in 5 min and start trying out these great features.