AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] WarMod [BFG] <22.09.26.1915, 26-Sept-2022> (https://forums.alliedmods.net/showthread.php?t=225474)

versatile_bfg 09-05-2013 07:08

[CS:GO] WarMod [BFG] <22.09.26.1915, 26-Sept-2022>
 
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+

versatile_bfg 09-05-2013 07:16

Re: [CSGO] WarMod [BFG] <Beta v0.1.1, 05-09-2013>
 
For MySQL database you will need to add this to your sourcemod databases.cfg
PHP Code:


    
"warmod"
    
{
        
"driver"            "default"
        "host"            "localhost"
        "database"        "sourcemod"
        "user"            "root"
        "pass"            ""
        
//"timeout"        "0"
        //"port"            "0"
    


PHP Code:

Results Table
+----------------------+---------------------+------+-----+---------+----------------+
Field                Type                Null Key | Default | Extra          |
+----------------------+---------------------+------+-----+---------+----------------+
match_id             int(11unsigned    NO   PRI NULL    auto_increment |
match_start          datetime            NO   |     | NULL    |                |
match_end            datetime            NO   |     | NULL    |                |
map                  varchar(64)         | NO   |     | NULL    |                |
max_rounds           tinyint(3unsigned NO   |     | NULL    |                |
overtime_max_rounds  tinyint(3unsigned NO   |     | NULL    |                |
overtime_count       tinyint(3unsigned NO   |     | NULL    |                |
played_out           tinyint(1)          | NO   |     | NULL    |                |
t_name               varchar(128)        | NO   |     | NULL    |                |
t_overall_score      tinyint(3unsigned NO   |     | NULL    |                |
t_first_half_score   tinyint(3unsigned NO   |     | NULL    |                |
t_second_half_score  tinyint(3unsigned NO   |     | NULL    |                |
t_overtime_score     tinyint(3unsigned NO   |     | NULL    |                |
ct_name              varchar(128)        | NO   |     | NULL    |                |
ct_overall_score     tinyint(3unsigned NO   |     | NULL    |                |
ct_first_half_score  tinyint(3unsigned NO   |     | NULL    |                |
ct_second_half_score tinyint(3unsigned NO   |     | NULL    |                |
ct_overtime_score    tinyint(3unsigned NO   |     | NULL    |                |
demo                 varchar(128)        | NO   |     | NULL    |                |
+----------------------+---------------------+------+-----+---------+----------------+

Players Table
+-------------+---------------------+------+-----+---------+----------------+
Field       Type                Null Key | Default | Extra          |
+-------------+---------------------+------+-----+---------+----------------+
key_id      int(11unsigned    NO   PRI NULL    auto_increment |
match_id    int(11unsigned    NO   |     | NULL    |                |
steamid64   varchar(64)         | NO   |     | NULL    |                |
player_name varchar(64)         | NO   |     | NULL    |                |
team        tinyint(2unsigned NO   |     | NULL    |                |
+-------------+---------------------+------+-----+---------+----------------+ 

Way to make it view via PHP:
Quote:

Originally Posted by SirNickParks (Post 2333163)
I wrote a very simple one for you that uses plain PHP

https://github.com/SirNickParks/Warmod

You're welcome to use it wherever :)

Veto Bo1 Process
http://youtu.be/XvziKMHCpfk

PHP Code:

[B]Warmod convars:[/B]
wm_active "1""Enable or disable WarMod as active"
wm_warmod_safemode "0""This disables features that usually break on a CS:GO update"    
wm_chat_prefix "WarMod_BFG""Change the chat prefix. Default is WarMod_BFG"

wm_rcon_only "0""Enable or disable admin commands to be only executed via RCON or console"
wm_lock_teams "1""Enable or disable locked teams when a match is running"
wm_min_ready "10""Sets the minimum required ready players to Live on 3"
wm_max_players "10""Sets the maximum players allowed on both teams combined, others will be forced to spectator (0 = unlimited)"
wm_match_config "warmod/ruleset_mr15.cfg""Sets the match config to load on Live on 3"
wm_reset_config "warmod/on_match_end.cfg""Sets the config to load at the end/reset of a match"
wm_prac_config "warmod/prac.cfg""Sets the config to load up for practice"

wm_half_time_break "0""Pause game at halftime for a break, No break = 0, break = 1"
wm_over_time_break "0""Pause game at overtime for a break, No break = 0, break = 1"
wm_round_money "1""Enable or disable a client's team mates money to be displayed at the start of a round (to him only)"
wm_ingame_scores "1""Enable or disable ingame scores to be showed at the end of each round"

wm_require_names "0""Enable or disable the requirement of set team names for lo3"
wm_show_info "1""Enable or disable the display of the Ready System to players"
wm_auto_ready "1""Enable or disable the ready system being automatically enabled on map change"

// Demos
wm_auto_record "1""Enable or disable auto SourceTV demo record on Live on 3"
wm_save_dir "warmod""Directory to store SourceTV demos and WarMod logs"

// Stats logs
wm_prefix_logs "1""Enable or disable the prefixing of \"_\" to uncompleted match SourceTV demos and WarMod logs"
wm_stats_enabled "1""Enable or disable statistical logging"
wm_stats_method "2""Sets the stats logging method: 0 = UDP stream/server logs, 1 = WarMod logs, 2 = both"
wm_stats_trace "0""Enable or disable updating all player positions, every wm_stats_trace_delay seconds"
wm_stats_trace_delay "5""The ammount of time between sending player position updates"
wm_competition "WarMod BFG""Name of host for a competition. eg. ESEA, Cybergamer, CEVO, ESL"
wm_event "scrim""Name of event. eg. Season #, ODC #, Ladder"

// Warmup
wm_warmup_config "warmod/ruleset_warmup.cfg""Sets the config to load up for warmup"
wm_warmup_respawn "0""Enable or disable the respawning of players in warmup"
wm_block_warm_up_grenades "0""Enable or disable grenade blocking in warmup"

// Knife Round
wm_auto_knife "0""Enable or disable the knife round before going live"
wm_knife_auto_start "0""Enable or disable after knife round to be forced lived"
wm_knife_hegrenade "0""Enable or disable giving a player a hegrenade on Knife on 3"
wm_knife_flashbang "0""Sets how many flashbangs to give a player on Knife on 3"
wm_knife_smokegrenade "0""Enable or disable giving a player a smokegrenade on Knife on 3"
wm_knife_zeus "0""Enable or disable giving a player a zeus on Knife on 3"
wm_knife_armor "1""Enable or disable giving a player Armor on Knife on 3"
wm_knife_helmet "0""Enable or disable giving a player a Helmet on Knife on 3 [requires armor active]"

// FTP Upload stuff
wm_autodemoupload_enable "1""Automatically upload demos when finished recording."
wm_autodemoupload_bzip2 "9""Compression level. If set > 0 demos will be compressed before uploading. (Requires bzip2 extension.)"
wm_autodemoupload_delete "0""Delete the demo (and the bz2) if upload was successful."
wm_autodemoupload_ftptargetdemo "demos""The ftp target to use for uploads."
wm_autodemoupload_ftptargetlog "logs""The ftp target to use for uploads."
wm_autodemoupload_completed "1""Only upload demos when match is completed."

// Pause and Unpause stuff
wm_pause_confirm "1""Wait for other team to confirm pause: 0 = off, 1 = on"
wm_unpause_confirm "1""Wait for other team to confirm unpause: 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"

// Veto stuff
wm_pugsetup_maplist_file "configs/maps.txt""Maplist to read from. The file path is relative to the sourcemod directory."
wm_pugsetup_randomize_maps "1""When maps are shown in the map vote/veto, should their order be randomized?"
wm_veto "1""Veto Style: 0 = off, 1 = Bo1, 2 = Bo2, 3 = Bo3"
wm_veto_bo3 "0""Veto Style: 0 = Normal, 1 = New"
wm_veto_random "0""After the vetoing is done, will a map be picked at random?"


[B]Client commands[/B]
score ConsoleScore
wm_version 
WMVersion
wm_readylist 
ReadyList
wmrl 
ReadyList
wm_cash 
AskTeamMoney

sm_ready 
ReadyUp"Readies up the client"
sm_r ReadyUp"Readies up the client"
sm_rdy ReadyUp"Readies up the client"
sm_unready ReadyDown"Readies down the client"
sm_ur ReadyDown"Readies down the client"
sm_urdy ReadyDown"Readies down the client"
sm_info ReadyInfoPriv"Shows ready info"
sm_i ReadyInfoPriv"Shows ready info"
sm_score ShowScore"Shows score to client"
sm_s ShowScore"Shows score to client"
sm_stay Stay"Stay command for knife round"
sm_switch - Switch, "Switch command for knife round"
sm_pause Pause"Pauses the match"
sm_unpause Unpause"Resumes the match"

    
/* Veto cmds */
sm_vetobo1 Veto_Bo1"Ask for a Bo1 Veto"
sm_vetoBo1 Veto_Bo1"Ask for a Bo1 Veto"
sm_vetobo3 Veto_Bo3"Ask for a Bo3 Veto"
sm_vetoBo3 Veto_Bo3"Ask for a Bo3 Veto"
sm_veto Veto_Setup"Ask for Veto"
sm_Veto Veto_Setup"Ask for Veto"
sm_vetomaps Veto_Bo3_Maps"Veto Bo3 Maps"

[B]Sourcemod admin o flag[/B]

knife or ko3                     KnifeOn3                     Remove all weapons except knife and lo3
cancelknife 
or ck                 CancelKnife                    Declares knife not live and restarts round

forceallready 
or far                 ForceAllReady                    Forces all players to become ready
lo3
forcestart or fs                ForceStart                    Starts the match regardless of player and ready count

forceallunready 
or faur                ForceAllUnready                Forces all players to become unready
forceend 
or fe                    ForceEnd                    Ends the match regardless of status
notlive
nlcancelhalf or ch            NotLive                    Declares half not live and restarts the round
cancelmatch 
or cm                CancelMatch                    Declares match not live and restarts round

forceallspectate 
or fas                ForceAllSpectate                Forces all players to become a spectator
aswap                        
SwapAll                    Swap all players to the opposite team

active                        
ActiveToggle                    Toggle the wm_active console variable
readyup 
or ru                    ReadyToggle                    Starts or stops the ReadyUp System
readyon 
or ron                    ReadyOn                    Turns on or restarts the ReadyUp System
readyoff 
or roff                ReadyOff                    Turns off the ReadyUp System if enabled

minready                    
ChangeMinReady                Set or display the wm_min_ready console variable
maxrounds                    
ChangeMaxRounds                Set or display the wm_max_rounds console variable

t                        
ChangeT                    Changes the terrorists name Designed for score purposes
ct                        
ChangeCT                    Changes the counter-terrorists name Designed for score purposes
sst                        
SetScoreT                    Setting terrorists score
ssct                        
SetScoreCT                    Setting counter-terrorists scores

prac                        
Practice                    Puts server into a practice mode state
warmup                        
WarmUp                    Puts server into a warm up state 


mlov420 09-05-2013 12:40

Re: [CSGO] WarMod [BFG] <Beta v0.1.1, 05-09-2013>
 
This looks awesome! I have been looking for something exactly like this for my 2 private servers because we host weekly scrim events on Sunday nights. I'm definitely going to install this today and I will provide feedback once I get a chance to use it, which will likely be this evening.

Thank you!

versatile_bfg 09-05-2013 22:04

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
A small update. Updated CFG files in the .zip [fixed round time and added sm_updater command] and added Updater code for future releases. =)

indungi 09-06-2013 05:55

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
sv_password is working proprely? or we are not able to add password till players are connected on server?

versatile_bfg 09-06-2013 06:15

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
Quote:

Originally Posted by indungi (Post 2029229)
sv_password is working proprely? or we are not able to add password till player are players connected on server?

Will look into that. As this is beta code there will be a few things like that in there. :cry:

Thanks for letting me know. :)

Edit:

Was working on my server. Do you have admin for the server? sourcemod admin.

indungi 09-06-2013 06:36

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
If you wish, i can offer you a FTP for a server to test it (latest sourcemod). If everything works fine, i will support you plugin on my all community servers.

I have tested many times, and sv_password is a problem for CS:GO server for a long long time ... :D

versatile_bfg 09-06-2013 06:52

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
Quote:

Originally Posted by indungi (Post 2029242)
If you wish, i can offer you a FTP for a server to test it (latest sourcemod). If everything works fine, i will support you plugin on my all community servers.

I have tested many times, and sv_password is a problem for CS:GO server for a long long time ... :D

It changes it in game while people are in the server but once left it will revert back to normal. =( It's not the best command as it shows the password to every player. Will need to fix it to hide this.

I'll add that to the list to fix. Thanks =)

indungi 09-06-2013 07:07

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
Ok, i'll wait for that fix. Topic followed (send me a PM if i will be able to help with more infos)

versatile_bfg 09-06-2013 07:12

Re: [CSGO] WarMod [BFG] <Beta v0.1.2, 06-Sep-2013>
 
Quote:

Originally Posted by indungi (Post 2029269)
Ok, i'll wait for that fix. Topic followed (send me a PM if i will be able to help with more infos)

Just to clarify you were talking about the /pwd or /pw command and not the actual sv_password command?

All my servers have passwords on them with the sv_password command in the cfg file.


All times are GMT -4. The time now is 13:46.

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