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

TempBan


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
415
Plugin Version:
1.0.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Ban a player until the map changes
    Old 06-06-2008 , 15:10   TempBan
    Reply With Quote #1

    TempBan
    Ban a player until the map changes.

    Commands:
    sm_tempban <name> - Ban the targetted player until the map changes.

    Notes:
    • I attached an example for the dynamicmenu for use on your servers. Alter it as you see fit.
    • At this time, I will not be updating this plugin to include timed bans. It may come in the future, but for now I am not going to do it.
    Changelog:
    • 1.0.0
      • Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (tempban.sp - 2727 views - 2.0 KB)
    File Type: txt dynamicmenu-example.txt (237 Bytes, 1021 views)

    Last edited by bl4nk; 06-06-2008 at 15:23.
    bl4nk is offline
    Dunno
    Member
    Join Date: Apr 2005
    Old 06-06-2008 , 15:17   Re: TempBan
    Reply With Quote #2

    Awesome TY!!!
    __________________
    Dunno is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 06-06-2008 , 15:49   Re: TempBan
    Reply With Quote #3

    Awesome! Should be added to the core of sourcemod!

    Otto
    ottobohn is offline
    PStar
    Veteran Member
    Join Date: Mar 2008
    Old 06-06-2008 , 19:18   Re: TempBan
    Reply With Quote #4

    Why?
    Bann for 10-20-30 mins is in the source mod.

    Sorry but i think this plugin is unnecessary.
    PStar is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 06-06-2008 , 19:39   Re: TempBan
    Reply With Quote #5

    Temporary bans with SourceMod are kept until the server is restarted or until the client is unbanned manually. This plugin saves the banned IDs and removes them on the next map change.
    bl4nk is offline
    Dunno
    Member
    Join Date: Apr 2005
    Old 07-15-2008 , 18:55   Re: TempBan
    Reply With Quote #6

    Quote:
    Originally Posted by PStar View Post
    Why?
    Bann for 10-20-30 mins is in the source mod.

    Sorry but i think this plugin is unnecessary.
    I myself use this to give a different level of admin ability to temp ban.

    The default system on allows for one flag for all banning.

    This system allows a different flag to have access to this command.
    __________________
    Dunno is offline
    zerak
    Senior Member
    Join Date: Feb 2008
    Old 07-15-2008 , 19:20   Re: TempBan
    Reply With Quote #7

    hmm thought that i you banned someone from 5 minutes that once these minutes is passed and the server change map that the player gets unbanned, am I wrong ?
    zerak is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 07-15-2008 , 20:28   Re: TempBan
    Reply With Quote #8

    Nope, I did a lot of testing before I pushed this out. The server caches the ban until the player is either manually unbanned or the server restarts.
    bl4nk is offline
    zerak
    Senior Member
    Join Date: Feb 2008
    Old 07-16-2008 , 05:28   Re: TempBan
    Reply With Quote #9

    hmm maybe file a bugreport, seems to me as a bug or at least making ban 5, 10 min etc worthless
    zerak is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 07-16-2008 , 05:32   Re: TempBan
    Reply With Quote #10

    File a bug report to who? Valve?
    bl4nk is offline
    Reply


    Thread Tools
    Display Modes

    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 22:07.


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