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

[TF2] TF2Jail (Jailbreak for TF2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Plugin ID:
3838
Plugin Version:
tf2jail_version
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Utility plugins for the Team Fortress 2 mode Jailbreak.
    Unapprover:
    Reason for Unapproving:
    "I am no longer supporting this plugin.", see https://forums.alliedmods.net/showpost.php?p=2622899&postcount=790
    Old 08-18-2013 , 02:18   [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #1



    Description:
    Team Fortress 2 Jailbreak [TF2Jail] is a plugin designed to help Jailbreak server operators have better control over their server. It consists of features such as Warden, Anti-Freekilling system, last requests, Freeday for clients, map management and more. Almost all features of this plugin can be edited or disabled depending on how the server operator wants to run the server.

    Credits:
    • nineteeneleven - Warden model and Blue Bans Panel.
    • ecca - Template for the Warden system.
    • Dreamy - Kills per second for the Anti-freekill system.
    • thetwistedpanda - Anti-Freekill Help with data timers.
    • ddhoward - Ammo killed on drop.
    • Friagram - Methods for the model code.
    • GoD-Tony - Great method to logging.
    • Powerlord - Discrepancies with the plugin and fixes.
    • Wing - Testing and commissioning some of the modules/features.

    ConVars:
    You can find the official list Here.

    Commands:
    You can find the official list of console commands Here.
    You can find the official list of admin commands Here.

    Last Request Config:
    Learn how to configure Last Requests Here.

    Recommended Plugins:
    • tf2-weapon-restrictions - Allows you to enable/disable weapons and items in-game.
    • Aim Names - Allows Guards team to know who is who with name tags when they point their cross-hair at them.
    • No Admin Configs - I use this to switch the action that the anti-freekill system takes based on if admins are online or not. (sm_jail_freekillers_action 2 without/0 with)

    Requirements:


    Includes:
    Installation Guide:
    1. Drag & Drop 'TF2Jail.smx' into your Plugins folder.
    2. Drag & Drop 'TF2Jail.phrases.txt' file into the Translations folder.
    3. Install the necessary Extensions above and the plugins if you want.
    4. Download and place the 'tf2jail' folder into your Configs folder inside Sourcemod.
    5. Restart your server fully, do not just change the map.

    How to Compile:
    1. Download the latest copy of 'TF2Jail.sp' off the Github Repository.
    2. Download the required Include files above.
    3. Download the latest copy of 'tf2jail.inc' inside of the Includes folder off the Github Repository.

    Code Repository | Download | Report Bugs | Donate

    Last edited by Drixevel; 11-07-2018 at 05:20. Reason: Updated Information.
    Drixevel is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 08-18-2013 , 02:34   Re: [TF2] TF2Jail (Jailbreak)
    Reply With Quote #2

    [Official Map List]

    GameBanana List of Maps shall be Here.

    [Developer]

    I put together some natives I thought would be useful to developers who want to create their own plugins. Feel free to use them in your own plugins if you have anything you need. I will be pasting the list of sub module plugins in this thread.

    List of Natives can be found Here.

    Code:
    // NOTE: Requires you check if the player is in-game, alive, etc.
    
    //Natives
    /**
     * Warden Check if exists.
     *
     * @return		True on success, false on failure.
     **/
    native TF2Jail_WardenActive();
    
    /**
     * Returns if client is Warden.
     *
     * @param client		Client is Warden.
     * @return		True on success, false on failure.
     **/
    native TF2Jail_IsWarden(client);
    
    /**
     * Sets a client to Warden.
     *
     * @param client		Client to become Warden.
     * @noreturn
     **/
    native TF2Jail_WardenSet(client);
    
    /**
     * Remove the Warden if there is one.
     *
     * @param client		Client to remove Warden.
     * @noreturn
     **/
    native TF2Jail_WardenUnset(client);
    
    /**
     * Returns if the client is a Freeday.
     *
     * @param client		Client is Freeday.
     * @return		True on success, false on failure.
     **/
    native TF2Jail_IsFreeday(client);
    
    /**
     * Sets a client to Freeday.
     *
     * @param client		Client to give Freeday.
     * @noreturn
     **/
    native TF2Jail_GiveFreeday(client);
    
    /**
     * Returns if the client is a Rebel.
     *
     * @param client		Client is Rebel.
     * @return		True on success, false on failure.
     **/
    native TF2Jail_IsRebel(client);
    
    /**
     * Marks a client as a Rebel.
     *
     * @param client		Client to mark Rebel.
     * @noreturn
     **/
    native TF2Jail_MarkRebel(client);
    
    /**
     * Returns if the cilent is a Freekiller.
     *
     * @param client		Client is Freekiller.
     * @return		True on success, false on failure.
     **/
    native TF2Jail_IsFreekiller(client);
    
    /**
     * Marks the client as a Freekiller.
     *
     * @param client		Client to mark Freekiller.
     * @noreturn
     **/
    native TF2Jail_MarkFreekiller(client);
    
    /**
     * Strip clients to melee while using TF2Jail Rules. (Keep Weapons, ammo = 0)
     *
     * @param client		Client to Strip to melee.
     * @noreturn
     **/
    native TF2Jail_StripToMelee(client);
    
    /**
     * Strip client to melee entirely using TF2Jail rules.
     *
     * @param client		Client to Strip entirely.
     * @noreturn
     **/
    native TF2Jail_StripAllWeapons(client);
    
    /**
     * Lock warden from being allowed.
     *
     * @noreturn
     **/
    native TF2Jail_LockWarden();
    
    /**
     * Unlock warden from being allowed.
     *
     * @noreturn
     **/
    native TF2Jail_UnlockWarden();
    
    /**
     * Log using TF2Jail's logging system/rules.
     *
     * @param log			String or text to log.
     * @param ...			Formatting parameters.
     * @noreturn
     **/
    native TF2Jail_Log(const String:log[], any:...);
    
    /**
     * Returns if the current round is a Last Request day.
     *
     * @return		True on success, false on failure.
     **/
    native TF2Jail_IsLRRound();
    
    /**
     * Returns if the current round is a Last Request day.
     *
     * @param Status		Cell to execute. (OPEN, CLOSE, LOCK, UNLOCK) (If doors are locked, they must be unlocked to open)
     * @return		True on success, false on incompatible map.
     **/
    native TF2Jail_ManageCells(eDoorsMode:Status);
    
    //Forwards
    /**
     * Called when the Warden has been assigned/created via the plugin or natives.
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnWardenCreated(client);
    
    #pragma deprecated Use TF2Jail_OnWardenCreated(client) instead.
    forward Warden_OnWardenCreated(client);
    
    /**
     * Called when the Warden has been removed/retired via the plugin or natives.
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnWardenRemoved(client);
    
    #pragma deprecated Use TF2Jail_OnWardenRemoved(client) instead.
    forward Warden_OnWardenRemoved(client);
    
    /**
     * Called when a last request is about to be executed.
     *
     * @param Handler		String or text called by the Handler in the Last Request configuration file. (Use this to differentiate your custom LRs)
     * @noreturn
     **/
     forward TF2Jail_OnLastRequestExecute(const String:Handler[]);
     
     /**
     * Called when a client is given Freeday. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnFreedayGiven(client);
    
     /**
     * Called when a client has been removed from Freeday. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnFreedayRemoved(client);
    
     /**
     * Called when a client has marked as a Freekiller. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnFreekillerGiven(client);
    
     /**
     * Called when a client has been cleared from Freekiller. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnFreekillerRemoved(client);
    
     /**
     * Called when a client has marked as a Rebel. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnRebelGiven(client);
    
     /**
     * Called when a client has been cleared from Rebel. (post)
     *
     * @param client		Client Index
     * @noreturn
     **/
    forward TF2Jail_OnRebelRemoved(client);
    [Modules] - Modules are plugins that run separately from TF2Jail but add extra features that aren't built into TF2Jail itself.
    ============================================= ===========
    [Prisoner Models - 1.0.0]

    Description: Allows Prisoners/Red team to be able to equip a model which allows them to look like Prisoners. I built the plugin and Nineteen built the models. (Special thanks to him)

    SMX: -- Download --
    Source: -- Download --

    Models:
    http://nineteeneleven.info/downloads...oner_models.7z
    ============================================= ===========
    [Team Bans 1.0.5]

    Description: Allows administrators to ban players red the red or blue team. (Development)

    SMX: -- Download --
    Source: -- Download --
    Translation: -- Download --
    ============================================= ===========
    [Warden Votes - 1.0.2] [Commissioned by Wing of IdleServer.com]

    Description: Allows server operators to set Wardens to be voted for instead of clients becoming warden via commands.

    SMX: -- Download --
    Source: -- Download --
    ============================================= ===========

    Last edited by Drixevel; 10-14-2014 at 21:04.
    Drixevel is offline
    Newbie1992
    Senior Member
    Join Date: Jan 2013
    Location: Germany
    Old 08-18-2013 , 03:18   Re: [TF2] TF2Jail (Jailbreak)
    Reply With Quote #3

    wow looks nice ... will test it

    thanks!
    __________________
    Newbie1992 is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 08-18-2013 , 07:02   Re: [TF2] TF2Jail (Jailbreak)
    Reply With Quote #4

    Quote:
    Originally Posted by Newbie1992 View Post
    wow looks nice ... will test it

    thanks!
    Keep in mind, I'm still working on it. I posted it here for feedback, you're most like to experience bugs with it. Any feedback as well to new functionality I can add or command variables/commands in-general would be nice as well.

    - Jack

    Also, I'll be making the list of credits this afternoon on the Github repo wiki to keep everything organized for me, just to let you know.

    Last edited by Drixevel; 08-18-2013 at 09:16.
    Drixevel is offline
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 08-18-2013 , 09:49   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #5

    I had never played Jailbreak due to me not being a fan of Counter Strike, but had always wanted to try it out and see what the hype was about. I may just give this a shot, looks cool.
    Snaggle is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 08-18-2013 , 13:36   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #6

    Quote:
    Originally Posted by Snaggle View Post
    I had never played Jailbreak due to me not being a fan of Counter Strike, but had always wanted to try it out and see what the hype was about. I may just give this a shot, looks cool.
    If you run a multi-mod server, I'd like for you to give me feedback on if it disables properly which I'm assuming you do.

    Cheers my good man,
    - Jack
    Drixevel is offline
    kamild1996
    Senior Member
    Join Date: May 2011
    Old 08-18-2013 , 15:22   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #7

    What? Two weeks ago I configured my server to work in Jailbreak mode by setting up all plugins by myself, I even wrote one plugin to complete it. And today there is a Jailbreak TF2 Manager in one plugin? I am now so angry at me :C
    Anyway, I am also very curious how this plugin make things working so I will test it like tomorrow. Thanks for developing that! Can't wait

    PS: Do you have any screenshots of Warden model?

    Last edited by kamild1996; 08-18-2013 at 15:23.
    kamild1996 is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 08-18-2013 , 16:34   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #8

    Quote:
    Originally Posted by kamild1996 View Post
    What? Two weeks ago I configured my server to work in Jailbreak mode by setting up all plugins by myself, I even wrote one plugin to complete it. And today there is a Jailbreak TF2 Manager in one plugin? I am now so angry at me :C
    Anyway, I am also very curious how this plugin make things working so I will test it like tomorrow. Thanks for developing that! Can't wait

    PS: Do you have any screenshots of Warden model?
    It has a few issues to it I need to address but most of it should work for you. I'll post up screenshots soon of the model.

    - Jack
    Drixevel is offline
    nineteeneleven
    Veteran Member
    Join Date: Nov 2010
    Old 08-18-2013 , 18:08   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #9

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    I'll post up screenshots soon of the model.
    you can find screenshots, where the model came from.

    http://nineteeneleven.info/models/
    __________________

    Last edited by nineteeneleven; 08-18-2013 at 18:28.
    nineteeneleven is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 08-19-2013 , 10:29   Re: [TF2] TF2Jail (Jailbreak for TF2)
    Reply With Quote #10

    Quote:
    Originally Posted by nineteeneleven View Post
    you can find screenshots, where the model came from.

    http://nineteeneleven.info/models/
    Of course!

    - Jack
    Drixevel 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 13:42.


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