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

[TF2] Extended Free2BeKicked


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Monkeys
Veteran Member
Join Date: Jan 2010
Plugin ID:
2413
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Extended version of Asherkin's Free2BeKicked
    Old 07-01-2011 , 14:49   [TF2] Extended Free2BeKicked
    Reply With Quote #1


    Asherkin's Free2BeKicked plugin was getting a lot of hate for the simple "kick all F2P" setting it had, so I decided to extend it a little.

    Like the original, this also requires the SteamTools extension.

    I was going to add renaming, but DarthNinja's Free2BeRenamed already covered that more than nicely.

    What this plugin actually adds is:
    One cvar:
    anti_f2p_minslots
    Default "0" (off) - This decides at how many open slots remaining it should start blocking new F2P connections. Meaning if you set it to 2 on a 24 slot server, no new F2P accounts will be able to join once 22 players are connected.

    Four admin commands:
    sm_kick_f2p
    Requires admin kick access. Kicks a randomly selected F2P player from your server.
    sm_kick_last_f2p
    Requires admin kick access. Kicks the last F2P player to join the server (meaning he has the lowest connection time).
    sm_kick_first_f2p
    Requires admin kick access. Kicks the first F2P player to join the server (meaning he has the highest connection time).
    sm_temp_block_f2p
    <Float: Duration Default "0.0"> - Requires admin ban access. Temporarily blocks all F2P connections to the server for the given duration in minutes, so 0.5 will block for 30 seconds. Use -1.0 for a permanent block and 0.0 to remove it.
    Attached Files
    File Type: sp Get Plugin or Get Source (ext_anti_f2p.sp - 440 views - 4.6 KB)
    File Type: smx ext_anti_f2p.smx (4.7 KB, 505 views)
    __________________
    Get a lid on that zombie,
    he's never gonna be alri-i-ight.
    Oooh get a lid on that zombie,
    or he's gonna feed all night.
    Monkeys is offline
    Monkeys
    Veteran Member
    Join Date: Jan 2010
    Old 07-01-2011 , 14:54   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #2

    I also have a feeling I forgot something. I can't find what, but that's because I forgot it.

    If you do find what I seem to have forgotten, don't forget to tell me.
    __________________
    Get a lid on that zombie,
    he's never gonna be alri-i-ight.
    Oooh get a lid on that zombie,
    or he's gonna feed all night.
    Monkeys is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-01-2011 , 16:33   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #3

    the minslots command is very useful, i'll test it asap! thx for this awesome plugin
    about what you forgot, maybe a sm_kick_allf2p command?
    napalm00 is offline
    Monkeys
    Veteran Member
    Join Date: Jan 2010
    Old 07-02-2011 , 16:03   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #4

    That wasn't it, but not a bad idea!
    __________________
    Get a lid on that zombie,
    he's never gonna be alri-i-ight.
    Oooh get a lid on that zombie,
    or he's gonna feed all night.
    Monkeys is offline
    King John
    Junior Member
    Join Date: Feb 2010
    Old 07-09-2011 , 02:48   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #5

    Heya, when I go to compile it says this:
    // C:\(Path to sourcemod comp folder)\scripting\ext_anti_f2p.sp(54) : error 017: undefined symbol "Steam_CheckClientSubscription"

    Help please?
    King John is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-09-2011 , 03:55   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #6

    Quote:
    Originally Posted by King John View Post
    Heya, when I go to compile it says this:
    // C:\(Path to sourcemod comp folder)\scripting\ext_anti_f2p.sp(54) : error 017: undefined symbol "Steam_CheckClientSubscription"

    Help please?
    most likely you are missing the SteamTools extension by asherkin. Go to the Extension forum and download it, including the .inc file
    __________________
    napalm00 is offline
    Monkeys
    Veteran Member
    Join Date: Jan 2010
    Old 07-09-2011 , 04:47   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #7

    And don't try compiling it with the forum's compiler, won't work ;)
    __________________
    Get a lid on that zombie,
    he's never gonna be alri-i-ight.
    Oooh get a lid on that zombie,
    or he's gonna feed all night.
    Monkeys is offline
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 07-27-2012 , 07:40   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #8

    There is a big issue with this plugin, it doesn't kick F2P player when the last server slot is filled by Premium player. I have set anti_f2p_minslots to 1. It kicks only the F2P that is connecting to nearly full server.
    __________________
    FrozenHaxor is offline
    nineteeneleven
    Veteran Member
    Join Date: Nov 2010
    Old 03-12-2013 , 16:58   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #9

    does this plugin check if the client is admin? for donors in my case, lol they rather donate to my server then buy the game... i donno.
    __________________
    nineteeneleven is offline
    lyric
    Veteran Member
    Join Date: Sep 2012
    Old 03-14-2013 , 11:47   Re: [TF2] Extended Free2BeKicked
    Reply With Quote #10

    Quote:
    Originally Posted by nineteeneleven View Post
    lol they rather donate to my server then buy the game... i donno.
    its because you run a vsh server. things like making sense will never exist in such a place.

    there is no way with this plugin to override players with flags. im actually suprised people actually care about free 2 play players still. all the good people have left tf2 now and only teh free 2 play are left
    lyric 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 02:11.


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