Monthly Target: $400 Donations: $140
 35% 

[ANY] Freeze All (0.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Plugin ID:
2056
Plugin Version:
0.3
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Allows admins to freeze all players on server and give immunity to selected players.
    Old 11-06-2010 , 17:38   [ANY] Freeze All (0.3)
    Reply With Quote #1

    [ANY] Freeze All (0.3)


    I actually coded most of this a long time ago, but I recently added the immunity admin menu stuff so I thought id post it.

    Description:
    Administrative plugin that allows admins to freeze all players on the server(except for that admin). Also allows for giving immunity to specified players via admin menu.

    I coded this because I wanted something a little more powerful than sm_freeze @all which doesnt account for players dying, nor does it allow an infinite non-annoying way of freezing everyone.

    You can even exec this on a server before players have joined, then once they join and spawn, they will be automatically frozen. Players will be frozen until you either unfreeze them or change maps.

    Admin Command/Use:
    (Admin flag access: BAN flag)

    !freezeall/sm_freezeall in chat/console to toggle freezing all.

    Also, FreezeAll menu is auto-added to admin menu.



    Installation/Cvars:

    - Place .smx into the plugins folder
    - Place below cvar into sourcemod.cfg if you wish:
    sm_freezeall_enabled "1" //Enable freezeall all plugin?(1/0 = yes/no)


    Games:
    Should work for any source games id think, but only tested on TF2.



    Changelog:

    Code:
    11/9/10 - v0.3 - Few small adjustments made. No longer getting movement type in freeze functions.
    11/6/10 - v0.2 - Initial release. Also added admin menu capabilities and immunity crap.


    Attached Files
    File Type: sp Get Plugin or Get Source (sm_freezeall.sp - 1200 views - 9.4 KB)
    __________________

    Last edited by retsam; 11-09-2010 at 14:36.
    retsam is offline
    hksjun
    Member
    Join Date: May 2010
    Old 11-07-2010 , 16:34   Re: [ANY] Freeze All (0.2)
    Reply With Quote #2

    hi!retsam

    nice plugin!

    can add this future?thanks

    (1)set how many times will auto unfreeze all
    (2)srcds=>console type "freezeall" can freeze all
    hksjun is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 11-07-2010 , 19:34   Re: [ANY] Freeze All (0.2)
    Reply With Quote #3

    Quote:
    Originally Posted by retsam View Post
    !freezeall/sm_freezeall in chat/console to toggle freezing all.

    Also, FreezeAll menu is auto-added to admin menu.
    Quote:
    Originally Posted by hksjun View Post
    (2)srcds=>console type "freezeall" can freeze all
    Isn't that there?



    Nice plugin. I can see this for like map walkthroughs. Freeze you mofos!!
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 11-07-2010 , 21:16   Re: [ANY] Freeze All (0.2)
    Reply With Quote #4

    Quote:
    Originally Posted by hksjun View Post
    hi!retsam

    nice plugin!

    can add this future?thanks

    (1)set how many times will auto unfreeze all
    (2)srcds=>console type "freezeall" can freeze all

    (1) I dont know what that means...
    (2) As Mjrnut said, the command trigger is !freezeall / sm_freezeall in chat / console.

    The admin menu I added actually adds more functionality though.
    __________________
    retsam is offline
    hksjun
    Member
    Join Date: May 2010
    Old 11-08-2010 , 05:44   Re: [ANY] Freeze All (0.2)
    Reply With Quote #5

    Quote:
    Originally Posted by retsam View Post
    (1) I dont know what that means...
    (2) As Mjrnut said, the command trigger is !freezeall / sm_freezeall in chat / console.

    The admin menu I added actually adds more functionality though.
    (1)if use "!freezeall / sm_freezeall / admin menu freezeall" freeze all player/bot.
    need manually use 1 times"!freezeall / sm_freezeall / admin menu freezeall" to unfreeze all player/bot.

    add this future:
    Amount of seconds before automatic unfreeze all player/bot.

    (2)i know type !freezeall / sm_freezeall in chat / console(~).
    but in srcds(console) type !freezeall / sm_freezeall cant freezeall.

    add this future:
    in srcds(console) type !freezeall / sm_freezeall can freezeall.

    thanks!
    Attached Thumbnails
    Click image for larger version

Name:	1.JPG
Views:	258
Size:	51.6 KB
ID:	76948  

    Last edited by hksjun; 11-08-2010 at 05:51.
    hksjun is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 11-09-2010 , 14:33   Re: [ANY] Freeze All (0.3)
    Reply With Quote #6

    (1) Can hardly understand what that says but, I am not adding a duration to this. Use sm_freeze for duration freezes. This plugin is for admin toggled perm freezes.

    (2) !freezeall/sm_freezeall in chat/console means, !freezeall in chat, and sm_freezeall in console. It doesnt mean both.... sm_ commands always mean console. ! always indicates chat. / of course is silent chat.


    Updated: v0.3

    I made a few little adjustments. I saw one possible little issue before.
    __________________

    Last edited by retsam; 11-09-2010 at 14:37.
    retsam is offline
    markg
    Senior Member
    Join Date: Jan 2009
    Old 10-28-2011 , 17:42   Re: [ANY] Freeze All (0.3)
    Reply With Quote #7

    the plugin works fine, with one exception; it wont let me grant immunity to any players.

    any chance you could update that to work?
    markg is offline
    chatyak
    Senior Member
    Join Date: Aug 2011
    Old 10-11-2012 , 18:38   Re: [ANY] Freeze All (0.3)
    Reply With Quote #8

    Quote:
    You can even exec this on a server before players have joined, then once they join and spawn, they will be automatically frozen. Players will be frozen until you either unfreeze them or change maps.
    How would I set it so anyone who joins server is automatically frozen (exec from server) upon joining? This would work well for l4d2 games.

    I tried typing say "command-goes-here" in server.cfg but it didn't work.

    Last edited by chatyak; 10-11-2012 at 18:58.
    chatyak 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 23:37.


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