The Slavik
Участник
- Сообщения
- 437
- Реакции
- 49
где можно изменить время банов в админке? В каком файле и как...
sourcebans.sp - в этом файле пишешь свое время. потом его компилируешь и плагин файл заменяешь.
где можно изменить время банов в админке? В каком файле и как...
/**
* SourceBans Configuration File
*
* @author GameConnect
* @version 1.5.0
* @copyright SourceBans (C)2007-2013 GameConnect.net. All rights reserved.
* @package SourceBans
* @link http://www.sourcebans.net
*
* @version $Id$
*/
"SourceBans"
{
"Config"
{
// Website address to tell where the player to go for unban, etc
"Website" "http://www.yourwebsite.net"
// Allow or disallow admins access to sm_addban command
"Addban" "1"
// Allow or disallow admins access to sm_unban command
"Unban" "1"
// The table prefix 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" "45.0"
// How often should we process the failed ban queue in minutes
"ProcessQueueTime" "5"
// Require the admin to login once into the webpanel
"RequireSiteLogin" "0"
// If your game server is behind NAT or -ip is not set on startup,
// enter the public IP address or hostname of your game server below
"ServerIP" ""
}
/*
* Menu options for ban times
*/
[SIZE="2"][COLOR="red"]"BanTimes"
{
"Permanent"
{
"flags" ""
"length" "0"
}
"10 Minutes"
{
"flags" ""
"length" "10"
}
"30 Minutes"
{
"flags" ""
"length" "30"
}
"1 Hour"
{
"flags" ""
"length" "60"
}
"4 Hours"
{
"flags" ""
"length" "240"
}
"1 Day"
{
"flags" ""
"length" "1440"
}
"1 Week"
{
"flags" ""
"length" "10080"
}
}[/COLOR][/SIZE]
/*
* 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"
{
"1" "Hacking"
"2" "General Exploit of Game/Map/Server"
"3" "Team Killing"
"4" "Team Flashing"
"5" "Spamming Mic/Chat"
"6" "Inappropriate Spray"
"7" "Inappropriate Language"
"8" "Inappropriate Name"
"9" "Ignoring Admins"
"0" "Team Stacking"
"11" "Own Reason"
}
/*
* Submenu options for when "Hacking" is selected
* If "Hacking" removed from the menu above this will not be accessible
*/
"HackingReasons"
{
"1" "Aimbot"
"2" "Anti Recoil"
"3" "Wallhack"
"4" "Spinhack"
"5" "Speedhack"
"6" "Multi-Hack"
"7" "No Smoke"
"8" "No Flash"
}
}
Всем привет.
Все старые ошибки вроде бы исправил,но появилась новая
Появляется этот лог после того как кого то забаню[sourcebans.smx] Verify Insert Query Failed: Subquery returns more than 1 row
проверь совпадают ли рконы в сорсбенсе и кфгпомогите плиз показует типа N/A Error connecting (93.191.14.162:27013)
проверь совпадают ли рконы в сорсбенсе и кфг
помогите плиз показует типа N/A Error connecting (93.191.14.162:27013)
"Admins"
{
}
Ребята подскажите поставил соурс бан всё работает только нет функции забанить!
Заходишь в БД через phpmyadminПарни у кого есть опыт по смене ID сервера в базе данных? подскажите что где менять?
дано 16 ид
есть свободный 7 ид (сервер ранее был удален)
как поменять 16 ид на 7 ?
Заходишь в БД через phpmyadmin
Заходишь в таблицу sb_servers и там меняешь sid сервера где 16 на нужный жмешь изменить и меняешь