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

[CS:GO] WarMod [BFG] <22.09.26.1915, 26-Sept-2022>


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
versatile_bfg
Veteran Member
Join Date: Feb 2012
Plugin ID:
3881
Plugin Version:
22.09.26.1915
Plugin Category:
All
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Match System
    Old 09-05-2013 , 07:08   [CS:GO] WarMod [BFG] <22.09.26.1915, 26-Sept-2022>
    Reply With Quote #1

    WarMod [BFG] edition

    Warmod will require Sourcemod v1.10+ to compile
    CS:GO SM version requirements can be found here: Required Versions - Sourcemod

    Description:
    This is an updated version of the Game Tech WarMod by Twelve-60. https://forums.alliedmods.net/showthread.php?t=60952 It has been coded up from his old CS:S source code on github.

    It is specifically designed to be used for competitive matches, and provides the flexibility to suit any form of competition, including large tournaments down to clan matches.

    WIP: http://warmod.wikia.com/wiki/Warmod_Wikia

    Optional:

    Feature list:
    • Ready System - Used for players to set themselves as ready or not ready for the match to begin
    • Automatic Live On 3 - Once all players are ready, the match will lo3 automatically.
    • Admin Menu - A complete admin menu for managing the servers and controlling WarMod.
    • Score Display - At the end of each match round, the score is displayed for all players including GOTV
    • Automatic GOTV Recording - GOTV demos are automatically recorded for each game, and named according to the current date/time/map and team names.
    • Statistics - WarMod logs are recorded on all matches which can be used to create extremely comprehensive statistics either for a live or post-live match.
    • Play out Support - Also supports the match playing out the rest of the rounds even though a team has already won.
    • Multilingual Support - Currently supporting English, German, Russian, Hungarian and French. [using old files]

    Language support:
    • English
    • German (Credit: Stingbyte)
    • Russian (Credit: FroL)
    • French (Credit: narutopgm)
    • Hungarian (Credit: PStar)

    CVAR/Command list:
    ADMIN commands:

    • /notlive // Cancels half and sets all as unready. Aliases: /nl /cancelhalf /ch
    • /cancelmatch // Cancels half and sets all as unready. Aliases: /cm
    • /readyup // If wm_autoready is 0, this command will be required to start/stop the ready system. Aliases: /ru
    • /readyon // Turns on or restarts the ReadyUp System. Aliases: /ron
    • /readyoff // Turns off the ReadyUp System if enabled. Aliases: /roff
    • /forceallready // Forces all players to become ready. Aliases: /far
    • /forceallunready // Forces all players to become unready. Aliases: /faur
    • /forcestart // Starts the match regardless of player and ready count. Aliases: /fs
    • /forceend // Ends the match regardless of status. Aliases: /fe
    • /minready <num> // Set or display the wm_min_ready console variable
    • /maxrounds <num> // Set or display the wm_max_rounds console variable
    • /aswap // Manually swaps all players to the opposite team
    • /t & /ct // Will set the Terrorist and Counter-Terrorist team names - Note: No longer changes the cvars wm_t and wm_ct
    • /active // Toggles the CVAR wm_active
    • /knife // Removes all money + weapons + c4 and executes wm_knifeconfig. Aliases: /ko3
    • /cancelknife // Cancels the knife round. Aliases: /ck

    CLIENT commands:
    • /ready // Marks you ready if /readyup has been done or wm_autoready is 1. Aliases: /rdy /r
    • /unready // Marks you not ready if /readyup has been done or wm_autoready is 1. Aliases: /notready /unrdy /notrdy /ur /nr
    • /scores // Displays score if live. Aliases: /score /s
    • /info // Display who the ready panel if closed. Aliases: /i

    Change log:

    PHP Code:
    Update to 22.09.26.1915
    Compiled plugin on SM 1.10

    Update to 22.09.25.0046
    Updated to SM 1.11
    Added Bomb Exploded Event 

    Update to 20.06.24.1348
    :
    Nothing major just few quick fixes for SM1.10 and new build setup 

    Update 17.08.12.1053
    :
    Quick update for error with SQL and backup
    -- Will now use the configs mp_backup_round_file_pattern and add the matchID to the front.

    Update 17.08.10.1155:  
    added restore support for Forcestart
    Fixed issue with sql match id for restored matches
    -- Once matchid is created it will change the mp_backup_round_file_pattern to %matchid_%prefix%_round%round%.txt

    Update 17.08.05.2310

    updated default round time to be 1.92 on config generated

    Update 17.08.05.1003

    updated match restore to work
    -- Will now ask you to ready up and after thatthe match will start with rounds and weapons restore.

    Update 17.01.22.1317:
    updated config create to new settings (thought I did that for the new settings when they were released )
    fixed teamkill adding to sql as a kill.
    fixed error with sm_pauseOnly clients can use it and not console.
    added a quick fix for team names showing rroists unterterroists.

    Update 16.12.05.1622
    Fixed no team name showing on score message
    Fixed damage report showing extra data that was not needed. [no damage done or received print]

    Update 16.11.20.1602:
    added round end forward

    Update 16.11.17.1946
    quick name fix
    -- wm_name_fix "0" Fix name swap after knife round

    Update 16.10.12.1911
    :
    added damage report (From splewis csgo pug setup plugin)
    -- 
    wm_damageprint_auto_color "1""Whether colors are automatically inserted for damage values, changing depending on if the damage resulted in a kill"
    -- wm_damageprint_enabled "0""Whether to enabled damage print to client on round end"
    -- wm_damageprint_format "--> ({DMG_TO} dmg / {HITS_TO} hits) to ({DMG_FROM} dmg / {HITS_FROM} hits) from {NAME} ({HEALTH} HP)""Format of the damage output string. Avaliable tags are in the default, color tags such as {LIGHT_RED} and {GREEN} also work."
     

    Update 16.10.09.1357:
    Fixed issue with team nameslogos flags on team switch after knife round

    Update 16.09.29.1219
    :
    Fixed issue with team names set via cmd line
    Added halftime forward info
    Fixed warnings with 1.8 compiler

    V15.12.10.1326 
    10-12-15
    added revolver
    added knife_default_ct for knife
    quick fix on ready system text version

    version 15.11.30.1450 
    30-11-2015
    Bug fixes
    -- sql team name
    -- team limit setting

    version 15.11.27.1120 
    27-11-2015 
    Small bug fixes
    Knife kills should now be recording

    version 15.11.26.0908 
    26-11-2015 
    Removed SQL Players table
    Reworked round stats table to only have the one line then update that every round [keeps db small]
    reworked escape string to work with json and sql
    added wm_ready_panel "1" //Enable Ready Panel or text based system, Text = 0, Panel = 1
    added a fix for re-spawn players on freezetime should hopefully fix the issue even a little bit.

    version 15.10.05.0938 05-10-2015
    changed version numbering
    added wm_ready_tag
    --  wm_ready_tag "1" //Enable or disable the ready & not ready clan tags
    removed SQL logging to sourcemod log files
    fixed some json log entries

    Beta 0.5.7.1 
    22-09-2015
    Added timedelay to reset config execution
    -- wm_reset_config_delay "1" //The amount of time before executing the reset config after a match

    Beta 0.5.7 21-09-2015
    Added SQL Players round stats table and upload
    --     wm_table_round_stats "wm_round_stats" //The MySQL table name to store round stats in
    Added SQL results update on round end
    Changed the way on match end config is executed

    Beta 0.5.6.2 
    20-08-2015
    Added SQL Players table and upload
    -- wm_table_name_players "wm_players" //The MySQL table name to store match players in

    Beta 0.5.6.1 17-08-2015
    Fix for Forceteam command
    -- wm_forceteam <steamid64> <team>
    -- 
    Team can =
    --- For 
    CT3Counter-TerroristCounterTerroristCounter TerroristctCS_TEAM_CT
    --- For T2TerroristtCS_TEAM_T

    Beta 0.5.6 
    13-08-2015
    Added MySQL results upload
    -- wm_upload_results "0" //Enable or disable the uploading of match results via MySQL
    -- wm_table_name "wm_results" //The MySQL table name to store match results in
    added arrays to wm_forceteam
    -- arrays are cleared on lo3/ko3 and by these commands
    --- wm_clear_forceteam_all //Clears the list for forced teams
    --- wm_clear_forceteam_t //Clears the list for forced terrorist team
    --- wm_clear_forceteam_ct //Clears the list for forced counter-terrorist team
    added previous score to score command if match is not active
    added check captain file for team name and logo/flag

    Beta 0.5.5 
    05-08-2015
    fixed up some json log entries
    money logged each round to file
    added wm_forceteam
    -- wm_forceteam <steamid64> <team>
    -- 
    will only work if client is in server
    added wm_forcename
    -- wm_forcename <steamid64> <name>
    -- 
    will only work if client is in server

    Beta 0.5.4 
    31-07-2015
    added captain from file
    -- wm_captain_from_file "0" //Get team captains from file? 0 = No, 1 = Yes
    fixed veto bo5
    changed a few log entries

    Beta 0.5.3 
    22-07-2015
    added knife round config
    -- wm_knife_config "warmod/ruleset_knife.cfg" //Sets the knife config to load on Knife on 3

    Beta 0.5.2 20-07-2015
    bug fixes
    -- Config update fix
    -- Updater compiler fix

    Beta 0.5.1 
    15-07-2015
    more work on logos
    fixed bug with auto pause
    fixed issue with demo and log file naming

    Beta 0.5 
    12-07-2015
    Changed to the SM1.7 Syntax
    Added Bo5 veto
    -- System isA selectB selectA vetoB vetoA selectB selectlastmap
    wm_veto_select "0" //On last two maps of Veto Bo1 will it be select map to play: 0 = No, 1 = Yes
    Added logos required command
    -- wm_require_logos "0" //Enable or disable the requirement of set team logos for lo3
    -- wm_logos_menu_only "0" //Set to use the Menu only for Logo Selection
    -- Template for this is located here: [URL]http://warmod.bitbucket.org/cfg/warmod/team_logos.txt[/URL]
    -- Will explain this better in another post later on.
    Other bug fixes                                 

    Beta 0.4.5.2 
    06-07-2015
    Fixed veto change mapWorking with both mp_match_end_restart and tv_delaymapchange commands
    added !veto1, !veto2 and !veto3 to client command list
    Fixed double post of playoutovertime and default offers
    Fixed !vetomaps command
    Fixed no freezetime on veto knife roundsIt now executes gamemode_competitive_server.cfg before the round starts.

    Beta 0.4.5.1 30-06-2015
    fixed live of three bug [the know bug from last update]

    Beta 0.4.5 29-06-2015
    Another fix for Team Names
    Live/Knife on 3 Text change [Known bug with round being in warmup mode]
    Added a sv_matchpause_auto_5v5 setting in warmod
    -- wm_auto_pause "0" //Will pause server if team players equals less than half of wm_max_players: 0 = off, 1 = on
    -- This fixes a bug with this command and resuming
    Added a new command for VetoAllows knife round or CT pick first
    -- wm_veto_knife "1" //Requires a knife round to determine who votes first: 0 = off, 1 = on
    Added new command for client ban on disconnect
    -- wm_ban_percentage "0.75" //Percentage of wm_max_players that will be banned on disconnect
    Merged config update into warmod
    Added fix for error message for demo uploading when not set to upload
    Added a default gamemode_competitive_server.cfg to be auto generated if not already there

    Beta 0.4.4 
    11-06-2015
    fixed lo3/ko3 restarts
    fixed match complete demo upload

    Beta 0.4.3 
    10-06-2015
    changed Lo3/Ko3 to restart 3 times as requested
    fixed require names command. [such a simple bug that I couldn't see for over a year :( ]
    - fixed players spawning on knife round with warmup command
    - added veto map list auto generating on start-up instead of when veto is called

    Beta 0.4.2 - 03-06-2015
    - fixed bug with reset match cfg not being executed - [thankyou wazer for finding it] ;)

    Beta 0.4.1 - 03-06-2015
    - removed one line from auto generated warmup config. Can crash some servers with mp_warmup_start being in there
    - few other little bug fixes

    Beta 0.4 - 02-06-2015
    - Added rounds to log entries. [Some not all]
    - Added PlayOut, OverTime and Default commands to execute these files.
    - Fixed a demo recording issue with team names having a '
    .' in them.
    - Added auto creation of default config files and english translation file
    - Added on map change to execute warmod/on_map_load.cfg - This is so you don'
    t need to add it to the server.cfg file
    Changed location of maplist for vetoIt is now located in csgo/cfg/warmod/veto_map_list.txt (did this to keep all the warmod files together)
    other commands fixed with console showing not valid command

    Beta 0.3.3.7.3 
    21-05-2015
    Changed LogToGame entry [Added identifier as asked]

    Beta 0.3.3.7.2 21-05-2015
    Changed LogToGame entry [Should look like the log entries now]
    Added plugin reload on update [just realised this wasn't in it...]
    - Did a few more tricks for clan tag '
    Not Ready' and 'Ready' being set back to default for player.

    Beta 0.3.3.7.1 - 24-04-2015
    - Fixed DirExists error for null folder name

    Beta 0.3.3.7 - 01-04-2015
    - Added .swap command as requested
    - Fixed PrintToConsole and PrintToServer prefix
    - Fixed Auto unpaused line [checks if server is paused before printing it to chat]
    - Added another barrier to team locking

    Beta 0.3.3.6.1 - 06-03-2015
    - Fixed Default Tag setting [Hopefully]

    Beta 0.3.3.6 - 06-03-2015
    - Fixed Over Time
    - Fixed unpause spam bug
    - Added a timer for set team name
    - Added READY/NOT READY Clan Tag setting
    - Added Random Pro Team Name with logo'
    and clan tags
    -- wm_random_team_names "0" //Enable or disable the random set of a pro team name for the match
    Removed some coded not needed

    Beta 0.3.3.5.2 
    02-03-2015
    Fixed knife name swap
    Added player spawned knife strip
    Made Unpause command work when server isn't paused via warmod. (This will introduce a bug that will allow people to spam the server with unpause chat)

    Beta 0.3.3.5.1 - 02-03-2015
    - Fixed typo for CS_GetPlayerListCount

    Beta 0.3.3.5 - 20-02-2015
    - Colour text added for Team name set [If CT only then blue, if T only then Red, if both normal]
    - wm_ban_on_disconnect added [B][Alpha][/B] use at own risk
    - fixed team name swap for knife round if team switch
    - added log error if GOTV isn'
    t enabled and wm_auto_record is
    Created a plugin that will update Configs for warmod without changing the settings of them
    -- This will execute then delete the current config and create the new one after thatAny other commands you have added to these configs will be deleted if you use this!
    -- 
    Current updated configs areruleset_global.cfgruleset_mr15.cfgruleset_mr15_ot.cfgruleset_mr12.cfgruleset_mr9.cfg on_map_load.cfg

    Beta 0.3.3.4 
    12-02-2015
    changed GetClientAuthString to GetClientAuthId
    Added CreateDirectory for demo recording
    Added knife round lock
    Added new convar:
    -- 
    wm_knife_auto_start "0""Enable or disable after knife round to be forced lived"

    Beta 0.3.3.3 30-01-2015
    Quick fix for mp_match_can_clinch
    Fixed rcon error with veto setup command [disabled]

    Beta 0.3.3.2 27-01-2015
    Added Romanian Translation Thanks robert810
    Added more translations
    Added msg to show who paused or resumed game [if not confirm by other team] and log entry
    updated wm_veto command
    -- wm_veto "1""Veto Style: 0 = off, 1 = Bo1, 2 = Bo2, 3 = Bo3"

    Beta 0.3.3.1 20-01-2015
     
    Fixed RespawnPlayer error

    Beta 0.3.3 
    20-01-2015
    More translation fixes
    Better unpause text fix
    wm_unpause_confirm cvar added
    -- wm_unpause_confirm "1" //"Wait for other team to confirm unpause: 0 = off, 1 = on" 

    Beta 0.3.2 16-01-2015
    More translation fixes [same for 0.3.1]
    Backup timer remove for auto unpause text

    Beta 0.3 
    23-12-2014
    added Swedish Translation Thanks TUSK3N1337 =)
    removed a lot of cvars that doubled up current CS:GO cvars. [Old CS:S code]
    - - 
    g_h_max_rounds FindConVar("mp_maxrounds");
    - - 
    g_h_overtime FindConVar("mp_overtime_enable");
    - - 
    g_h_overtime_mr FindConVar("mp_overtime_maxrounds");
    added veto plugin thanks to splewis for letting me use his code as a base
    added a restore match listener Using built in CS:GO restore command 

    Beta 0.2.5.7 
    27-08-2014
    Added option for Zeus on knife round
    Added option for Armour and Helmet on knife round

    Beta 0.2.5.6 
    18-08-2014
    Fixed small bug on linux servers not recording demos
    Hopefully fixed small bug chat with no msg

    Beta 0.2.5.5 
    02-07-2014
    added smzip extension as an alternative to the bz2 one
    updated French translation file by w00tzie

    Beta v0.2.5.4 13
    -June-2014
    added cvar "wm_warmod_safemode""0""This disables features that usually break on a CS:GO update"
    changed log and demo recordingNow does knife round on same file
    Fixed Max rounds bug
    Fixed name switch for Knife round
    [B]- Match is paused after knife and knife voteWill resume on Lo3[/B] - helps with stats from log files if you do this

    Beta v0.2.5.3 28
    -May-2014
    Quick Patch for CS_GetClientClanTag on Linux servers crashing [needs updated game data]. [commented them out]
    added log entry for team name changed
    set of team name work
    removed savescores include file [merged into the warmod include file]

    Beta v0.2.5.2 22-May-2014
    Quick Patch for CS_SetTeamScore and SetTeamScore. [commented them out]

    Beta v0.2.5.1 20-May-2014
    Changed Knife stay/switch vote
    Fixed map name bug and spelling for wm_pause_confirm
    SQL demo_name added Test with wm_sql_beta "1" (default is 0 and is the old version)

    Beta v0.2.5 17-May-2014
    Added code for Save Scores 1.3.6 [still needs a little testing]
    Added Overtime break cvarwm_over_time_break
    Readded Clantag grab and little more work on it
    Added more translations
    Fixed bug with pause command text
    Fixed weapon stats for cz75aUSP and M4A1-s
    Fixed map name grab [still little bug with wording]
    Updated the update URL

    Beta v0.2.4.1 08
    -May-2014
    Quick work around for windows servers
    Clantag grab not working in this versionOnly difference.


    Beta v0.2.4 27-Mar-2014
    Fixed Playout now. [make sure you have OT turned off for playout CSGO bug will continue to play OT if enabled]
    Added old SQL upload back inShould be working as is.
    LiveWire timer re-enabled

    Beta v0.2.31 15
    -Feb-2014
    Log update for new pistol
    Added 2 new cvar for log entries into on_map_load.cfg:
    wm_competition "WarMod BFG"
    wm_event "Scrims"

    Beta v0.2.2 01-Feb-2014
    Log event changed for player_death eventLogs m4a1 or hkp2000 instead of m4a1-or usp-[waiting on fix for other events to return right weapon]
    - Require 
    team name worked on also

    Beta v0.2.1 24
    -Jan-2014
    Added FTP Auto demo\log Upload [requires [URL="https://forums.alliedmods.net/showthread.php?p=1629724"]tEasyFTP[/URL] for it to work]
    Updated the require clan name command to allow the team to set if no clan tag available [set wm_require_names to "1" located in ruleset_global.cfg]
    Added assists and assists_tk to round_stats log event [already sent to Lordo for stats]
    Maxximou5 Added these feature(s):
    Force All Spectate 
      
    -- /forceallspecate /fas
      
    -- Added to WarMod menu
    - /spectate /spec overrides spectate limit

    Beta v0.2.0 10
    -Jan-2014
    Fixed Clan Tag Grab
    Added command to set score [/sst # "set score for T's" /ssct # "set score for CT's"
    Fixed Pause command
    Fixed Overtime command
    Added more translations [Need other languages translated]

    Beta V0.1.9 17-Dec-2013
    Added Get clan tag [Eddylad scripted this for meThanks mate =D]
    Added /prac and /warmup command
    Fixed wm_round_money problem and may have fixed wm_max_players [hopefully]
    Added new .cfg file and edited warmup.cfg
    Bug foundSQL results upload will lag serverAdded a timer to wait after last kill to upload for a work around for the moment

    Beta v0.1.8 14
    -Nov-13:
    Fixed Weapon Index error
    Now using 
    [B]mp_match_can_clinch[/Binstead of wm_play_out - [B]Either download the new cfg files or edit gamemode_competitive_server.cfg and warmod/ruleset_global.cfg files[/B]

    Beta v0.1.7 12-Nov-13:
    Added wm_chat_prefix which will change where [WarMod_BFGis printed to what you want. Default = "WarMod_BFG"

    Beta v0.1.6 11-Nov-13:
    Fixed Halftime cancel half and Pause bugs
    Fixed spelling 
    for wm_half_time_brake to wm_half_time_break and made default '0'

    Beta v0.1.5 23-Sep-13:
    Added pause and unpause function
    Swap/stay vote for winning team after knife round
    Changed how half time works 
    (can pause or continue via ConVar("wm_half_time_brake""1""Pause game at halftime for a brake, No break = 0, Break = 1");


    Beta v0.1.4 11-Sep-13:
    Added Assister to logs for both suicides and kills.

    Beta v0.1.3 07-Sep-13:
    Fixed Not Live command.
    Added Money display in team chat.

    Beta v0.1.2 06-Sep-13:
    Added Updater and updated Warmod CFG Files.zip

    Beta v0.1.1
    :
    Workshop auto record fix and halftime ready up added.

    Beta v0.1.0:
    Initial release 
    Pause cvar's
    • wm_pause_comfirm - "1", "Wait for other team to comfirm pause: 0 = off, 1 = on"
    • wm_auto_unpause - "1", "Sets auto unpause: 0 = off, 1 = on"
    • wm_auto_unpause_delay - "180", "Sets the seconds to wait before auto unpause"
    • wm_pause_limit - "1", "Sets max pause count per team per half"

    Install instructions:
    1. Install MetaMod [Latest snapshot of stable branch] https://www.sourcemm.net/downloads.php?branch=stable
    2. Install SourceMod [Latest snapshot of stable branch] https://www.sourcemod.net/downloads.php?branch=stable
    3. Add the warmod plugin to the csgo/addons/sourcemod/plugins folder : https://warmod.bitbucket.io/plugins/warmod.smx
    4. Start the server and you should be good to go. All the configs and the English translation file will be auto created.

    These have all the files required for Warmod and the FTP upload.
    To set up the FTP part please refer to this thread: Click Me

    Warmod.smx
    Warmod.sp
    Warmod.inc
    Warmod_configs.inc
    Include files from other projects: (these are located on my bit bucket - May not be up to date with their projects)
    tEasyFTP.inc
    bzip2.inc
    updater.inc
    zip.inc


    Translation files:
    Chi file here
    De file here
    Fr file here
    Hu file here
    Pt file here
    Ro file here
    Ru file here
    Sv file here
    English file here

    Warmod will require Sourcemod v1.10+
    __________________

    Last edited by versatile_bfg; 09-26-2022 at 05:22. Reason: Updated to SM1.11 build
    versatile_bfg is offline
     


    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:17.


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