<?PHP

/* ====================
Land Down Under - Website engine
Copyright Neocrome
http://ldu.neocrome.net

[BEGIN_LDU]
File=plugins/extended/bfvstats/bfvstats.setup.php
Version=800
Updated=10-01-2006
Type=Plugin
Author=Joeke
Description=BattleField Vietnam Server stats
[END_LDU]

[BEGIN_LDU_EXTPLUGIN]
Code=bfvstats
Name=BattleField Vietnam Server stats
Description=Query BattleField servers for stats.
Version=0.1
Date=10-01-2006
Author=Joeke
Copyright=Joeke
Notes=Don't forget to change the IP and port to your server.<br /> You can edit bfvstats.tpl to include more statistics such as:<br /><pre>{BFVSTATS_ACTIVE_MODS}<br />{BFVSTATS_ALLOW_NOSE_CAM}<br />{BFVSTATS_AUTO_BALANCE_TEAMS}<br />{BFVSTATS_BANDWIDTH_CHOKE_LIMIT}<br />{BFVSTATS_BOT_SKILL}<br />{BFVSTATS_CPU}<br />{BFVSTATS_DEDICATED}<br />{BFVSTATS_EXTERNAL_VIEW}<br />{BFVSTATS_FREE_CAMERA}<br />{BFVSTATS_GAME_ID}<br />{BFVSTATS_GAME_ID_NAME}<br />{BFVSTATS_GAME_START_DELAY}<br />{BFVSTATS_GAMEMODE}<br />{BFVSTATS_GAMESTYLE}<br />{BFVSTATS_GAMETYPE}<br />{BFVSTATS_GAMEVER}<br />{BFVSTATS_HOSTIP}<br />{BFVSTATS_HOSTNAME}<br />{BFVSTATS_HOSTPORT}<br />{BFVSTATS_KICKBACK}<br />{BFVSTATS_KICKBACK_ON_SPLASH}<br />{BFVSTATS_MAP_ID}<br />{BFVSTATS_MAPNAME}<br />{BFVSTATS_MAPPIC}<br />{BFVSTATS_MAXPLAYERS}<br />{BFVSTATS_NAME_TAG_DISTANCE}<br />{BFVSTATS_NAME_TAG_DISTANCE_SCOPE}<br />{BFVSTATS_NUMBER_OF_ROUNDS}<br />{BFVSTATS_NUMPLAYERS}<br />{BFVSTATS_NVA_TEAM_RATIO}<br />{BFVSTATS_PASSWORD}<br />{BFVSTATS_PUNKBUSTER}<br />{BFVSTATS_RESERVEDSLOTS}<br />{BFVSTATS_SOLDIER_FRIENDLY_FIRE}<br />{BFVSTATS_SPAWN_DELAY}<br />{BFVSTATS_SPAWN_WAVE_TIME}<br />{BFVSTATS_SPECTATORSALLOWED}<br />{BFVSTATS_SPECTATORSWITCHTIME}<br />{BFVSTATS_SPECTATORVOTING}<br />{BFVSTATS_STATUS}<br />{BFVSTATS_TEAM_RED_SCORE}<br />{BFVSTATS_TEAM_BLUE_SCORE}<br />{BFVSTATS_TICKET_RATIO}<br />{BFVSTATS_TIMELIMIT}<br />{BFVSTATS_TITLE}<br />{BFVSTATS_US_TEAM_RATIO}<br />{BFVSTATS_VEHICLE_FRIENDLY_FIRE}<br />{BFVSTATS_VEHICLE_FRIENDLY_FIRE_ON_SPLASH}</pre>You can also add more player stats:<pre>{BFVSTATS_PLAYER_DEATHS}<br />{BFVSTATS_PLAYER_KILLS}<br />{BFVSTATS_PLAYER_NAME}<br />{BFVSTATS_PLAYER_PING}<br />{BFVSTATS_PLAYER_SCORE}<br />{BFVSTATS_PLAYER_TEAM}</pre>The extra player stats must be added between:<pre>< !-- BEGIN: BFVSTATS_PLAYERS -- ><br />< !-- END: BFVSTATS_PLAYERS -- ></pre>
SQL=
[END_LDU_EXTPLUGIN]

[BEGIN_LDU_EXTPLUGIN_CONFIG]
queryip=1:string::67.18.231.166:Server IP
queryport=2:string::23000:Server query port, default 23000
pagetitle=3:string::Battelfield Vietnam Server stats:Title message
offline=4:string::The server is down...:Message to show when server is offline
[END_LDU_EXTPLUGIN_CONFIG]

==================== */

if ( !defined('LDU_CODE') ) { die("Wrong URL."); }

?>


