How to Install SourceBans++ on Windows 10
SourceBans++ is a web-based ban management system for Source engine servers, including games like Team Fortress 2, Counter-Strike: Global Offensive, and more. In this tutorial, we will be installing SourceBans++ on a Windows 10 machine.
Prerequisites
Before you get started with the installation process, you will need the following:
- A Source engine game server running on a Windows 10 machine
- A web server with PHP 5.6 or newer and MySQL
- FTP access to your web server
Step 1: Download and extract SourceBans++
- Go to the official SourceBans++ website and download the latest release.
- Extract the downloaded archive to your computer.
Step 2: Upload SourceBans++ files to web server
- Connect to your web server using an FTP client (such as FileZilla) and navigate to the root folder of your web server.
- Create a new folder named
sourcebansin the root folder. - Upload all of the extracted files from the SourceBans++ archive into the
sourcebansfolder on your web server.
Step 3: Create a MySQL database
- Log in to your MySQL server using a tool such as phpMyAdmin.
- Create a new database named
sourcebans. - Create a new database user with all privileges and note down the login credentials.
Step 4: Configure SourceBans++
- Navigate to the
sourcebans/config/folder on your web server. - Rename the
config.php.examplefile toconfig.php. - Edit the
config.phpfile to match your MySQL database login credentials.$config['mysql_host'] = 'localhost'; $config['mysql_user'] = 'your_database_username'; $config['mysql_pass'] = 'your_database_password'; $config['mysql_db'] = 'sourcebans'; - Save the
config.phpfile.
Step 5: Install SourceBans++
- Open a web browser and navigate to
http://your-web-server/sourcebans/install. - Follow the on-screen instructions to complete the installation process.
- Once the installation is complete, delete the
installfolder from thesourcebansfolder on your web server.
Step 6: Configure game server to use SourceBans++
- Navigate to the
cfg/folder of your game server. - Edit the
server.cfgfile and add the following lines:sv_setsteamaccount "your_steam_web_api_key" sourcebans_host "http://your-web-server/sourcebans" sourcebans_user "your_sourcebans_admin_username" sourcebans_password "your_sourcebans_admin_password"
That's it! You have now successfully installed and configured SourceBans++ on your Windows 10 machine. You can now use the web-based interface to manage bans on your Source engine game server.