Plugins on an IOSoccer server run through Metamod:Source and SourceMod. You need both: Metamod:Source hooks into the Source Engine, and SourceMod builds on top of it to provide the plugin environment and the admin features. SourceMod officially supports IOSoccer and already ships the matching game data for the Linux server.
Install Metamod:Source
-
Download Metamod:Source
Download the current stable version of Metamod:Source as a Linux package (.tar.gz). -
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Upload the files
Extract the archive and upload theaddonsfolder it contains to the following directory:/iosoccer/Afterwards the folder
/iosoccer/addons/metamod/exists. -
Start the server
Start your server and check in the server console withmeta versionwhether Metamod:Source was loaded.
Install SourceMod
-
Download SourceMod
Download the current stable version of SourceMod as a Linux package (.tar.gz). -
Stop the server
Stop your server via the dashboard. -
Upload the files
Extract the archive and upload theaddonsandcfgfolders it contains via SFTP to the following directory:/iosoccer/Existing folders are merged, not replaced. Afterwards the folder
/iosoccer/addons/sourcemod/exists. -
Start the server
Start your server and check in the server console withsm versionwhether SourceMod was loaded.
Install plugins
-
Download the plugin
Download the plugin you want. Ready-to-use plugins come as a.smxfile. -
Stop the server
Stop your server via the dashboard. -
Upload the plugin
Upload the.smxfile via SFTP to the following directory:/iosoccer/addons/sourcemod/plugins/ -
Start the server
Start your server and check withsm plugins listwhether the plugin was loaded.
Add custom maps
-
Download the map
Custom maps come as a.bspfile. -
Stop the server
Stop your server via the dashboard. -
Upload the map
Upload the.bspfile via SFTP to the following directory:/iosoccer/maps/ -
Load the map
Start your server and switch to the new map in the server console withchangelevel <map name>. The map name is entered without the.bspextension. The commandmaps *lists every installed map.
Adjust the map rotation
The map rotation is a text file with one map name per line, each without the .bsp extension:
/iosoccer/mapcycle.txt
Which file is used is defined in /iosoccer/cfg/server.cfg:
mapcyclefile "mapcycle.txt"
Deliver custom maps to players
Players who do not own a custom map cannot join the server. With a download server (FastDL) they download the files automatically when connecting. Add the following lines to /iosoccer/cfg/server.cfg:
sv_allowdownload 1
sv_downloadurl "https://your-domain.com/fastdl/"
Set kits and team names
You set up the two teams of a match through server settings – no plugins required:
| Setting | Meaning |
|---|---|
mp_teamkits <home> <away> |
Sets the kits of both teams. The first value applies to the home team, the second to the away team. Instead of a number you can also search for a team name, for example mp_teamkits barcelona. |
mp_teamnames |
Overrides the team names, for example mp_teamnames "FCB:FC Barcelona,RMA:Real Madrid" |
Client-side mods
Folder structure at a glance
/iosoccer/addons/metamod/
/iosoccer/addons/sourcemod/
/iosoccer/addons/sourcemod/plugins/ <- .smx plugin files
/iosoccer/addons/sourcemod/configs/ <- configurations, e.g. admin lists
/iosoccer/cfg/ <- server.cfg and autoexec.cfg
/iosoccer/maps/ <- .bsp map files
/iosoccer/mapcycle.txt <- map rotation
Verify the installation
Enter the following commands in the server console:
| Command | Description |
|---|---|
meta version |
Show the Metamod:Source version |
meta list |
Show the extensions loaded by Metamod |
sm version |
Show the SourceMod version |
sm plugins list |
Show the loaded SourceMod plugins |
