Raised This Month: $344 Target: $400
 86%   Almost there!

[CS GO] Surrender


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lantejoula
Senior Member
Join Date: Mar 2021
Location: Portugal
Plugin ID:
7875
Plugin Version:
1.4
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin adds the option for each team to surrender
    Old 12-08-2021 , 10:12   [CS GO] Surrender
    Reply With Quote #1

    [CS GO] Surrender

    Description

    This plugin adds the option for each team to surrender. Plugin creates voting for the team and if accepted, the team surrenders and both teams are shuffled and the game restarts.

    Commands

    !surrender - Create vote for team to surrender
    !gg - Create vote for team to surrender

    ConVars

    sm_surrender_chat_prefix - Chat Prefix

    sm_surrender_cooldown - Enable/Disable the Cooldown System (1 - Enable | 0 - Disable)

    sm_surrender_scramble - Enable/Disable the Scrable Teams when Someone Surrender (1 - Enable | 0 - Disable)

    sm_surrender_cooldown_time - How many time command have cooldown? ( Default 600 = 10 Min)

    sm_surrender_warmup - Enable/Disable the Warmup after Surrender (1 - Enable | 0 - Disable)

    sm_surrender_difference_rounds - How many Rounds of Difference does it take for the Opposing team to be Alerted to Surrender? ( Default = 5 )

    sm_surrender_vote_time - How many time players have for vote for surrender? ( Default = 15 )

    sm_surrender_type - 1 - Yes votes are more than no votes ||| 0 - X votes are required (sm_surrender_sucess_votes)

    sm_surrender_sucess_votes - How many votes does it take to surrender? (need sm surrender type to be 1) ( Default = 3 )

    Changelog

    08-06-2022 (v1.4) - Requested here by Siniii

    3 New ConVars (sm_surrender_vote_time & sm_surrender_type & sm_surrender_sucess_votes)
    It is now possible to choose how many votes are needed for the surrender to be successful. Need sm_surrender_type at 0
    You can now choose how much time players have to vote on surrender

    02-06-2022 (v1.3) - Requested here by Orygen

    Now the losing team is warned that they can surrender
    New ConVar: sm_surrender_difference_rounds
    Update Translations

    11-12-2021 (v1.2) - Requested here by lugaa

    Win Round for CT and T (Remove Win Panel Draw)
    NEW: Match End Painel

    10-12-2021 (v1.1) - Requested here by lugaa

    Now after surrender have warmup (Can disable that on cfg)
    NEW CONVAR: sm_surrender_warmup
    FIX ERROR: Chat Prefix Color on Scramble Messages

    08-12-2021 (v1.0)

    Initial release.

    Plugin tested in CSGO with:

    Sourcemod 1.10
    Metamod:Source 1.11


    Credits

    Thanks to the Owners of these Plugins - I used parts of scripting in my Plugin

    Team Scramble - By WatchDogs
    SetTeamScore - By SM9

    Instalation

    Upload the files (.smx for plugins folders and .txt for translations folder)
    Restart your Server or Change the Map
    [Optional] Configure the file cfg (csgo/cfg/sourcemod/.cfg)

    Attached Files
    File Type: zip Surrender 1.0.zip (47.1 KB, 66 views)
    File Type: zip Surrender 1.1.zip (47.2 KB, 40 views)
    File Type: zip Surrender 1.2.zip (47.8 KB, 95 views)
    File Type: zip Surrender 1.3.zip (48.7 KB, 9 views)
    File Type: zip Surrender 1.4.zip (49.4 KB, 36 views)
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!

    Last edited by Lantejoula; 06-08-2022 at 13:29.
    Lantejoula is offline
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 12-10-2021 , 01:51   Re: [CS GO] Surrender
    Reply With Quote #2

    chat prefix color not work https://imgur.com/a/fuLjGtI

    Plugin working well. Can we start warm up after we surrended? Or votemap is about to be perfect.

    or scoreboard then votemap: https://imgur.com/a/gMGg7vs

    Last edited by lugaa; 12-10-2021 at 09:18.
    lugaa is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 12-10-2021 , 13:08   Re: [CS GO] Surrender
    Reply With Quote #3

    Quote:
    Originally Posted by lugaa View Post
    chat prefix color not work https://imgur.com/a/fuLjGtI

    Plugin working well. Can we start warm up after we surrended? Or votemap is about to be perfect.

    or scoreboard then votemap: https://imgur.com/a/gMGg7vs
    10-12-2021 (v1.1) - Requested here by lugaa

    Now after surrender have warmup (Can disable that on cfg)
    NEW CONVAR: sm_surrender_warmup
    FIX ERROR: Chat Prefix Color on Scramble Messages
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 12-10-2021 , 21:59   Re: [CS GO] Surrender
    Reply With Quote #4

    Quote:
    Originally Posted by lugaa View Post
    chat prefix color not work https://imgur.com/a/fuLjGtI

    Plugin working well. Can we start warm up after we surrended? Or votemap is about to be perfect.

    or scoreboard then votemap: https://imgur.com/a/gMGg7vs
    11-12-2021 (v1.2) - Requested here by lugaa

    • Win Round for CT and T (Remove Win Panel Draw)
    • NEW: Match End Painel
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!

    Last edited by Lantejoula; 12-11-2021 at 07:33.
    Lantejoula is offline
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 12-10-2021 , 23:37   Re: [CS GO] Surrender
    Reply With Quote #5

    Quote:
    Originally Posted by Lantejoula View Post
    10-12-2021 (v1.1) - Requested here by lugaa

    • Now after surrender have warmup (Can disable that on cfg)
    • NEW CONVAR: sm_surrender_warmup
    • FIX ERROR: Chat Prefix Color on Scramble Messages
    Hi I tested it. i'm use pugsetup warm up.

    bot_quota 0
    mp_afterroundmoney 16000
    mp_autokick 0
    mp_autoteambalance 0
    mp_buytime 6000
    mp_death_drop_gun 0
    mp_free_armor 2
    mp_freezetime 1
    mp_friendlyfire 0
    mp_limitteams 0
    mp_maxrounds 30
    mp_respawn_immunitytime 2
    mp_respawn_on_death_ct 1
    mp_respawn_on_death_t 1
    mp_round_restart_delay 3
    mp_roundtime 1.75
    mp_roundtime_defuse 1.75
    mp_roundtime_hostage 1.75
    mp_solid_teammates 0
    mp_spectators_max 20
    mp_startmoney 16000
    mp_timelimit 0
    sv_alltalk 1
    sv_auto_full_alltalk_during_warmup_half_end 1
    sv_competitive_official_5v5 1
    sv_full_alltalk 1

    and warm up counting 5 minutes. https://imgur.com/a/OmLpBM2


    Can warm up be made in no time? and no drop gun, friendlyfire off, etc .. can pugsetup warm up called?
    or when finished with votemap, pugsetup will start with a warm up after the map is replaced.



    [TAG] Team T did not achieve enough votes to surrender. Fight on! how to change this tag?
    [TAG] Team T did not achieve enough votes to surrender. Fight on!

    Last edited by lugaa; 12-11-2021 at 05:09.
    lugaa is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 12-11-2021 , 07:32   Re: [CS GO] Surrender
    Reply With Quote #6

    Quote:
    Originally Posted by lugaa View Post
    Hi I tested it. i'm use pugsetup warm up.
    Can warm up be made in no time? and no drop gun, friendlyfire off, etc .. can pugsetup warm up called?
    or when finished with votemap, pugsetup will start with a warm up after the map is replaced.
    If pugsetup have warmup and you user pugsetup warmup, change this convar "sm_surrender_warmup" for 0 on Cfg ( csgo/cfg/sourcemod/plugin.surrender.cfg )

    Quote:
    Originally Posted by lugaa View Post
    [TAG] Team T did not achieve enough votes to surrender. Fight on! how to change this tag?
    [TAG] Team T did not achieve enough votes to surrender. Fight on!
    Change Tag and Color Tag on Cfg ( csgo/cfg/sourcemod/plugin.surrender.cfg )
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!

    Last edited by Lantejoula; 12-11-2021 at 07:33.
    Lantejoula is offline
    Carpete_Americana
    Junior Member
    Join Date: Oct 2020
    Location: Portugal
    Old 12-18-2021 , 17:27   Re: [CS GO] Surrender
    Reply With Quote #7

    nice release
    __________________
    My Csgo Community:
    Name: Elemental Gaming
    Steam group: http://steamcommunity.com/groups/elememtalgc
    Discord Server: https://discord.gg/sKs6GPc
    My Steam profile: https://steamcommunity.com/id/-carpete-/
    Carpete_Americana is offline
    Send a message via AIM to Carpete_Americana
    Siniii
    Junior Member
    Join Date: Apr 2020
    Old 12-22-2021 , 06:25   Re: [CS GO] Surrender
    Reply With Quote #8

    Can someone pls add ConVars how many players have to say YES for success vote??
    __________________
    Siniii is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 12-22-2021 , 19:46   Re: [CS GO] Surrender
    Reply With Quote #9

    Quote:
    Originally Posted by Siniii View Post
    Can someone pls add ConVars how many players have to say YES for success vote??
    In the plugin, if the "yes" votes are higher than the "no" votes, the plugin authorizes surrender, if the "yes" and "no" votes are equal or if the "yes" votes are lower than the "no" votes ", the plugin cancels the surrender!
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula is offline
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 12-28-2021 , 00:10   Re: [CS GO] Surrender
    Reply With Quote #10

    i'm using this plugin and pugsetup warmup.cfg

    https://imgur.com/a/KLoRoxg

    "Fix Competitive Warmup" (1.0) by Ilusion9 ----> old warmup plugin

    If pugsetup have warmup and you user pugsetup warmup, change this convar "sm_surrender_warmup" for 0 on Cfg ( csgo/cfg/sourcemod/plugin.surrender.cfg )


    sm_surrender_warmup "0" but pugsetup warmup does not work. I will attach a picture. time is counting
    sm_surrender_warmup "1" warm up counting
    When 0, the match is still live...
    https://imgur.com/a/clu5Vzq
    lugaa 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 00:13.


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