hlstatsx/scripts/ImportBans/hlstatsxban.cfg
2013-12-25 18:43:29 -05:00

105 lines
4.6 KiB
INI

<?php
/***************
** Deactivate HLstatsX ranking for banned players
** and reactivate them if unbanned
** Supports SourceBans, AMXBans, Beetlesmod, Globalban, MySQL Banning*
** by Jannik 'Peace-Maker' Hartung
** http://www.sourcebans.net/, http://www.wcfan.de/
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
**
** Version 1.3: Added MySQL Banning support
** Version 1.2: Added more error handling
** Version 1.1: Fixed banned players not marked as banned, if a previous ban was unbanned
** Version 1.0: Initial Release
** YOU MUST ADJUST THIS FILE TO MEET YOUR NEEDS!
** Please fill in AT LEAST one bans database AND
** the HLStatsX Database section! Don't forget the names
** of the HLStatsX Databases near the end of this file!
**************/
//** SOURCEBANS MYSQL INFO ----------------------------
// http://www.sourcebans.net/
define('SB_HOST', 'localhost'); // MySQL host
define('SB_PORT', 3306); // MySQL port (Default 3306)
define('SB_USER', ''); // MySQL user
define('SB_PASS', ''); // MySQL password
define('SB_NAME', ''); // MySQL database name
define('SB_PREFIX', 'sb'); // MySQL table prefix
//** END SOURCEBANS MYSQL INFO ------------------------
//** AMXBANS MYSQL INFO -------------------------------
// http://www.amxbans.net/
define('AMX_HOST', 'localhost'); // MySQL host
define('AMX_PORT', 3306); // MySQL port (Default 3306)
define('AMX_USER', ''); // MySQL user
define('AMX_PASS', ''); // MySQL password
define('AMX_NAME', ''); // MySQL database name
define('AMX_PREFIX', 'amx'); // MySQL table prefix
//** END AMXBANS MYSQL INFO ---------------------------
//** BEETLESMOD MYSQL INFO ----------------------------
// http://www.beetlesmod.com/
define('BM_HOST', 'localhost'); // MySQL host
define('BM_PORT', 3306); // MySQL port (Default 3306)
define('BM_USER', ''); // MySQL user
define('BM_PASS', ''); // MySQL password
define('BM_NAME', ''); // MySQL database name
define('BM_PREFIX', 'bm'); // MySQL table prefix
//** END BEETLESMOD MYSQL INFO ------------------------
//** GLOBALBAN MYSQL INFO -----------------------------
// http://addons.eventscripts.com/addons/view/GlobalBan
// http://forums.eventscripts.com/viewtopic.php?t=14384
define('GB_HOST', 'localhost'); // MySQL host
define('GB_PORT', 3306); // MySQL port (Default 3306)
define('GB_USER', ''); // MySQL user
define('GB_PASS', ''); // MySQL password
define('GB_NAME', 'global_ban'); // MySQL database name
define('GB_PREFIX', 'gban'); // MySQL table prefix
//** END GLOBALBAN MYSQL INFO -------------------------
//** MySQL Banning - MYSQL INFO -----------------------
// http://forums.alliedmods.net/showthread.php?t=65822
define('MB_HOST', 'localhost'); // MySQL host
define('MB_PORT', 3306); // MySQL port (Default 3306)
define('MB_USER', ''); // MySQL user
define('MB_PASS', ''); // MySQL password
define('MB_NAME', ''); // MySQL database name
define('MB_PREFIX', 'mysql'); // MySQL table prefix
//** END MySQL Banning - MYSQL INFO -------------------
//** HLSTATSX MYSQL INFO ------------------------------
// http://www.hlxcommunity.com/
define('HLX_HOST', 'localhost'); // MySQL host
define('HLX_PORT', 3306); // MySQL port (Default 3306)
define('HLX_USER', ''); // MySQL user
define('HLX_PASS', ''); // MySQL password
define('HLX_PREFIX', 'hlstats'); // MySQL table prefix
/*************************************************
/* We're using different databases for each of our server to isolate each ranking
/* Type the HLstatsX database name here like
/* $hlxdbs[] = "databasename";
/* It's fine to just type one database.
**************************************************/
$hlxdbs = array();
$hlxdbs[] = "hlstatsx";
//** END HLSTATSX MYSQL INFO --------------------------
?>