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

[CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Byte
Senior Member
Join Date: Jun 2010
Location: 📦 CCSPlayer
Plugin ID:
4748
Plugin Version:
1.00
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Easy to use spawn protection plugin.
    Old 07-25-2015 , 02:12   [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #1

    Easy Spawn Protection (v1.00)

    By Invex | Byte


    Description
    This plugin adds additional features to the existing spawn protection plugin by Fredd/cREANy0.
    I made this because I do not see any approved spawn protection plugins with good configuration options.

    Features
    • Highlight players who are spawn protected
    • Ability to highlight different teams (CT/T, RED/BLU, Survivor/Infected..etc).
    • Players are told how much spawn protection time they have left when they spawn
    • Two modes of operation (Player Spawn protection and Round Start Protection)
    • Ability to end spawn protection if player fires a weapon
    • Ability to stop players who control bots from getting spawn protection
    • Auto detects and works with mp_freezetime values, sm_easysp_time should thus not include mp_freezetime time

    Supported Mods
    • CSGO

    Note: CS:S, L4D, TF2 should mostly work but may need some minor adjustments.
    Testing would be helpful as I don't have those games installed as a server.

    Acknowledgements
    Based on cREANy0/Fredd's Spawn Protection plugin:
    https://forums.alliedmods.net/showthread.php?p=594838
    https://forums.alliedmods.net/showthread.php?t=204646

    Instructions
    1. Compile EasySpawnProtection.sp (note: this plugin is written in the new SM syntax).
    2. Copy EasySpawnProtection.smx to your server.
    3. Configure settings by editing /cfg/sourcemod/easyspawnprotection.cfg

    ConVars

    sm_easysp_enabled //Enable Easy Spawn Protection Plugin (0 off, 1 on, def. 1)
    sm_easysp_mode //The mode of operation. (0 spawn protection when player is spawned, 1 spawn protection for set time from round start, def. 0)
    sm_easysp_time //Duration of spawn protection. (min. 0.0, def. 5.0)
    sm_easysp_notify_start //Let users know that they have gained spawn protection. (0 off, 1 on, def. 1)
    sm_easysp_notify_end //Let users know that they have lost spawn protection. (0 off, 1 on, def. 1)
    sm_easysp_colour_mode //Colour highlighting mode to use. (0 off, 1 highlight all player same colour, 2 use different colours for teamOne/teamTwo, def. 1)
    sm_easysp_colour //Set spawn protection model highlighting colour. <RED> <GREEN> <BLUE> <OPACITY>. (def. "0 255 0 120")
    sm_easysp_colour_teamOne //Set spawn protection model highlighting colour for team One (CS:S T, CS:GO T, TF2 RED, L4D Survivor). <RED> <GREEN> <BLUE> <OPACITY>. (def. "0 255 0 120")
    sm_easysp_colour_teamTwo //Set spawn protection model highlighting colour for team Two (CS:S CT, CS:GO CT, TF2 BLU, L4D Infected). <RED> <GREEN> <BLUE> <OPACITY>. (def. "0 255 0 120")
    sm_easysp_endonattack_mode //Specifies if spawn protection should end if player attacks. (0 off, 1 turn off SP as soon as player shots or fire any weapon, def. 0)
    sm_easysp_sponbotcontrol //Should bots receive spawn protection if another player takes control of them. (0 off, 1 on, def. 1)

    ConVar Information
    • If sm_easysp_colour_mode is 1, colour in cvar sm_easysp_colour is used. Otherwise if sm_easysp_colour_mode is 2, then colours in cvars sm_easysp_colour_teamOne and sm_easysp_colour_teamTwo is used.
    • Set sm_easysp_mode to 1 if you want spawn protection to be available for a fixed time from round start.
    • Team one is: CS:S/CS:GO T, TF2 RED, L4D survivor
      Team two is: CS:S/CS:GO CT, TF2 BLU, L4D infected

    Translations
    If you feel like adding another language to the list, let me know!
    • English

    Suggestions (Will be added to next version)
    Please make some suggestions because if you need a particular feature, chances are other people will too.
    • N/A

    Total Previous Downloads: 1023
    Attached Files
    File Type: cfg easyspawnprotection.cfg (1.9 KB, 1435 views)
    File Type: zip EasySpawnProtection-v1.00.zip (23.0 KB, 3558 views)
    __________________
    STEAM: /id/invexbyte | Github: Mo Beigi | Discord: Byte#0017
    Community: Invex Gaming | My Plugins: Click Me!


    Last edited by Byte; 05-15-2017 at 17:49. Reason: reupload zip
    Byte is offline
    utaker
    Senior Member
    Join Date: Dec 2013
    Old 07-25-2015 , 20:14   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #2

    wow , thanks
    utaker is offline
    Byte
    Senior Member
    Join Date: Jun 2010
    Location: 📦 CCSPlayer
    Old 07-26-2015 , 00:22   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #3

    Quote:
    Originally Posted by utaker View Post
    wow , thanks
    Sure no problem. What mod you running?
    __________________
    STEAM: /id/invexbyte | Github: Mo Beigi | Discord: Byte#0017
    Community: Invex Gaming | My Plugins: Click Me!

    Byte is offline
    utaker
    Senior Member
    Join Date: Dec 2013
    Old 07-26-2015 , 02:38   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #4

    Quote:
    Originally Posted by InvexByte View Post
    Sure no problem. What mod you running?
    Running on normal CS:GO with custom maps like aim fy awp type. Just loaded it, seems complete
    utaker is offline
    utaker
    Senior Member
    Join Date: Dec 2013
    Old 07-26-2015 , 14:30   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #5

    sm_easysp_notify_star is 0 but sometimes randomly i get messages easyspawnprotection "you are no longer spawn protected"

    Last edited by utaker; 07-26-2015 at 14:31.
    utaker is offline
    Byte
    Senior Member
    Join Date: Jun 2010
    Location: 📦 CCSPlayer
    Old 07-26-2015 , 15:01   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #6

    Quote:
    Originally Posted by utaker View Post
    sm_easysp_notify_star is 0 but sometimes randomly i get messages easyspawnprotection "you are no longer spawn protected"
    Make sm_easysp_notify_end 0 to disable the spawn protection ending message.
    __________________
    STEAM: /id/invexbyte | Github: Mo Beigi | Discord: Byte#0017
    Community: Invex Gaming | My Plugins: Click Me!

    Byte is offline
    utaker
    Senior Member
    Join Date: Dec 2013
    Old 07-26-2015 , 16:56   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #7

    Quote:
    Originally Posted by InvexByte View Post
    Make sm_easysp_notify_end 0 to disable the spawn protection ending message.
    woops, i missed that one
    utaker is offline
    Index
    Junior Member
    Join Date: Jan 2014
    Old 11-02-2015 , 11:16   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #8

    How i can make sm_easysp_time 9999 for some maps ?
    Index is offline
    Adam.
    AlliedModders Donor
    Join Date: May 2015
    Location: United Kingdom
    Old 11-02-2015 , 12:00   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #9

    Nice.

    Last edited by Adam.; 09-04-2017 at 18:23.
    Adam. is offline
    coty9090
    Senior Member
    Join Date: Aug 2007
    Old 12-29-2015 , 14:00   Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)
    Reply With Quote #10

    the sm_easysp_notify_end "1" is not working for me. recent sm/mms, and running DM.

    *Edit* Noticed it worked only a few times.

    Can you make the notify end also show when you shoot making sp off?

    Last edited by coty9090; 12-30-2015 at 13:12.
    coty9090 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 06:56.


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