How to Install SourceBans++ on Windows 11

SourceBans++ is a powerful and versatile admin management system for Source engine games. It allows server owners and admins to manage bans, kicks, and other administrative tasks with ease. In this tutorial, we will guide you through the process of installing SourceBans++ on a Windows 11 machine.

Prerequisites

Before we begin with the installation process, you will need to ensure that the following prerequisites are met:

Step 1: Downloading SourceBans++

The first step is to download SourceBans++ from their official website at https://sbpp.dev/. Click on the "Download" button on the homepage and select the latest version.

Step 2: Extracting SourceBans++

Once the download is complete, extract the SourceBans++ zip file to a folder of your choice.

Step 3: Configuring XAMPP

Before we start setting up SourceBans++, we need to configure XAMPP.

  1. Open XAMPP Control Panel.
  2. Start Apache and MySQL modules by clicking the "Start" button next to each of them.
  3. Navigate to your web browser and go to http://localhost/phpmyadmin/.
  4. Click on the "New" button to create a new database named "sourcebanspp".
  5. Select the "sourcebanspp" database from the left sidebar.
  6. Import the "database.sql" file located in the "sql" folder of the extracted SourceBans++ folder by clicking on the "Import" tab, selecting the file and clicking "Go".

Step 4: Configuring SourceBans++

  1. Navigate to the extracted SourceBans++ folder and open the "config" folder.
  2. Rename the "sbpp.cfg.example" file to "sbpp.cfg".
  3. Open "sbpp.cfg" file using a text editor.
  4. Update the following configuration settings according to your setup:
    • "hostname": The IP or hostname of your MySQL server (usually "localhost").
    • "username": The username of the MySQL user with access to the "sourcebanspp" database.
    • "password": The password of the MySQL user with access to the "sourcebanspp" database.
    • "database": The name of the "sourcebanspp" database.
    • "server_id": The ID of the Source engine game server you want to associate with SourceBans++.
  5. Save the "sbpp.cfg" file and close the text editor.

Step 5: Uploading Files to Server

  1. Copy the contents of the "web" folder from the extracted SourceBans++ folder to your web server's root directory (usually located at C:\xampp\htdocs).
  2. Copy the "addons/sourcemod/plugins/sbpp.smx" file from the extracted SourceBans++ folder to your Source engine game server's "addons/sourcemod/plugins" directory.
  3. Restart your Source engine game server.

Step 6: Testing SourceBans++

  1. Navigate to http://localhost/ in your web browser.
  2. Click on the "Admin" link on the top right corner of the webpage.
  3. Login using the default admin account:
    • Username: admin
    • Password: admin
  4. Once you're logged in, you should see the SourceBans++ Admin Panel.

Congratulations! You have successfully installed SourceBans++ on Windows 11. You can now manage bans, kicks, and other administrative tasks using SourceBans++ and enjoy a more streamlined admin experience.

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!

Alternatively, for the best virtual desktop, try Shells!