I'm running a couple of CS:GO servers on my VDS, and everything is good so far.
I really wanted to get Sourcebans going, so i setup a website, and got it installed with no problems at all. But when i went in to try it out - it was not working so well. I was able to ban players, but they would not show up on the banlist, in the websection. Also, they would be unbanned after server restart.
Im getting nothing in my logs.
The strange thing is, that i have the exact same thing going, with a server, hosted from a gsp, and here everything is smooth, with bans showing up and all.
The database.cfg is the same, and i DID remember to set the server ID in the sourcebans.cfg
I would really appreciate some help.
My databases.cfg
Using this:
Code: Select all
"Databases"
{
"driver_default" "mysql"
// When specifying "host", you may use an IP address, a hostname, or a socket file path
"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"sourcebans"
{
"driver" "mysql"
"host" "csgodanmark.hosted.nfoservers.com" // The host where your mysql server is located
"database" "behrentzs_sbnew" // The name of the database
"user" "xxxxx" // The name of the user that the plugin should use to connect
"pass" "xxxx" // The password for this user
"port" "3306"
}
Code: Select all
This is the databases.cfg, from the server it works on.
"Databases"
{
"driver_default" "mysql"
// When specifying "host", you may use an IP address, a hostname, or a socket file path
"default"
{
"driver" "default"
"host" "localhost"
"database" "steam"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"sourcebans"
{
"driver" "mysql"
"host" "csgodanmark.hosted.nfoservers.com" // The host where your mysql server is located
"database" "behrentzs_sbnew" // The name of the database
"user" "xxx" // The name of the user that the plugin should use to connect
"pass" "xxx" // The password for this user
}
}