VERSION 1.1#
Hey everyone,
the plugin Server Check is aimed for game oriented toplists and lets you query game server info such as online status, number of players, map name.
This plugin is still highly experimental and might not query everything 100% correct. So please provide feedback if you feel something is going wrong.
Also please understand that it would take time to include every game support request. Some are just very hard to include and some query methods might be broken.
Install / Update Instructions - Read carefully!!
1) Download ServerCheck.zip and upload zip through admin plugin manager
2) Log into your admin area -> Settings -> Server Check Settings
2.1) You see the list of games this plugin supports. Add one of your categories to each game you want to support and save settings.
2.2) Make sure you do not add the same category to more than 1 game. It will result in a lot of offline servers and might as well spit out errors.
For example if you have a category named "Battlefield", do not add this category to all 6 different battlefield games. Rather, setup your categories according the games, thus creating 6 battlefield categories if you want to support all.
3) Create a Cron Job within Cpanel - Settings below
3.1) From the "Common Settings" Dropdown select Every 5 Minutes
3.2) In the command Input paste this
- Replace YOUR_ACCOUNT with your account. Usually this is the same as cpanel login
- If you do not run your topsite in your domain root, update the path accordingly
if this dont work, you might have another path to php ( /usr/bin/php ). Ask your Host.
This will query 50 random members gameserver every 5 minutes. That is if they entered an IP. If you have a huge list of several hundret you may want it to run every minute.
Required Hosting specs
CRON - If you cant setup a cron anywhere on your hosting account, usually within cpanel, you cannot use this plugin.
Bzip2 - This is optional http://www.bzip.org/ ask your host to install, but not required.
It is used to compress and decompress data packets. Some gameserver compress their data with this method and thus you would need this as well to decompress it. If its not there the queried server would respond as offline or send back incomplete info
Open ports - Your sites firewall need to allow outgoing port connections
Supported Template Tags - add these to your skin
The following tags work in these template files and you might add them how you like:
- table_row, table_top_row, table_row_premium, table_top_row_premium, stats
{$image_online} - Shows online or offline image
{$server_ip} - Members gameserver ip
{$port} - Members gameserver join port
{$server_check_hostname} - The hostname of the queried server
{$server_check_mapname} - The mapname of the queried server
{$server_check_players} - Number of players currently playing. In form of 12/24
Additionally ive include 3 more images you could use before each of these tags
{$image_server_name} - A image you can use before the hostname tag
{$image_map_name} - A image you can use before the mapname tag
{$image_players} - A image you can use before the players tag
Game Request List
Lineage | AION | WoW | Ultima Online | Perfect World | Forsaken World | Jade Dinasty
Hey everyone,
the plugin Server Check is aimed for game oriented toplists and lets you query game server info such as online status, number of players, map name.
This plugin is still highly experimental and might not query everything 100% correct. So please provide feedback if you feel something is going wrong.
Also please understand that it would take time to include every game support request. Some are just very hard to include and some query methods might be broken.
Install / Update Instructions - Read carefully!!
1) Download ServerCheck.zip and upload zip through admin plugin manager
2) Log into your admin area -> Settings -> Server Check Settings
2.1) You see the list of games this plugin supports. Add one of your categories to each game you want to support and save settings.
2.2) Make sure you do not add the same category to more than 1 game. It will result in a lot of offline servers and might as well spit out errors.
For example if you have a category named "Battlefield", do not add this category to all 6 different battlefield games. Rather, setup your categories according the games, thus creating 6 battlefield categories if you want to support all.
3) Create a Cron Job within Cpanel - Settings below
3.1) From the "Common Settings" Dropdown select Every 5 Minutes
3.2) In the command Input paste this
Code:
/usr/bin/php /home/YOUR_ACCOUNT/public_html/plugins/ServerCheck/cron.php
- If you do not run your topsite in your domain root, update the path accordingly
if this dont work, you might have another path to php ( /usr/bin/php ). Ask your Host.
This will query 50 random members gameserver every 5 minutes. That is if they entered an IP. If you have a huge list of several hundret you may want it to run every minute.
Required Hosting specs
CRON - If you cant setup a cron anywhere on your hosting account, usually within cpanel, you cannot use this plugin.
Bzip2 - This is optional http://www.bzip.org/ ask your host to install, but not required.
It is used to compress and decompress data packets. Some gameserver compress their data with this method and thus you would need this as well to decompress it. If its not there the queried server would respond as offline or send back incomplete info
Open ports - Your sites firewall need to allow outgoing port connections
Supported Template Tags - add these to your skin
The following tags work in these template files and you might add them how you like:
- table_row, table_top_row, table_row_premium, table_top_row_premium, stats
{$image_online} - Shows online or offline image
{$server_ip} - Members gameserver ip
{$port} - Members gameserver join port
{$server_check_hostname} - The hostname of the queried server
{$server_check_mapname} - The mapname of the queried server
{$server_check_players} - Number of players currently playing. In form of 12/24
Additionally ive include 3 more images you could use before each of these tags
{$image_server_name} - A image you can use before the hostname tag
{$image_map_name} - A image you can use before the mapname tag
{$image_players} - A image you can use before the players tag
Game Request List
Lineage | AION | WoW | Ultima Online | Perfect World | Forsaken World | Jade Dinasty
Attachments
-
142.1 KB Views: 24