После установки SourceBans пропала команда "Забанить игрока"
#1
Отправлено 27 Январь 2012 - 20:12
#2
Отправлено 27 Январь 2012 - 20:17
1. Плагины>SourceMod>databases.cfg
2. Прокручиваете вниз
3. Перед последней закрывающейся скобкой } пишите:
"sourcebans" { "driver" "default" "host" "db.myarena.ru" "database" "название базы" "user" "пользователь" "pass" "пароль" //"timeout" "0" "port" "3306" }4. сохраняете
5. перезапускаете сервер
6. говорите мне "Спасибо"
---------
а в след. раз соседнюю тему читайте
#3
Отправлено 27 Январь 2012 - 20:17
А надо новую создать или изменить существующею?
#4
Отправлено 27 Январь 2012 - 20:18
#5
Отправлено 27 Январь 2012 - 20:21
{
"driver_default" "mysql"
"default"
{
"driver" "default"
"host" "***"
"database" "sourcemod"
"user" "***"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "***"
"database" "***"
}
"clientprefs"
{
"driver" "***"
"host" "***"
"database" "***"
"user" "***"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"sourcebans"
{
"driver" "default"
"host" "db.myarena.ru"
"database" "Сюда базу"
"user" "имя пользователя на веб-хостинге? или в базе"
"pass" "пароль от базы"
//"timeout" "0"
"port" "3306"
}
тАК?
#7
Отправлено 27 Январь 2012 - 20:25
Я там не понял, тоже пропадает "забанить"
#8
Отправлено 27 Январь 2012 - 20:26
#9
Отправлено 27 Январь 2012 - 20:27
#10
Отправлено 27 Январь 2012 - 20:32
МБ sourcebans.cfg не так настроен? Там ID сервера в SB стоять должен вроде
#11
Отправлено 27 Январь 2012 - 20:33
#12
Отправлено 27 Январь 2012 - 20:42
#13
Отправлено 27 Январь 2012 - 20:44
#14
Отправлено 27 Январь 2012 - 20:45
#15
Отправлено 27 Январь 2012 - 20:47
#16
Отправлено 27 Январь 2012 - 20:52
P.S Разобрался.просто пароль забыл написать
#17
Отправлено 27 Январь 2012 - 21:11
#18
Отправлено 27 Январь 2012 - 21:23
/** * 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://css-serv.myarena.ru/bans/" // 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" "45.0" // How often should we process the failed ban queue in minutes "ProcessQueueTime" "5" // Should the plugin automaticaly add the server to sourcebans // (servers without -ip being set on startup need this set to 0) "AutoAddServer" "1" // 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" "-1" } /* * 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" } }
#19
Отправлено 27 Январь 2012 - 21:24
"ServerID" "-1"
-1 измени на 1
#20
Отправлено 27 Январь 2012 - 21:25
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных