Sourcebans Compatibility
-
- New to forums
- Posts: 8
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Jul 11, 2014 5:54 pm
Sourcebans Compatibility
Hi, I was wondering if my Gmod TTT server on a VDS I own will be able to run sourcebans properly? Sourcebans runs off sourcemod and metamod and can be found at sourcebans.net if you're wondering
Re: Sourcebans Compatibility
Yes, you need to download the lua sourcebans file. There are a couple broken ones, you will need to find the right one.Chimpanzeee wrote:Hi, I was wondering if my Gmod TTT server on a VDS I own will be able to run sourcebans properly? Sourcebans runs off sourcemod and metamod and can be found at sourcebans.net if you're wondering
Not a NFO employee
-
- New to forums
- Posts: 8
- Joined: Fri Jul 11, 2014 5:54 pm
Re: Sourcebans Compatibility
Does this seem like the right one? http://www.facepunch.com/showthread.php?t=980687soja wrote:Yes, you need to download the lua sourcebans file. There are a couple broken ones, you will need to find the right one.Chimpanzeee wrote:Hi, I was wondering if my Gmod TTT server on a VDS I own will be able to run sourcebans properly? Sourcebans runs off sourcemod and metamod and can be found at sourcebans.net if you're wondering
-
- New to forums
- Posts: 8
- Joined: Fri Jul 11, 2014 5:54 pm
Re: Sourcebans Compatibility
Alright so, sorry for the load of questions, if I've got that installed, and sourcebans, after the next server restart it should be functioning properly?soja wrote:Yes, that looks like the one we use on our servers.
Re: Sourcebans Compatibility
Assuming everything is configured properly, and you use sban instead of the normal ULX ban, yes.Chimpanzeee wrote:Alright so, sorry for the load of questions, if I've got that installed, and sourcebans, after the next server restart it should be functioning properly?soja wrote:Yes, that looks like the one we use on our servers.
Not a NFO employee
-
- New to forums
- Posts: 8
- Joined: Fri Jul 11, 2014 5:54 pm
Re: Sourcebans Compatibility
Wait so do I need to install http://www.facepunch.com/showthread.php?t=1311847 or should the thread I already linked come with sbansoja wrote:Assuming everything is configured properly, and you use sban instead of the normal ULX ban, yes.Chimpanzeee wrote:Alright so, sorry for the load of questions, if I've got that installed, and sourcebans, after the next server restart it should be functioning properly?soja wrote:Yes, that looks like the one we use on our servers.
-
- New to forums
- Posts: 8
- Joined: Fri Jul 11, 2014 5:54 pm
Re: Sourcebans Compatibility
Sorry for the double post, but I seem to have gotten sourcebans working on my server, but the issue here is whenever I ban someone in-game, when the time expires they do not get unbanned. Well they do through sourcebans, but for some reason their STEAMID is filtered through the base gmod STEAMID filter, and you have to do sm_unban manually to force it to do removeid <STEAMID>. Doing it through the website does not do this, so I'm guessing this has something to do with the function that Sourcebans calls when it bans in-game?
This is the function :
I'm guessing it's an issue with doBan doing the base steamID filter, but I have no clue how to fix this. If anyone could point me in the right direction it'd be great.
Take note, even removing the ban from the database manually won't do the trick
This is the function :
Code: Select all
function BanPlayer(ply, time, reason, admin, callback)
callback = callback or blankCallback;
if (not checkConnection()) then
return callback(false, "No Database Connection");
elseif (not ply:IsValid()) then
error("Expected player, got NULL!", 2);
end
doBan(ply:SteamID(), getIP(ply), ply:Name(), time, reason, admin, callback);
end
Take note, even removing the ban from the database manually won't do the trick