IOSoccer does not ship with an admin system. There is no in-game admin list and no server setting that turns a player into an admin. The server is managed through the server console or RCON – in-game admin rights are only available through SourceMod.
Find the SteamID
For the admin list you need the SteamID in the format STEAM_0:x:xxxxxxx.
Add an admin
-
Connect via SFTP
Connect to your server via SFTP. -
Open the file
Open the following file:/iosoccer/addons/sourcemod/configs/admins_simple.ini -
Add the player
Add one admin per line. A line is structured like this:"<SteamID | !IP | Steam name>" "[immunity level:]<flags | @group>" ["password"]Examples:
"STEAM_0:1:16" "bce" // generic, kick, unban for this SteamID, no immunity "STEAM_0:1:12345678" "99:z" // all permissions, immunity level 99 "[U:1:24691357]" "z" // same permissions using the Steam3 format "!127.0.0.1" "5:z" // all permissions for this IP, immunity level 5 -
Apply the changes
Save the file and enter the following command in the server console:sm_reloadadminsAlternatively restart your server.
Permission flags at a glance
| Flag | Name | Meaning |
|---|---|---|
a |
reservation | Reserved slot access |
b |
generic | Generic admin status – required for every admin |
c |
kick | Kick other players |
d |
ban | Ban other players |
e |
unban | Remove bans |
f |
slay | Slay or harm players |
g |
changemap | Change the map or major gameplay features |
h |
cvars | Change most ConVars |
i |
config | Execute config files |
j |
chat | Special chat privileges |
k |
vote | Start or create votes |
l |
password | Set a password on the server |
m |
rcon | Use RCON commands |
n |
cheats | Change sv_cheats or use cheat commands |
o – t |
custom1 – custom6 | Custom groups 1 to 6 |
z |
root | Enables all flags and ignores immunity |
Use the admin menu
-
Join the server
Connect to your server. See Join Server for how to do that. -
Open the menu
Open the admin menu with the commandsm_adminin the game console or with!adminor/adminin the chat.
Alternative: admins.cfg
Instead of admins_simple.ini you can also add admins in the KeyValues format:
/iosoccer/addons/sourcemod/configs/admins.cfg
Admins
{
"Player name"
{
"auth" "steam"
"identity" "STEAM_0:1:12345678"
"flags" "abcdef"
}
}
Without mods: server console and RCON
If you do not want to install plugins, the server console in the dashboard remains. You can run every server command there without being an admin inside the game – including match control with sv_restart, sv_endmatch, sv_startpenalties, sv_starttimeout and sv_endtimeout.
On top of that you can use RCON to run the same commands from outside. Your server receives the RCON password on every start, so you set it in the dashboard:
-
Open the dashboard
Open the dashboard of your server and switch to the Settings. -
Enter the password
Enter a long, unique password in the RCON Password field. -
Restart the server
Save the change and restart your server. The password is passed on at startup and therefore only takes effect after a restart.
Harden RCON
Add these values via SFTP to /iosoccer/cfg/server.cfg as well. If the file does not exist yet, create it:
| Setting | Meaning |
|---|---|
sv_rcon_maxfailures |
Number of failed logins after which an IP is banned |
sv_rcon_minfailures |
Number of failed logins within sv_rcon_minfailuretime after which an IP is banned |
sv_rcon_minfailuretime |
Time span in seconds over which failed logins are counted |
sv_rcon_banpenalty |
Duration of the ban in minutes |
