Server Check

Basti

Administrator
Staff member
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
Code:
/usr/bin/php /home/YOUR_ACCOUNT/public_html/plugins/ServerCheck/cron.php
- 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
 

Attachments

leonor

Active Member
License Active
Nice Plugin, but there ist no Text when user register or change it in Profile (IP & Port)
 

Basti

Administrator
Staff member
No text? Must be a typing mistake -.- Ill look over it.

As for additional fields, no this will not be included into the plugin, because we plan custom join fields handling from admin interface instead of plugins
 

Basti

Administrator
Staff member
Yup typing mistake, thanks guys. First zip updated.
Simply reupload through plugin manager or just replace the /languages/english.php from this plugin on your ftp
 

Basti

Administrator
Staff member
Notice:
Iam working on more server stats for this plugin. Such as players online / max players. With a variety of games supported. Hope to have it done in a few days
 

Morus

www.votezone.eu , www.privateserversranking.com
License Active
Notice:
Iam working on more server stats for this plugin. Such as players online / max players. With a variety of games supported. Hope to have it done in a few days
that would be nice, the other thing that can be useful for game servers are offline for longer than a day, then it will be shown on seperate topic as new menu.
 

Chrisspitz

Member
Hey Basti. I've noticed that when trying to submit a server, it doesn't allow written ip's such as "play.blah.com", but only numbers. Is there any way to enable "written ip's"?

Thanks,
Chrisspitz
 

Basti

Administrator
Staff member
Sorry guys, a lot happened for me this month, so i had no time to for visiolist at all. Ill be working on this in the coming day again.

Allowing a web adress for the ip field is possible, though everyone who has a server really should know their ip
 

r87

Mister "Question"
And yet, there is no plugin improvement :) . Visiolist should think about improve their scripting guys stuff. Now it looks like "yea, we will do it, someday..". Looks kiddy and unresponsible.
 

Basti

Administrator
Staff member
And yet, there is no plugin improvement :) . Visiolist should think about improve their scripting guys stuff. Now it looks like "yea, we will do it, someday..". Looks kiddy and unresponsible.
Please Note that we are only 2 people here and VL is not our main income source. Delaying happens as we are no big company like VB, wordpress, drupal etc.
As a second note, this is quite a troublesome plugin which needs a lot of testing and is going through a lot of troubles
 

Basti

Administrator
Staff member
Speaking about the plugin, what kind of stuff should we include?

I currently have for many games ( about 70 - but not everyone tested yet )
- online/offline
- num players / max players

Possible would also be ( which should work on most games )
- Game name
- Map name

My personal choice would be
-online/offline and numplayers on the rankings page
- same on stats page but adding game and map name along to keep stresss from the rankings page as load time might go up ( need to test more )


Other things to do
- Test Speed!! Iam afraid this might be really slow on a list with even only 10 members. Might need to move to stats page completly
- Build admin setting to add this plugins game title shortcodes to your categories. Properbly as dropdown like
--- you see your list of categories
--- You see this plugin game shortcodes next to it in a dropdown like bf3 - Battlefield 3 etc etc
--- You then choose from these 2 to match up categories and shortcodes
- I planned it this way so there is no extrastep for the member to choose their game title on the join page and every topsite admin might name their categories a little different, so we cant hardcode the shortcodes to categories. This way, while joining they have their game title while selecting their category


Let me know what you think of the usability and possible improvements
 
Top