Raised This Month: $7 Target: $400
 1% 

[Any] Deluxe Godmode


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
1265
Plugin Version:
2.3.1
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    259 
    Plugin Description:
    Advanced Godmode controls for admins and players!
    Old 11-03-2009 , 06:45   [Any] Deluxe Godmode
    Reply With Quote #1

    [Any] Deluxe Godmode
    Version 2.3.1



    Description:
    This plugin allows admins with the Slay flag to toggle godmode on themselves and other players!
    May be configured to allow clients to use the commands on themselves.
    Now has the option to enable god/buddha mode automatically when a player spawns

    Looking for an Alien Swarm Version?
    You can find it Right Here!


    Left4Dead demo videos:
    Self Toggle || Admin-Player Toggle

    Team Fortress 2 demo videos:
    Self Toggle || Admin-Player Toggle



    Commands:
    • sm_god [User/Group] [1/0] - Player will take no damage
      Examples:
      • sm_god - toggles godmode on the player using the command
      • sm_god <client> - toggles godmode on another player
      • sm_god @all 1 - enables godmod on all players (0 would disable)
    • sm_buddha [User/Group] [1/0] - Player will take no damage, but will still react to it (like rocket jumping).
      Same usage as above.
    • sm_mortal [User/Group] - Makes the player mortal (removes all godmode effects).
      Same usage as above, no toggle.
    Cvars:
    • sm_godmode_version - Plugin Version
    • sm_godmode_spawn "0" - 0 = Players spawn normally, 1 = Players spawn with godmode, 2 = Players spawn with buddha mode
    • sm_godmode_spawn_admins "0" - Set to 1 and only admins will be given godmode on spawn. Requires slay flag (can be changed with godmode_adminonly_override).
    • sm_godmode_announce "1" - Tell the player when an admin gives/removes their godmode
    • sm_godmode_remember "0" - Set to 1 and the plugin will remember players' godmode state after they respawn (for suicides/round ends/etc)

    Install Instructions:
    1. Place Godmode.smx into your addons/sourcemod/plugins/ folder.

    Notes:
    Tested and working in AoC, CS:S, L4D1, L4D2, and TF2

    If players have access to sm_god and sm_buddha, they will be able to use them on themselves (but not other players).
    Players can always use sm_mortal.

    Command Access:
    By default, all players have access to sm_god, sm_buddha, and sm_mortal.
    You may (and probably should) override access to these commands so that normal players do not have access to them.

    Only admins with access to the overrides sm_godmode_admin, sm_buddhamode_admin, and sm_mortalmode_admin, will be able to use those commands on other players. The default access flag for these overrides is "Slay".

    Version History:
    • V1.0.0
      • Initial release
    • V1.1.0
      • Added Buddha mode
    • V2.0.0
      • Plugin completely re-written
      • Now can give godmode / buddha mode on spawn
      • Added sm_mortal command
      • Cvar added to control some chat messages added
      • Cvar added to allow non-admins to use commands
    • V2.1.0
      • Can now be configured to only give admins godmode when they spawn.
    • V2.1.1
      • Fixed typo in plugin info
    • V2.2.0
      • Added sm_godmode_remember (see above)
      • Plugin now resets the reference value when a client disconnects.
    • V2.2.1
      • Fixed some typos in descriptions
    • V2.3.0
      • Some code cleanup, fixes, and improvements.
      • Fennec approved.
    • V2.3.1
      • Removed redundant(?) CloseHandle call.

    Total downloads prior to 6/10/2012 : 3,963
    Attached Files
    File Type: sp Get Plugin or Get Source (Godmode.sp - 26806 views - 12.6 KB)
    __________________

    Last edited by DarthNinja; 06-10-2012 at 23:42.
    DarthNinja is offline
    Mnkras
    Senior Member
    Join Date: Mar 2009
    Location: 127.0.0.1
    Old 11-03-2009 , 10:52   Re: [Any] Deluxe Godmode
    Reply With Quote #2

    Testing in TF2 right now

    BTW what did you use to record it?

    EDIT works in TF2 can you make it a toggle though also so instead of

    /god @me 1

    just /god @me and it toggles
    __________________

    Last edited by Mnkras; 11-03-2009 at 11:54.
    Mnkras is offline
    Darkimmortal
    Senior Member
    Join Date: Aug 2008
    Old 11-03-2009 , 13:30   Re: [Any] Deluxe Godmode
    Reply With Quote #3

    I've seen sm_god taken in another plugin, possibly funcommandsx?
    __________________
    Darkimmortal is offline
    Mnkras
    Senior Member
    Join Date: Mar 2009
    Location: 127.0.0.1
    Old 11-03-2009 , 13:39   Re: [Any] Deluxe Godmode
    Reply With Quote #4

    yea a couple plugins use that and i think it was pREDs super cmds that has it and a few others

    also im running an achievement server and i want clients to be able to toggle it on themselves but not on others
    __________________
    Mnkras is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-03-2009 , 14:35   Re: [Any] Deluxe Godmode
    Reply With Quote #5

    @Mnkras
    If you type /god with no vars it toggles godmode on you (see first video).
    I used Xfire to record, Fraps also works but I didn't feel like starting it.
    Thanks for the info on TF2, I'm going to add some vids for that shortly.

    @Darkimmortal
    FuncommandsX doesn't have godmode (not since the last time I used it anyway). There is a TF2-only godmode that bugs up sometimes... Also pReds super commands prolly has it, but thats for CSS only.
    __________________
    DarthNinja is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-04-2009 , 01:08   Re: [Any] Deluxe Godmode
    Reply With Quote #6

    Version 1.1.0
    Added buddha mode
    Removed version 1.0.0.1 bug that prevented compiling.
    __________________
    DarthNinja is offline
    Mnkras
    Senior Member
    Join Date: Mar 2009
    Location: 127.0.0.1
    Old 11-04-2009 , 19:36   Re: [Any] Deluxe Godmode
    Reply With Quote #7

    preds super cmds works in tf2 just not all the commands but god does work and im saying on other people like i have to go /god Mnkras 1 i just want to do /god mnkras and if its on it turns it off etc
    __________________
    Mnkras is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-04-2009 , 19:55   Re: [Any] Deluxe Godmode
    Reply With Quote #8

    Quote:
    Originally Posted by Mnkras View Post
    preds super cmds works in tf2 just not all the commands but god does work and im saying on other people like i have to go /god Mnkras 1 i just want to do /god mnkras and if its on it turns it off etc
    ah ok,
    I could re-write it so that it toggles automatically, but with a 1/0 toggle groups, for instance "sm_god @red 1", then if some of the people on red suicide and you want to give them godmode again you can just repeat the command, otherwise you would have to manually toggle godmode on the people who suicided.

    In short, I'd rather have the extra functionality by being able to manually specify 1/0 then an automatic toggle. (Plus adding a space and a 1 really isn't that hard).

    That being said, if for some reason you really need a copy with an automatic toggle I'll be happy to make you one.
    __________________
    DarthNinja is offline
    Mnkras
    Senior Member
    Join Date: Mar 2009
    Location: 127.0.0.1
    Old 11-04-2009 , 20:34   Re: [Any] Deluxe Godmode
    Reply With Quote #9

    why not both
    __________________
    Mnkras is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-08-2009 , 03:14   Re: [Any] Deluxe Godmode
    Reply With Quote #10

    Quote:
    Originally Posted by Mnkras View Post
    why not both
    Good point, I'll work on it later.
    __________________
    DarthNinja 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 02:09.


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