A simple way to list Source-Engine servers that you're running right on your forum.
- Compatible XF Versions:
- Additional Requirements:
- PHP 5.3
- Visible Branding:
Drop the contents of the 'upload' folder into your forums root. Go to your ACP and select 'install new addon' and choose the addon-serverlist.xml file. To choose and adjust your settings go to the 'Server Options' tab in the ACP's option section.
::ADDING MORE SERVERS::
Adding extra servers is extremely simple, just add a comma between the server ip AND port. (I.e: 127.0.0.1:27015,10.57.0.0:27016)
The server list is designed to be turned off and on for maintenance. You can set a custom message to display when the server is down.
::MAKING THE PAGE::
In order for a page to display the server list you must put <xen:include template="serverlist_servers"/> in the page you've created.
This is all that's required in order for the servers to appear. It is possible to include this elsewhere in your forums besides a new page.
To customize the images/colors/layout of the server info go to the
serverlist_servers.css template and adjust your settings from there.
To choose a background based on the server's game type you need to first find the name of the root folder. (I.e: TF2's root folder is tf, CS:GO's is csgo, etc). Make a new entry in the stylesheet called the root folder of your server with a # in front of it. If you are unsure of what it should look like view the #tf section in the css file.
A demo is available at forums.minnesotanmayhem.com/servers/