Search by

gservers / flarum-ext-lgsl

TresIqus94

LGSL Game Server List integration for Flarum v2 on PHP 8.5

Package info

github.com/TresIqus94/flarum-ext-lgsl

Type:flarum-extension

pkg:composer/gservers/flarum-ext-lgsl

Statistics

Installs: 71

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.1 2026-08-05 08:29 UTC

README

An integrated Live Game Server Status tracker built explicitly for Flarum v2 and PHP 8.3+. It decouples third-party package dependencies by embedding your customized, modern PHP 8.5-compatible standalone LGSL core parsing algorithms right into the extension runtime workspace directory.

🚀 Features

  • Theme-Aware Adaptability: Seamlessly matches light and dark presentation designs out-of-the-box using native CSS custom properties.
  • Autonomous Queries: Bypasses third-party dependencies by embedding standalone core files cleanly inside project source.
  • Dedicated Standings Page: Serves a pristine, standalone /servers endpoint displaying query variables, maps, and current players.
  • Simplified Admin Dashboard: Easily manage and track endless server records with built-in sequential server IDs.

🎮 Supported Game Protocols Reference List

When adding new servers via your Flarum administration panel, supply the exact lowercase code token below into the Protocol Type field:

Protocol Type Shortcode Formal Game / Driver Title
aarmy Americas Army
aarmy3 Americas Army 3
arcasimracing Arca Sim Racing
arma ArmA: Armed Assault
arma2 ArmA 2
arma3 ArmA 3 / DayZ
avp2 Aliens VS. Predator 2
avp2010 Aliens VS. Predator ( 2010 By Rebellion )
bfbc2 Battlefield Bad Company 2
bfvietnam Battlefield Vietnam
bf1942 Battlefield 1942
bf2 Battlefield 2
bf3 Battlefield 3
bf4 Battlefield 4
bf2142 Battlefield 2142
callofduty Call Of Duty
callofdutybo3 Call Of Duty: Black Ops 3
callofdutyiw Call Of Duty (IW4 IW5 IW6x)
callofdutyuo Call Of Duty: United Offensive
callofdutywaw Call Of Duty: World at War
callofduty2 Call Of Duty 2
callofduty4 Call Of Duty 4 / CoD4X
cncrenegade Command and Conquer: Renegade
conanexiles Conan Exiles
cryofall Cryofall
crysis Crysis
crysiswars Crysis Wars
cs2d Counter-Strike 2D
cube Cube Engine
discord Discord
doomskulltag Doom - Skulltag
doomzdaemon Doom - ZDaemon
doom3 Doom 3
dh2005 Deer Hunter 2005
eco ECO
factorio Factorio
farcry Far Cry
farmsim Farming Simulator
fear F.E.A.R.
fivem FiveM / RedM
flashpoint Operation Flashpoint
freelancer Freelancer
frontlines Frontlines: Fuel Of War
f1c9902 F1 Challenge 99-02
gamespy1 Generic GameSpy 1
gamespy2 Generic GameSpy 2
gamespy3 Generic GameSpy 3
ghostrecon Ghost Recon
graw Ghost Recon: Advanced Warfighter
graw2 Ghost Recon: Advanced Warfighter 2
gtac GTA Connected
gtr2 GTR 2
had2 Hidden and Dangerous 2
halflife Half-life Steam Protocol (CS 1.6 etc)
halflifewon Half-Life WON Protocol [OLD] (CS 1.5)
halo Halo
il2 IL-2 Sturmovik
jediknight2 JediKnight 2: Jedi Outcast
jediknightja JediKnight: Jedi Academy
jc2mp Just Cause 2 Multiplayer
killingfloor Killing Floor
kingpin Kingpin: Life of Crime
m2mp Mafia II Multiplayer
mafiac Mafia Connected
minecraft Minecraft
mohaa Medal of Honor: Allied Assault
mohaab Medal of Honor: Allied Assault Breakthrough
mohaas Medal of Honor: Allied Assault Spearhead
mohpa Medal of Honor: Pacific Assault
mta Multi Theft Auto
mumble Mumble
nascar2004 Nascar Thunder 2004
neverwinter NeverWinter Nights
neverwinter2 NeverWinter Nights 2
nexuiz Nexuiz
openttd Open Transport Tycoon Deluxe
painkiller PainKiller
plainsight Plain Sight
prey Prey
quakeworld Quake World
quakewars Enemy Territory: Quake Wars
quake2 Quake 2
quake3 Quake 3
quake4 Quake 4
ragemp Rage:MP
ravenshield Raven Shield
redorchestra Red Orchestra
rfactor RFactor
samp San Andreas Multiplayer
savage Savage
savage2 Savage 2
scum SCUM
sf Satisfactory
serioussam Serious Sam
serioussam2 Serious Sam 2
shatteredh Shattered Horizon
sof2 Soldier of Fortune 2
soldat Soldat
source Source Protocol ( Half-Life 2 etc. )
srb2 Sonic Robo Blast 2
stalker S.T.A.L.K.E.R.
stalkercop S.T.A.L.K.E.R. Call of Pripyat
stalkercs S.T.A.L.K.E.R. Clear Sky
startrekef StarTrek Elite-Force
starwarsbf Star Wars: Battlefront
starwarsbf2 Star Wars: Battlefront 2
starwarsrc Star Wars: Republic Commando
swat4 SWAT 4
teeworlds Teeworlds
terraria Terraria
tribes Tribes ( Starsiege )
tribes2 Tribes 2
tribesv Tribes Vengeance
ts Teamspeak
ts3 Teamspeak 3
teaspeak Teaspeak
urbanterror UrbanTerror
ut Unreal Tournament
ut2003 Unreal Tournament 2003
ut2004 Unreal Tournament 2004
ut3 Unreal Tournament 3
vcmp Vice City Multiplayer
vietcong Vietcong
vietcong2 Vietcong 2
warsow Warsow
warsowold Warsow ( 0.4.2 and older )
wolfet Wolfenstein: Enemy Territory
wolfrtcw Wolfenstein: Return To Castle Wolfenstein
wolf2009 Wolfenstein ( 2009 By Raven )
wow World of Warcraft

📁 Repository Structure

gservers/flarum-ext-lgsl/
├── composer.json
├── extend.php
├── less/
│   └── forum.less
├── src/
│   ├── Api/
│   │   └── Controller/
│   │       ├── ListServersController.php
│   │       └── ManageServersController.php
│   └── LGSLCore/
│       ├── lgsl_class.php
│       └── lgsl_protocol.php
└── js/
    ├── package.json
    ├── webpack.config.js
    └── src/
        ├── admin/
        │   └── index.js
        └── forum/
            └── index.js

🛠️ Installation & Setup

  1. Trigger the Composer deployment process on your server shell:

    composer require gservers/flarum-ext-lgsl:*
  2. Run migrations and completely flush database and view files from memory:

    php flarum migrate
    php flarum cache:clear

🔗 Custom Menu Navigation (FoF Links)

Because this extension focuses cleanly on rendering the structural status records, manage your user navigation flows via the fof/links module dashboard:

  1. Head directly to your Flarum administrative settings and click on Links.
  2. Click Add Link, label it "Game Servers", select a preferred icon (such as fas fa-gamepad), and map the relative path explicitly to: /servers

💎 Credits

Special thanks to tltneon for maintaining the standalone core LGSL engine, keeping the protocols up to date, and ensuring its survival on modern PHP environments. This extension wraps their foundational query library into a native Flarum asset bundle.

📝 License

This package is licensed under the terms of the GPL-2.0-or-later license model structure.