#######[one] ESL Script by QuadPrime (PUBLIC EDITION)###### # # Setup: Copy/Paste everything into Proconrulz, Setup your Desired Limits, functions and Passwords in the # "Set Limits and Functions" chapter Below. On first run, Log in as Admin using /Password yourpassword. # Use !initialize to Setup the Server's Maplist According to Official ESL Rules. # # # # Available Commands # # /Password yourpassword - Logs you in as Admin, until you Logout # !Logout,/Logout Logs you out as Admin # !penalty on / off # !addspectator X - sets X spec-slots (0-4) # !map X - Loads Map # X (1-18) from Index # 1 Siege of Shangai (DOM) # 2 Paracel Storm (DOM) # 3 Operation Locker (DOM) # 4 Dawnbreaker (DOM) # 5 Lancang Dam (DOM) # 6 Zavod 311 (DOM) # 7 Golmud Railway (DOM) # 8 Siege of Shangai (SQO) # 9 Paracel Storm (SQO) # 10 Operation Locker (SQO) # 11 Dawnbreaker (SQO) # 12 Hainan Resort (SQO) # 13 Zavod 311 (SQO) # 14 Golmud Railway (SQO) # 15 Operation Locker (2v2TDM) # 16 Dawnbreaker (2v2TDM) # 17 Operation Locker (SQTDM) # 18 Dawnbreaker (SQTDM) # # !live enemyteam - restarts round in LIVE mode # !warmup - restarts round in WARMUP mode # !initialize - Re-initializes the Maplist # # # ##Set Limits and Functions ##Set Admin Password Here On Say;if %admin_password% == 0; +Set %admin_password% PASSWORD ##Infraction treshold (1 in Infraction Treshold = normal kill on rulebreak) On Spawn;if %server_infraction_treshold% = 0 +set %server_infraction_treshold% 1 ##Set Help Dummy On Round;Not if %server_dummy% = 1 +set %server_dummy% 1 #Commands Blocked in LIVE mode On Say;if %ini_admin_%p%_isadmin% = 1;Text !reset; if %ini_vars_live% = 1; +set %ini_vars_live% = 0 +say commands Unlocked! On Say;if %ini_admin_%p%_isadmin% = 1;Text !live,!warmup,!addspectator,!map,!penalty,!initialize; if %ini_vars_live% = 1; +PlayerSay Commands are Blocked during live mode, use !reset to unlock. +End #Admin Login #already logged in On Say;Text /password,/Password;if %ini_admin_%p%_isadmin% = 1; +PlayerSay You are already logged in, %p%. #wrong Password On Say;Text /password,/Password;Not if %targettext% = %admin_password%;if %ini_admin_%p%_isadmin% = 0; +PlayerSay Wrong Password! #Right password - login On Say;Text /password,/Password;if %targettext% = %admin_password%;if %ini_admin_%p%_isadmin% = 0; +Set %ini_admin_%p%_isadmin% 1 +PlayerSay you have been logged in, %p%. Commands now available. #Logout if Logged in On Say;Text /logout,/Logout,!logout,!Logout;if %ini_admin_%p%_isadmin% = 1; +Set %ini_admin_%p%_isadmin% 0 +PlayerSay you have been logged out, %p%. #Initialize Maplist On Say;if %ini_admin_%p%_isadmin% = 1;Text !initialize; +exec mapList.clear +exec mapList.add MP_Siege Domination0 2 +exec mapList.add MP_Naval Domination0 2 +exec mapList.add MP_Prison Domination0 2 +exec mapList.add MP_Tremors Domination0 2 +exec mapList.add MP_Damage Domination0 2 +exec mapList.add MP_Abandoned Domination0 2 +exec mapList.add MP_Journey Domination0 2 +exec mapList.add MP_Siege SquadObliteration0 2 +exec mapList.add MP_Naval SquadObliteration0 2 +exec mapList.add MP_Prison SquadObliteration0 2 +exec mapList.add MP_Tremors SquadObliteration0 2 +exec mapList.add MP_Resort SquadObliteration0 2 +exec mapList.add MP_Abandoned SquadObliteration0 2 +exec mapList.add MP_Journey SquadObliteration0 2 +exec mapList.add MP_Prison TeamDeathMatch0 2 +exec mapList.add MP_Tremors TeamDeathMatch0 2 +exec mapList.add MP_Prison SquadDeathMatch0 2 +exec mapList.add MP_Tremors SquadDeathMatch0 2 +say Maplist initialized. #Set Mapnames (According to Maplist.txt!) taken from official ESL rotation and Order #1 - 7 DOMINATION ONLY!!! On Say;if %server_map1% = 0; set %server_map1% Siege of Shangai (DOM) On Say;if %server_map2% = 0; set %server_map2% Paracel Storm (DOM) On Say;if %server_map3% = 0; set %server_map3% Operation Locker (DOM) On Say;if %server_map4% = 0; set %server_map4% Dawnbreaker (DOM) On Say;if %server_map5% = 0; set %server_map5% Lancang Dam (DOM) On Say;if %server_map6% = 0; set %server_map6% Zavod 311 (DOM) On Say;if %server_map7% = 0; set %server_map7% Golmud Railway (DOM) #8 - 14 SQO!!! On Say;if %server_map8% = 0; set %server_map8% Siege of Shangai (SQO) On Say;if %server_map9% = 0; set %server_map9% Paracel Storm (SQO) On Say;if %server_map10% = 0; set %server_map10% Operation Locker (SQO) On Say;if %server_map11% = 0; set %server_map11% Dawnbreaker (SQO) On Say;if %server_map12% = 0; set %server_map12% Hainan Resort (SQO) On Say;if %server_map13% = 0; set %server_map13% Zavod 311 (SQO) On Say;if %server_map14% = 0; set %server_map14% Golmud Railway (SQO) #15 - 16 TDM!!! On Say;if %server_map15% = 0; set %server_map15% Operation Locker (2v2TDM) On Say;if %server_map16% = 0; set %server_map16% Dawnbreaker (2v2TDM) #17 - 18 SQTDM!!! On Say;if %server_map17% = 0; set %server_map17% Operation Locker (SQTDM) On Say;if %server_map18% = 0; set %server_map18% Dawnbreaker (SQTDM) #maplist #On Say;if %ini_admin_%p%_isadmin% = 1;Text !maplist; #+say 1:%server_map1%/2:%server_map2%/3:%server_map3% #+say 4:%server_map4%/5:%server_map5%/6:%server_map6% #+say 7:%server_map7%/8:%server_map8%/9:%server_map9% #+say 10:%server_map10%/11:%server_map11%/12:%server_map12% #+say 13:%server_map13%/14:%server_map14%/15:%server_map15% #+say 16:%server_map16% # Competetive Modes # Go Live On Say;if %ini_admin_%p%_isadmin% = 1;Text !live; if %targettext% = 0; +say Please enter the enemy Team's name behind the !live command! On Say;if %ini_admin_%p%_isadmin% = 1;Text !live; if %targettext% != 0; +set %ini_vars_enemy_team% %targettext% +set %ini_vars_live% 1 +exec mapList.restartRound +exec vars.roundLockdownCountdown 60 On Spawn;PlayerFirst;if %ini_vars_enemy_team% != 0; if %ini_vars_live% = 1; +PlayerYell Going LIVE against %ini_vars_enemy_team% @ %ymd%, %hms% on %m% %mm% in a %ts1%V%ts2% On Spawn;PlayerFirst;if %ini_vars_enemy_team% = 0; if %ini_vars_live% = 1; +PlayerYell Going LIVE @ %ymd%, %hms% on %m% %mm% in a %ts1%V%ts2% # Go Warmup On Say;if %ini_admin_%p%_isadmin% = 1;Text !warmup; +set %ini_vars_live% 0 +set %ini_vars_enemy_team% 0 +exec vars.roundLockdownCountdown 10 +exec mapList.restartRound On Spawn;PlayerFirst; if %ini_vars_live% = 0; +PlayerYell WARMUP MODE! #Auto Warmup if empty On Leave;if %server_total_players% < 20; +set %server_total_players% %ts1% + %ts2% On Leave;if %server_total_players% = 1; +say Server's Empty (%ts1%/%ts2%,%server_total_players% ). Resetting... +set %ini_vars_live% 0 +set %ini_vars_enemy_team% 0 +exec vars.roundLockdownCountdown 10 +exec mapList.setNextMapIndex 2 +exec mapList.restartRound #commands response (info) On Say;if %ini_admin_%p%_isadmin% = 0;Text !commands; +say %p%, You have not enough Admin Privileges! On Say;if %ini_admin_%p%_isadmin% = 1;Text !commands; +PlayerSay !penalty on / off; +PlayerSay !addspectator X - sets X spec-slots (0-4); +PlayerSay !map X - Loads Map # X (1-18) from Index; +PlayerSay !live (enemyteam) - restarts round in LIVE mode; +PlayerSay !warmup - restarts round in WARMUP mode; +PlayerSay !initialize - Re-initializes the Maplist; #Mapchanger On Say;if %ini_admin_%p%_isadmin% = 0;Text !map; +say %p%, You have not enough Admin Privileges! On Say;if %ini_admin_%p%_isadmin% = 1;Text !no;set %confirmation_required% 0 #Domination Maps #Map 1 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 1;Not Text !map 10;Not Text !map 11;Not Text !map 12;Not Text !map 13;Not Text !map 14;Not Text !map 15;Not Text !map 16;Not Text !map 17;Not Text !map 18; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 0 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map1% +say Load Map %server_map1%? #Map 2 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 2; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 1 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map2% +say Load Map %server_map2%? #Map 3 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 3; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 2 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map3% +say Load Map %server_map3%? #Map 4 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 4; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 3 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map4% +say Load Map %server_map4%? #SquadObliteration Maps #Map 5 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 5; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 4 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map5% +say Load Map %server_map5%? #Map 6 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 6; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 5 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map6% +say Load Map %server_map6%? #Map 7 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 7; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 6 +exec vars.gameModeCounter "67" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map7% +say Load Map %server_map7%? #Map 8 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 8; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 7 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map8% +say Load Map %server_map8%? #Map 9 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 9; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 8 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map9% +say Load Map %server_map9%? #Map 10 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 10; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 9 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map10% +say Load Map %server_map10%? #Map 11 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 11; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 10 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map11% +say Load Map %server_map11%? #Map 12 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 12; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 11 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map12% +say Load Map %server_map12%? #Map 13 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 13; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 12 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map13% +say Load Map %server_map13%? #Map 14 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 14; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 13 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "75" +set %ini_vars_current_map% %server_map14% +say Load Map %server_map14%? #Map 15 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 15; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 14 +exec vars.gameModeCounter "31" +exec vars.roundTimeLimit "42" +set %ini_vars_current_map% %server_map15% +say Load Map %server_map15%? #Map 16 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 16; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 15 +exec vars.gameModeCounter "31" +exec vars.roundTimeLimit "42" +set %ini_vars_current_map% %server_map16% +say Load Map %server_map16%? #Map 17 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 17; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 16 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map17% +say Load Map %server_map17%? #Map 18 On Say;if %ini_admin_%p%_isadmin% = 1;Text !map 18; +set %confirmation_required% 1 +exec mapList.setNextMapIndex 17 +exec vars.gameModeCounter "100" +exec vars.roundTimeLimit "100" +set %ini_vars_current_map% %server_map18% +say Load Map %server_map18%? #Confirmation Required On Say;if %ini_admin_%p%_isadmin% = 1;if %confirmation_required% >= 1; Text !yes; +exec mapList.runNextRound +set %confirmation_required% 0 On Say;if %ini_admin_%p%_isadmin% = 1;if %confirmation_required% >= 1; Text !no; +set %confirmation_required% 0 #enable/disable Penalty system On Say;if %ini_admin_%p%_isadmin% = 0;Text !penalty; +say %p%, You have no Admin Privileges! On Say;if %ini_admin_%p%_isadmin% = 1;Text !penalty on; +set %server_infraction_treshold% 3; +say enabling Penalty! (%server_infraction_treshold% Kills after rulebreak) On Say;if %ini_admin_%p%_isadmin% = 1;Text !penalty off; +set %server_infraction_treshold% 1; +say disabling Penalty! (no on Spawn Kill after rulebreak) #Activate Spectator Slots On Say;if %ini_admin_%p%_isadmin% = 0;Text !addspectator; +say %p%, You have no Admin Privileges! On Say;if %ini_admin_%p%_isadmin% = 1;Text !addspectator 0; +say Removing Spectator Slots... +exec vars.maxSpectators 0 +say Success. On Say;if %ini_admin_%p%_isadmin% = 1;Text !addspectator 1; +say Adding 1 Spectator Slot... +exec vars.maxSpectators 1 +say Success. On Say;if %ini_admin_%p%_isadmin% = 1;Text !addspectator 2; +say Adding 2 Spectator Slots... +exec vars.maxSpectators 2 +say Success. On Say;if %ini_admin_%p%_isadmin% = 1;Text !addspectator 3; +say Adding 3 Spectator Slots... +exec vars.maxSpectators 3 +say Success. On Say;if %ini_admin_%p%_isadmin% = 1;Text !addspectator 4; +say Adding 4 Spectator Slots... +exec vars.maxSpectators 4 +say Success. ###### Information Shouts #On Spawn;PlayerFirst;if %ini_admin_%p%_isadmin% = 0;PlayerSay %p%,ESL RULES! type !allowed in chat for more info! On Spawn;PlayerFirst;if %ini_admin_%p%_isadmin% = 1; PlayerSay type !commands for Help. On Say;Text !allowed,!weapons; PlayerSay RESTRICTED WEAPONS:FAMAS,ACE 52,SCAR-H,CZ-3A1,M320 except smoke,Claymore,C4,Battle Pickups,M26,Airburst,Spawn beacon,Tugs,All shotguns,Motionballs,V40 mini grenade,RGO Impact,M224,MORTAR,Flashbang,MAV,IRNV Scope,FLIR Scope,ALL DLC weapons/gadgets #debug On Say;Text ?punishinfo; PlayerSay Your Infraction score is %infraction_counter%, %server_infraction_treshold% times Kill-Penalty on rulebreak. # Not Weapon Death # Checking Weapons On Kill; # Additional Trigger +Not Weapon Damagearea +Not Weapon SoldierCollision +Not Weapon Death +Not Weapon Melee # Allowed Assault Rifles #+Not Weapon U_SCARH +Not Weapon U_M416 +Not Weapon U_SAR21 +Not Weapon U_AEK971 +Not Weapon U_SteyrAug +Not Weapon U_M16A4 +Not Weapon U_CZ805 +Not Weapon U_AK12 +Not Weapon U_AN94 +Not Weapon U_GalilACE23 +Not Weapon U_QBZ951 +Not Weapon U_L85A2 # Allowed Carbines +Not Weapon U_ACR +Not Weapon U_SG553LB +Not Weapon U_AKU12 +Not Weapon U_A91 +Not Weapon U_G36C +Not Weapon U_M4A1 +Not Weapon U_GalilACE +Not Weapon U_Type95B +Not Weapon U_Groza-1 +Not Weapon U_AK5C +Not Weapon dlSHTR # Allowed Shotguns # none # Allowed LMGs +Not Weapon U_LSAT +Not Weapon U_Pecheneg +Not Weapon U_QBB95 +Not Weapon U_M240 +Not Weapon U_MG4 +Not Weapon U_Ultimax +Not Weapon U_M249 +Not Weapon U_RPK12 +Not Weapon U_L86A1 # Allowed PDWs +Not Weapon U_PP2000 +Not Weapon U_UMP45 +Not Weapon U_CBJ-MS +Not Weapon U_MagpulPDR #+Not Weapon U_Scorpion +Not Weapon U_JS2 +Not Weapon U_Groza-4 +Not Weapon U_MX4 +Not Weapon U_P90 +Not Weapon U_UMP9 # Allowed DMRs +Not Weapon U_MK11 +Not Weapon U_SKS +Not Weapon U_SVD12 +Not Weapon U_QBU88 +Not Weapon U_M39EBR +Not Weapon U_GalilACE53 +Not Weapon U_SCAR-HSV +Not Weapon U_RFB # Allowed Sniper Rifles +Not Weapon U_M40A5 +Not Weapon U_Scout +Not Weapon U_SV98 +Not Weapon U_JNG90 +Not Weapon U_SR338 +Not Weapon U_M98B +Not Weapon U_M200 +Not Weapon U_CS-LR4 +Not Weapon U_FY-JS # Allowed Pistols +Not Weapon U_M9 +Not Weapon U_QSZ92 +Not Weapon U_MP443 +Not Weapon U_Glock18 +Not Weapon U_FN57 +Not Weapon U_M1911 +Not Weapon U_M93R +Not Weapon U_CZ75 +Not Weapon U_Taurus44 +Not Weapon U_HK45C +Not Weapon U_P226 +Not Weapon U_SaddlegunSnp +Not Weapon U_MP412Rex # Allowed Hand Grenades +Not Weapon U_M34 +Not Weapon U_M67 # Allowed Gadgets +Not Weapon U_Repairtool +Not Weapon U_XM25_Smoke +Not Weapon EODBot +Not Weapon U_PortableMedicpack +Not Weapon U_Medkit +Not Weapon U_Defib # Allowed Explosives/Rockets +Not Weapon U_RPG7 +Not Weapon U_SMAW +Not Weapon U_SRAW +Not Weapon U_NLAW +Not Weapon U_FGM148 +say %p% used forbidden weapon %w% to kill %v%. (%c%. Fail) +set %infraction_counter% 1 +PlayerSay %server_infraction_treshold% Kill Penalty! [%infraction_counter%/%server_infraction_treshold%] +kill # Penalty Routine # Reset to 0 if Penalty is done On Spawn; if %infraction_counter% >= %server_infraction_treshold% +set %infraction_counter% 0 +PlayerSay Play Fair now! # Penalty On spawn kill qeued On Spawn; if %infraction_counter% <= %server_infraction_treshold%;if %infraction_counter% > 0; +kill +incr %infraction_counter% +PlayerSay %server_infraction_treshold% Kill Penalty! [%infraction_counter%/%server_infraction_treshold%]