Raised This Month: $51 Target: $400
 12% 

[STB2] Save Temporary Bans 2


Post New Thread Reply   
 
Thread Tools Display Modes
fifipaldi
Member
Join Date: Apr 2011
Old 05-25-2011 , 13:01   Re: [STB] Save Temporary Bans
Reply With Quote #31

It works. Thank tou. Alltrough it still says:

[SM] Removed bans matching filter: STEAM_0:0:*******
removeid: couldn't find STEAM_0:0:********
Writing cfg/banned_user.cfg.

But the ban is gone.
fifipaldi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-26-2011 , 09:21   Re: [STB] Save Temporary Bans
Reply With Quote #32

Quote:
Originally Posted by fifipaldi View Post
It works. Thank tou. Alltrough it still says:

[SM] Removed bans matching filter: STEAM_0:0:*******
removeid: couldn't find STEAM_0:0:********
Writing cfg/banned_user.cfg.

But the ban is gone.
Try understand, only permanent bans are stored in ...cfg/banned_user.cfg. Nothing else.

Temporary bans what have time when it expire are not save any files normally, it store in server "memory" what disapear when reboot server.

This plugin save these temporary bans in ...addons/sourcemod/data/sqlite/stb-sqlite.sq3
It also remove srcds-ban from server "memory", because to get that kick reason to work (show to banned person how much time left)

If you want regular srcds bans to work (this disable that kick reason from banned person)
change config
stb_rejectmode 0
Bacardi is offline
fifipaldi
Member
Join Date: Apr 2011
Old 05-26-2011 , 14:09   Re: [STB] Save Temporary Bans
Reply With Quote #33

I understand everything perfectly. And everything works fine. Thank you one more time
fifipaldi is offline
fifipaldi
Member
Join Date: Apr 2011
Old 06-01-2011 , 01:19   Re: [STB] Save Temporary Bans
Reply With Quote #34

L 05/31/2011 - 14:17:57: Error log file session closed.
L 05/31/2011 - 18:29:49: SourceMod error session started
L 05/31/2011 - 18:29:49: Info (map "de_dust2") (file "errors_20110531.log")
L 05/31/2011 - 18:29:49: [stb.smx] Failed to query: near "m": syntax error
L 05/31/2011 - 19:25:26: Error log file session closed.

And this ?
fifipaldi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-01-2011 , 08:29   Re: [STB] Save Temporary Bans
Reply With Quote #35

Quote:
Originally Posted by fifipaldi View Post
L 05/31/2011 - 14:17:57: Error log file session closed.
L 05/31/2011 - 18:29:49: SourceMod error session started
L 05/31/2011 - 18:29:49: Info (map "de_dust2") (file "errors_20110531.log")
L 05/31/2011 - 18:29:49: [stb.smx] Failed to query: near "m": syntax error
L 05/31/2011 - 19:25:26: Error log file session closed.

And this ?
I guess you have try banned player who have ' in name (or admin name)... like ex. pete's
Or have ' in reason text.
Updated/fixed...

- I have now workin another version (STB2) replacing this,
so it not save anymore player/admin name, reason text and date when have banned. (Use SourceBan if you want these features)
Support using SM sqlite or MySql.
Print in chat and show banned player, ban length and day+time when expire.

I have now little bit practice these sqlite/mysql queryie's but don't have much freetime, someday I release it.
It now on test our server.
Bacardi is offline
fifipaldi
Member
Join Date: Apr 2011
Old 06-03-2011 , 06:01   Re: [STB2] Save Temporary Bans 2
Reply With Quote #36

Previous version was much better. I needed exactly sometnihg like this. With admin name, reason, time and playername and i dont want to install sourcebans on my servers... Ill not update to stb2 or i will look for a similar plugin.
fifipaldi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-03-2011 , 07:53   Re: [STB2] Save Temporary Bans 2
Reply With Quote #37

Quote:
Originally Posted by fifipaldi View Post
Previous version was much better. I needed exactly sometnihg like this. With admin name, reason, time and playername and i dont want to install sourcebans on my servers... Ill not update to stb2 or i will look for a similar plugin.
I understand.
I just wanted make simple plugin to get temporay bans work, nothing else.

*edit
Ou yeah.
Updated!
Is now STB2.
Not save anymore names, reason text.
Show now expired date to banned player.
Translation file to edit kick message and chat announce message
Can now use either SM SQLite or MySQL

Last edited by Bacardi; 06-03-2011 at 13:56.
Bacardi is offline
ViRaGisTe
Member
Join Date: Feb 2011
Old 06-07-2011 , 19:34   Re: [STB2] Save Temporary Bans 2
Reply With Quote #38

yes plugin is now lighter !
But why did you remove the reason .. it's really necessary to avoid mis-understandings !
ViRaGisTe is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 06-09-2011 , 13:19   Re: [STB2] Save Temporary Bans 2
Reply With Quote #39

Would it be possible to add the reason, and name of the ban when typing sm_stb2_banlist.
__________________
Chaosxk is offline
POLICEMATRIX
BANNED
Join Date: May 2011
Location: Liverpool {UK}
Old 08-03-2011 , 09:40   Re: [STB2] Save Temporary Bans 2
Reply With Quote #40

this plugin is awesome works perfect
only slight problem for me anyway was editing the cfg file would like to see a download for databases.cfg already edited
POLICEMATRIX is offline
Send a message via Skype™ to POLICEMATRIX
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 17:18.


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