Проблема с настройкой sourcemod и sourcebans

mihalbl4

Участник
Сообщения
3
Реакции
0
На серве стоит sourcemod и mani admin plugin
плюс ко всему ещё и sourcebans
В чём может быть беда, прописываю sm_admin баню игрока, его как бы банит и в sorcebans он появляется, но всё равно сразу после кика может зайти не смотря на то что бан на 10 минут

Как исправить проблему не подскажите?
 

vectorserver

♥♥♥♥♥ by game.cominet.ru
Сообщения
201
Реакции
246
В папке ..addons/sourcemod/configs/sourcebans есть файл конфигурации "sourcebans.cfg"

sourcebans.cfg
PHP:
/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
	"Config"
	{
		// Website address to tell where the player to go for unban, etc
		"Website"			"http://ваш сайт"

		// Allow or disallow admins access to addban command
		"Addban"			"1"

		// Allow or disallow admins access to unban command
		"Unban"				"1"

        // The Tableprefix you set while installing the webpanel. (default: "sb")
		"DatabasePrefix"	"sb"

		// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
		"RetryTime"			"15.0"

		// How often should we process the failed ban queue in minutes
		"ProcessQueueTime"	"1"

		// Should the plugin automaticaly add the server to sourcebans
		// (servers without -ip being set on startup need this set to 0)
		"AutoAddServer"		"адрес ксс сервера"
		"AutoAddServer"		"порт"

		// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
		"BackupConfigs"	"1"

		// Enable admin part of the plugin (1 = enabled, 0 = disabled)
		"EnableAdmins"	"1"

		// Require the admin to login once into website
		"RequireSiteLogin"	"0"

		// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
		"ServerID"		"2"
	}

	/*
	 * Generic menu options for if a reason isn't supplied in a ban
	 * Without a supplied reason the ban will never be written to the database
	 */
	"BanReasons"
	{
		"Hacking"	"Hacking"
		"Exploit"	"General Exploit of Game/Map/Server"
		"TK"	"Team Killing"
		"TF"	"Team Flashing"
		"CommSpam"	"Spamming Mic/Chat"
		"BadSpray"	"Inappropriate Spray"
		"BadLang"	"Inappropriate Language"
		"BadName"	"Inappropriate Name"
		"IgnoreAdmin"	"Ignoring Admins"
        "Stacking"	"Team Stacking"
		"Own Reason"	"Own Reason"
	}

	/*
	 * Submenu options for when "Hacking" is selected
	 * If "Hacking" is removed from the menu above this will not be accessable
	 */
	"HackingReasons"
	{
		"Aimbot"	"Aimbot"
		"Antirecoil"	"Anti Recoil"
		"Wallhack"	"Wallhack"
		"Spinhack"	"Spinhack"
		"Speedhack"	"Speedhack"
		"Multi-Hack"	"Multi-Hack"
		"No Smoke"	"No Smoke"
		"No Flash"	"No Flash"
	}
}

и в ..addons/sourcemod/configs есть файлик "databases.cfg"
databases.cfg
PHP:
"Databases"
{
	"driver_default"		"mysql"

	"sourcebans"
	{
		"driver"			"mysql"
		"host"				"х.х.х.х"
		"database"			"хххх"
		"user"				"хххх"
		"pass"				"хххх"
		//"timeout"			"0"
		"port"			"3306"
	}

	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}

А причина ваша в том что сервер не может брать инфу с базы данных www сервера.
 
Сверху Снизу