View Single Post
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-17-2014 , 03:26   Re: Website URL in Sourcebans.cfg dont work
Reply With Quote #23

Wow, took me like 10 Minutes to get passed the Cloudflare timeouts to finally reload the page successful. I know you're going for security, but Cloudflare is so bad.

Anyways, I found a way to fix it in case someone is interested to change that as well.
In /includes folder is a file called sb-callback.php and there I changed the following line ...

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://" . $_SERVER['HTTP_HOST'].$requri." for more info.\"");
to

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://www.whatever.com for more info.\"");
That fixed the kick message to a custom URL, when doing it from the Webpanel.

P.S: Again, I had to retry like 10x before I could submit this post. Thanks to crappy Cloudflare.
Wolfseye is offline
Send a message via Skype™ to Wolfseye