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

Admin Powers: Respawner


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Plugin ID:
1110
Plugin Version:
1.6
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Lets an admin respawn a player or set autorespawn.
    Unapprover:
    Reason for Unapproving:
    Needs to set sv_tags to comply with Valve's rules
    Old 08-20-2009 , 19:06   Admin Powers: Respawner
    Reply With Quote #1

    Admin Powers: Respawner 1.6

    Description:
    This is a basic plugin to respawn the target player. Now you can also set autorespawn after death, it supports @all/@red/@blue/@bots
    It will also be in the sm admin menu for any admin with the kick flag.
    You can easily hide chat notification if you want to ;-)
    You can change ADMIN FLAG in "#define _ADMIN_FLAG_"


    Commands:
    • sm_rp
      Usage: sm_rp <#userid|name>
      Respawn indicated player immediately
    • sm_rme
      Usage: <amount>
      Respawn you immediately
    • sm_autorespawn
      Usage: <#userid|name> <delay>
      Respawn indicated player immediately after given delay

    ConVars:
    • sm_respawner_enable - Enable/Disable Plugin
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_respawner_chat_notify - Chat Notifications
      (0 = Off | 1 = Target | 2 = All)
      Default: "1" - Target
    • sm_autorespawn_chat_notify - Chat Notifications for Auto-Respawn
      (0 = Off | 1 = Target | 2 = All)
      Default: "1" - Target
    • sm_respawner_log - Enable/Disable Respawn Actions Logging
      (0-Off | 1-Separate File | 2-SM Logs)
      Default: "1" - Separate File

    Changelog:
    • Version 1.0 (18/07/09) /Starman2098 (Approved but does not work :X)
      • Initial Release (plugin does not work)

    • Version 1.1 (23/07/09)
      • Added ConVar: sm_rplayer_enable
      • Added ConVar: sm_rplayer_chat_notify
      • Added ConVar: sm_rplayer_log
      • Added Multi-Language Support (with Polish translation)
    • Version 1.2 (08/08/09)
      • Added Autorespawn
      • Added Colors to Phrases
    • Version 1.3 (11/08/09)
      • Fixed sm_autorplayer filtered to alive players
      • Fixed Menu (show only alive players)
      • Changed colors in phrases
      • Added sm_rme command
    • Version 1.4 (13/08/09)
      • Added checks for round start/end (sm_autorplayer don't respawn player when round ends)
      • Another Menu fix
      • sm_rme command fix
    • Version 1.5 (17/08/09)
      • Added checking if player is spectator
    • Version 1.6 (20/21.08.2009)
      • Changed commands names
      • Redone some functions
      • Redone phrases
    Installation:
    Precompiled version:
    • Put respawner.smx to sourcemod/plugins
    • Put respawner.phrases.txt to sourcemod/translations
    Source (to compile locally)
    • Put respawner.sp to sourcemod/scripting
    • Put colors.inc to sourcemod/scripting/include
    • Put respawner.phrases.txt to sourcemod/translations
    Known bugs:
    • None
    Another Admin Powers plugins:

    If you like this plugin give me karma.
    Attached Files
    File Type: sp Get Plugin or Get Source (respawner.sp - 1224 views - 14.9 KB)
    File Type: inc colors.inc (11.0 KB, 1135 views)
    File Type: txt respawner.phrases.txt (4.9 KB, 1838 views)
    File Type: smx respawner.smx (11.0 KB, 1695 views)
    __________________

    Last edited by Zuko; 01-08-2010 at 05:45.
    Zuko is offline
    Send a message via ICQ to Zuko
    Mariano
    Member
    Join Date: May 2009
    Location: Poland / Silesia
    Old 08-21-2009 , 07:14   Re: [TF2] Respawner
    Reply With Quote #2

    A good toy for admin
    __________________
    TryhardBrigade.com

    European Team Fortress 2 Training Center

    "We Are Hip-Hop"
    KRS-One

    Last edited by Mariano; 08-21-2009 at 07:21.
    Mariano is offline
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 08-21-2009 , 07:51   Re: [TF2] Respawner
    Reply With Quote #3

    +karma

    You badass.
    __________________
    MrSaturn is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 08-21-2009 , 09:01   Re: [TF2] Respawner
    Reply With Quote #4

    Quote:
    Originally Posted by MrSaturn View Post
    +karma

    You badass.
    hehe, thx
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 08-21-2009 , 10:33   Re: [TF2] Respawner
    Reply With Quote #5

    I just noticed that sm_autorespawn is for single clients

    is there any way you could add a cvar for the entire server? I'd use @all but that would mean joining players would be left out or I'd have to redo the command.
    __________________
    MrSaturn is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 08-21-2009 , 11:35   Re: [TF2] Respawner
    Reply With Quote #6

    MrSaturn, quick edit for you.

    sm_autorespawn is public now. Usage sm_autorespawn @me <delay>

    after weekend I will add this function 'normally' ;)
    Attached Files
    File Type: sp Get Plugin or Get Source (respawner_autorespawn_for_all.sp - 509 views - 14.9 KB)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 08-22-2009 , 20:24   Re: [TF2] Respawner
    Reply With Quote #7

    Quote:
    Originally Posted by Zuko View Post
    MrSaturn, quick edit for you.

    sm_autorespawn is public now. Usage sm_autorespawn @me <delay>

    after weekend I will add this function 'normally' ;)
    So I guess the players have to set autorespawn on themselves and theres no limit to how low they can set it? =\

    I guess that would be useful for some servers. I just wanted something like a respawn system that respawned them every 10 seconds (a variable cvar) The other one broke and my players have complained about it ruining their screenshots with hintbox messages.
    __________________
    MrSaturn is offline
    fr3akY
    Junior Member
    Join Date: Aug 2007
    Old 08-25-2009 , 13:48   Re: [TF2] Respawner
    Reply With Quote #8

    Thx a lot!
    Nice Plugin!

    Last edited by fr3akY; 08-25-2009 at 13:52.
    fr3akY is offline
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 08-26-2009 , 05:09   Re: [TF2] Respawner
    Reply With Quote #9

    Can you make it possible to respawn people even after the round has ended?

    When I try to spawn players during round end, I get this


    L 08/26/2009 - 04:03:20: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 08/26/2009 - 04:03:20: [SM] Displaying call stack trace for plugin "respawner.smx":
    L 08/26/2009 - 04:03:20: [SM] [0] Line 228, C:\Documents and Settings\Zuko\Pulpit\scripting\respawner.sp:: PerformRespawnPlayer()
    L 08/26/2009 - 04:03:20: [SM] [1] Line 213, C:\Documents and Settings\Zuko\Pulpit\scripting\respawner.sp:: Command_Rplayer()
    __________________
    MrSaturn is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 08-26-2009 , 05:38   Re: [TF2] Respawner
    Reply With Quote #10

    I can respawn myself if round ends. I will try later respawn someone else.

    btw. what version of SM do you use?
    __________________

    Last edited by Zuko; 08-26-2009 at 05:44.
    Zuko is offline
    Send a message via ICQ to Zuko
    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 12:11.


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