Raised This Month: $32 Target: $400
 8% 

[STB2] Save Temporary Bans 2


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-09-2012 , 23:38   Re: [STB2] Save Temporary Bans 2
Reply With Quote #61

Quote:
Originally Posted by killjoy64 View Post
Do you need to put exec autoexec in server.cfg?
No, I don't need to do it
__________________
Do not Private Message @me
Bacardi is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 12-10-2012 , 00:39   Re: [STB2] Save Temporary Bans 2
Reply With Quote #62

For me never not purged the database. The expired bans still showing here, after the server restart and map changes too. It is normal or i do something wrongly?

Game CSS
Linux
stb2_leave_srcds_ban "0"
stb2_mode "2"


Database:
Code:
    ...
    "stb2"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "stb2"
        "user"                "root"
        "pass"                ""
    }
    ...
Code:
Metamod:Source version 1.10.0-dev
Build ID: 811:defa542a3fb6-dev
Loaded As: Valve Server Plugin
Compiled on: Oct 28 2012
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

 SourceMod Version Information:
    SourceMod Version: 1.5.0-dev+3683
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev+3683)
    SourcePawn API: v1 = 4, v2 = 4
    Compiled on: Nov  3 2012 12:11:09
    Build ID: 3683:96cdbff8075f
    http://www.sourcemod.net/

Last edited by pubhero; 12-10-2012 at 01:13.
pubhero is offline
ES3TH
Junior Member
Join Date: May 2012
Location: Chișinău
Old 01-13-2013 , 09:51   Re: [STB2] Save Temporary Bans 2
Reply With Quote #63

Hello, thank you for great plugin. It' really useful, but can you add the possibility to save permanent bans too, not only those up to one year?

Best regards, ES3TH

Last edited by ES3TH; 01-13-2013 at 09:51.
ES3TH is offline
Send a message via Yahoo to ES3TH Send a message via Skype™ to ES3TH
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 02-13-2013 , 10:53   Re: [STB2] Save Temporary Bans 2
Reply With Quote #64

Quote:
Originally Posted by ES3TH View Post
Hello, thank you for great plugin. It' really useful, but can you add the possibility to save permanent bans too, not only those up to one year?

Best regards, ES3TH
scrds saves permanent bans already
s.m.a.c head is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 09-30-2013 , 12:40   Re: [STB2] Save Temporary Bans 2
Reply With Quote #65

I do not have autoexec.cfg, only have server.cfg, banned_ip.cfg and banned_user.cfg

There are 4 command in my server.cfg:
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

I just banned a guy for 1 week, he tried to rejoin but not able to and we can view the countdown.

After that I went in to view my banned_user.cfg but it's blank inside

Has it been saved?

If I shut-down my server and to start it again will it continue the duration from where it left off?

Last edited by winged_box; 09-30-2013 at 12:42.
winged_box is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 09-30-2013 , 12:58   Re: [STB2] Save Temporary Bans 2
Reply With Quote #66

Ok, I think i know where it stored the banned player already.

"Bans start save in ...addons/sourcemod/data/sqlite/stb2.sq3"
winged_box is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 02-24-2014 , 02:32   Re: [STB2] Save Temporary Bans 2
Reply With Quote #67

Can we add ingame menu to unban ?
would be great
__________________

Last edited by nguyenbaodanh; 02-24-2014 at 02:36. Reason: wrong info
nguyenbaodanh is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 03-19-2014 , 22:02   Re: [STB2] Save Temporary Bans 2
Reply With Quote #68

Bacardi,

I've been using your plugin for a while. I do have an issue with it. When I ban someone, sometimes they join back a few times and it spams the chat. The middle is the "Banned chat" and the bottom is "Banned".

With Connect Announce

[img]http://img811.**************/img811/2546/6h06.jpg[/img]

Without Connect Announce

[img]http://img513.**************/img513/8992/o99f.jpg[/img]

Is there something you could do here?

Last edited by sipster19; 03-19-2014 at 22:58.
sipster19 is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-21-2015 , 09:22   Re: [STB2] Save Temporary Bans 2
Reply With Quote #69

Bacardi,

With all do respect, please allow someone to fix your English at the main post ;)
Vastrix is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 07-04-2015 , 07:56   Re: [STB2] Save Temporary Bans 2
Reply With Quote #70

Quote:
Originally Posted by sipster19 View Post
Bacardi,

I've been using your plugin for a while. I do have an issue with it. When I ban someone, sometimes they join back a few times and it spams the chat. The middle is the "Banned chat" and the bottom is "Banned".

With Connect Announce

[img]http://img811.**************/img811/2546/6h06.jpg[/img]

Without Connect Announce

[img]http://img513.**************/img513/8992/o99f.jpg[/img]

Is there something you could do here?
CA is spamming the chat with the second message/ maybe turn that disconnect message off?
s.m.a.c head is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode