-
Notifications
You must be signed in to change notification settings - Fork 49
CMS Integration
Neon edited this page Jan 12, 2024
·
7 revisions
CMS Name | CMS Version | Link | Author |
---|---|---|---|
e107 | v2.3+ | Download | @Jimmi08 |
PHPBB | v3.2+ | Download / Mirror | @impossibleartist |
composer require tltneon/lgsl 7.0.0
Querying:
<?php
include("vendor/autoload.php");
$server = new tltneon\LGSL\Server([
'type' => 'urbanterror',
'ip' => '85.27.184.76',
'c_port' => 27961,
'q_port' => 27961,
]);
$server->lgsl_live_query();
?>
Printing:
<p>Name: <?= $server->get_name(); ?></p>
<p>Players: <?= $server->get_players_count(); ?></p>
<p>Map: <?= $server->get_map(); ?></p>
<p>IP: <?= $server->get_ip(); ?>:<?= $server->get_c_port(); ?></p>
<p><a href="<?= $server->get_software_link(); ?>">Connect!</a></p>
CMS Name | CMS Version | Link | Author |
---|---|---|---|
PHPNuke | v8 | Download | Richard Perry |
e107 | v0.7 | Download | Richard Perry |
Joomla | v2 | Download | Richard Perry |
Drupal | v6 | Download | Richard Perry |
IPB | v3 | Download | |
vBulletin | v3.7-3.8 | Download | |
vBulletin | v4.2 | Download | @Destructor |