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:

Step 1: Download and extract SourceBans++

  1. Go to the official SourceBans++ website and download the latest release.
  2. Extract the downloaded archive to your computer.

Step 2: Upload SourceBans++ files to web server

  1. Connect to your web server using an FTP client (such as FileZilla) and navigate to the root folder of your web server.
  2. Create a new folder named sourcebans in the root folder.
  3. Upload all of the extracted files from the SourceBans++ archive into the sourcebans folder on your web server.

Step 3: Create a MySQL database

  1. Log in to your MySQL server using a tool such as phpMyAdmin.
  2. Create a new database named sourcebans.
  3. Create a new database user with all privileges and note down the login credentials.

Step 4: Configure SourceBans++

  1. Navigate to the sourcebans/config/ folder on your web server.
  2. Rename the config.php.example file to config.php.
  3. Edit the config.php file 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';
    
  4. Save the config.php file.

Step 5: Install SourceBans++

  1. Open a web browser and navigate to http://your-web-server/sourcebans/install.
  2. Follow the on-screen instructions to complete the installation process.
  3. Once the installation is complete, delete the install folder from the sourcebans folder on your web server.

Step 6: Configure game server to use SourceBans++

  1. Navigate to the cfg/ folder of your game server.
  2. Edit the server.cfg file 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!