LGSL (Live Game Server List) is an open-source PHP script and tracking library originally created by Richard Perry and actively maintained by developers like tltneon on GitHub. It queries dedicated multiplayer game servers in real time to display live player counts, map names, ping, and server status on web dashboards or CMS platforms.
To set up LGSL, you must configure a web hosting server to communicate with your game servers using specialized query protocols. 1. Prerequisites and System Requirements
Before installing LGSL, ensure your hosting environment meets the following baseline criteria:
Web Server: A web host running PHP 7.4 to 8.x+ along with a MySQL/MariaDB database.
PHP Extensions: Ensure php-curl, php-gd, and standard socket extensions are enabled.
Network Permissions: Your web host must allow outbound UDP/TCP connections. Strict firewalls (like custom cPanel or AWS Security Groups) can block LGSL from querying external game servers. 2. Step-by-Step Installation Step 1: Download and Upload the Files
Fetch the latest codebase from the tltneon LGSL GitHub Repository or your CMS plugin repository (e.g., e107, WordPress, or XenForo integrations).
Extract the files and upload the lgsl directory to your web server using an FTP client or your hosting file manager. Step 2: Database Initialization
Log into your hosting control panel and open phpMyAdmin (or your preferred database client).
Create a clean, empty database named lgsl (or use an existing one).
Import the provided SQL schema file (typically named lgsl.sql or found inside the setup folder) to generate the required monitoring tables. Step 3: Configure the Environment
Locate the configuration file, usually named lgsl_config.php or config.php.
Open the file in a text editor and provide your database credentials:
\(lgsl_config['db']['server'] = 'localhost'; \)lgsl_config[‘db’][‘user’] = ‘your_db_username’; \(lgsl_config['db']['pass'] = 'your_db_password'; \)lgsl_config[‘db’][‘name’] = ‘your_db_name’; Use code with caution.
Adjust the management password within this file to lock down your web administration panel. Live Game Server List (LGSL) / Wiki / Home – SourceForge
Leave a Reply