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

[TF2] [DoDS] Class Restrictions for individual players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
665
Plugin Version:
1.0.102
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Blocks individual players from joining a certain class
    Old 12-08-2008 , 01:42   [TF2] [DoDS] Class Restrictions for individual players
    Reply With Quote #1

    Occasionally, servers have players who refuse to give up a limited class such as a sniper or HWG and need to be prevented from using that class.
    Or perhaps you have players who have questionable talents who may need to be persuaded to try other classes.
    One example of a use is in a match where each player is designated a particular class and is not allowed to use any other classes.


    This plugin will prevent individual players from joining that particular class.


    Supported Mods
    Team Fortress 2
    Day of Defeat Source


    Installation
    • TF2 - Copy sm_class_block.smx file to addons/sourcemod/plugins folder
    • DoDS - Copy sm_dod_class_block.smx file to addons/sourcemod/plugins folder

    Commands
    TF2
    sm_blockclass <name|#userid> <scout|sniper|soldier|demo|medic|heavy|pyro|s py|engineer>
    Blocks a class for a particular player

    sm_unblockclass <name|#userid> <scout|sniper|soldier|demo|medic|heavy|pyro|s py|engineer>
    Unblocks a class for a particular player


    DoDS
    sm_blockclass <name|#userid> <rifleman|assault|support|sniper|mg|rocket>
    Blocks a class for a particular player

    sm_unblockclass <name|#userid> <rifleman|assault|support|sniper|mg|rocket>
    Unblocks a class for a particular player



    Configuration
    sm_class_block_enabled <1 | 0>
    Turns on and off the plugin

    Notes
    Is also available from Admin menu under Player Commands.

    Creates a file in /configs called sm_class_block.txt. In this, the data is stored for each player and can be edited manually if necessary.

    The data is stored locally on the server itself and is not designed for cross server control.


    Changelog
    v1.0.101 - Release

    v1.0.102 - Fixed small bug where client array was not being cleared for new players
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_dod_class_block.sp - 2314 views - 13.5 KB)
    File Type: sp Get Plugin or Get Source (sm_class_block.sp - 2176 views - 15.8 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org

    Last edited by strontiumdog; 12-13-2008 at 23:32.
    strontiumdog is offline
     



    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 18:19.


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