How to Ban and Unban Players on an Eco Server
Last modified on Aug 10, 2023 in Eco
By Dalton Whalen
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
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.
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
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
- Visit the SteamID.io website.
- Using the search bar, search for the user.
- Once a profile is found, ensure the details appear correct.
- Find and make note of the
steamID64
number.
Editing the Users File
- Navigate to the Apex server panel, then stop the server.
- In the left-hand menu, enter the
Config Files
, then open theUsers.eco
file. - Scroll down to the
BlackList
section of the file editor. - Find the Steam64ID for the player you wish to unban.
- For that user, delete any line from
{
to}
. - 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
Eco Guides