if["${gamename}"=="BrainBread 2"]||["${gamename}"=="Black Mesa: Deathmatch"]||["${gamename}"=="Counter-Strike: Global Offensive"]||["${gamename}"=="Empires Mod"]||["${gamename}"=="Garry’s Mod"]||["${gamename}"=="No more Room in Hell"]||["${gamename}"=="Team Fortress 2"]||["${gamename}"=="Tower Unite"];then
if["${gamename}"=="BrainBread 2"]||["${gamename}"=="Black Mesa: Deathmatch"]||["${gamename}"=="Counter-Strike: Global Offensive"]||["${gamename}"=="Empires Mod"]||["${gamename}"=="Garry’s Mod"]||["${gamename}"=="No more Room in Hell"]||["${gamename}"=="Team Fortress 2"]||["${gamename}"=="Tower Unite"];then
elif["${engine}"=="source"]||["${engine}"=="quake"]||["${engine}"=="idtech2"]||["${engine}"=="idtech3"]||["${engine}"=="idtech3_ql"]||["${engine}"=="Just Cause 2"]||["${engine}"=="projectzomboid"]||["${shortname}"=="rw"];then
elif["${engine}"=="source"]||["${engine}"=="quake"]||["${engine}"=="idtech2"]||["${engine}"=="idtech3"]||["${engine}"=="idtech3_ql"]||["${engine}"=="Just Cause 2"]||["${engine}"=="projectzomboid"]||["${shortname}"=="rw"];then
# engines/games that require editing in the config file
# engines/games that require editing in the config file
localports_edit_array=("avalanche2.0""avalanche3.0""Ballistic Overkill""dontstarve""Eco""idtech2""idtech3""idtech3_ql""lwjgl2""Project Cars""projectzomboid""quake""refractor""realvirtuality""renderware""seriousengine35""Stationeers""teeworlds""terraria""unreal""unreal2""unreal3""TeamSpeak 3""Mumble""7 Days To Die")
localports_edit_array=("avalanche2.0""avalanche3.0""Ballistic Overkill""dontstarve""Eco""idtech2""idtech3""idtech3_ql""lwjgl2""Project Cars""projectzomboid""quake""refractor""realvirtuality""renderware""seriousengine35""Stationeers""teeworlds""terraria""unreal""unreal2""unreal3""TeamSpeak 3""Mumble""7 Days To Die""wurm")
mod_info_metamod=( MOD "metamod""MetaMod""${metamodurl}""${metamodlatestfile}""0""LowercaseOff""${systemdir}""addons/metamod/metaplugins.ini;""source;""GAMES""NOTGAMES""https://www.sourcemm.net""Plugins Framework")
mod_info_metamod=( MOD "metamod""MetaMod""${metamodurl}""${metamodlatestfile}""0""LowercaseOff""${systemdir}""addons/metamod/metaplugins.ini;""source;""GAMES""NOTGAMES""https://www.sourcemm.net""Plugins Framework")
mod_info_sourcemod=( MOD "sourcemod""SourceMod""${sourcemodurl}""${sourcemodlatestfile}""0""LowercaseOff""${systemdir}""cfg;addons/sourcemod/configs;""source;""GAMES""NOTGAMES""http://www.sourcemod.net""Admin Features (requires MetaMod)")
mod_info_sourcemod=( MOD "sourcemod""SourceMod""${sourcemodurl}""${sourcemodlatestfile}""0""LowercaseOff""${systemdir}""cfg;addons/sourcemod/configs;""source;""GAMES""NOTGAMES""http://www.sourcemod.net""Admin Features (requires MetaMod)")
# CS:GO Mods
mod_info_gokz=( MOD "gokz""GOKZ""https://bitbucket.org/kztimerglobalteam/gokz/downloads/GOKZ-latest.zip""gokz-latest.zip""0""LowercaseOff""${systemdir}""cfg;addons/sourcemod/configs;""source;""Counter Strike: Global Offensive""NOTGAMES""https://bitbucket.org/kztimerglobalteam/gokz/src/master/""Implements the KZ game mode (requires SourceMod and MetaMod)")
mod_info_ttt=( MOD "ttt""Trouble in Terrorist Town""https://csgottt.com/downloads/ttt-latest-dev-${sourcemodmversion}.zip""ttt-latest.zip""0""LowercaseOff""${systemdir}""cfg;addons/sourcemod/configs;""source;""Counter Strike: Global Offensive""NOTGAMES""https://github.com/Bara/TroubleinTerroristTown""Implements the TTT game mode (requires SourceMod and MetaMod)")
# Garry's Mod Addons
# Garry's Mod Addons
mod_info_ulib=( MOD "ulib""ULib""https://codeload.github.com/TeamUlysses/ulib/zip/master""ulib-master.zip""0""LowercaseOff""${systemdir}/addons""OVERWRITE""ENGINES""Garry's Mod;""NOTGAMES""http://ulyssesmod.net""Complete Framework")
mod_info_ulib=( MOD "ulib""ULib""https://codeload.github.com/TeamUlysses/ulib/zip/master""ulib-master.zip""0""LowercaseOff""${systemdir}/addons""OVERWRITE""ENGINES""Garry's Mod;""NOTGAMES""http://ulyssesmod.net""Complete Framework")
mod_info_ulx=( MOD "ulx""ULX""https://codeload.github.com/TeamUlysses/ulx/zip/master""ulx-master.zip""0""LowercaseOff""${systemdir}/addons""OVERWRITE""ENGINES""Garry's Mod;""NOTGAMES""http://ulyssesmod.net""Admin Panel (requires ULib)")
mod_info_ulx=( MOD "ulx""ULX""https://codeload.github.com/TeamUlysses/ulx/zip/master""ulx-master.zip""0""LowercaseOff""${systemdir}/addons""OVERWRITE""ENGINES""Garry's Mod;""NOTGAMES""http://ulyssesmod.net""Admin Panel (requires ULib)")
@ -81,4 +85,4 @@ mod_info_hwoxide=( MOD "hwoxide" "Oxide for Hurtworld" "${oxidehurtworldlatestli
mod_info_sdtdoxide=( MOD "sdtdoxide""Oxide for 7 Days To Die""${oxidesdtdlatestlink}""Oxide.SevenDaysToDie.zip""0""LowercaseOff""${systemdir}""OVERWRITE""ENGINES""7 Days To Die;""NOTGAMES""http://oxidemod.org/downloads/oxide-for-7-days-to-die.813/""Allows for the use of plugins")
mod_info_sdtdoxide=( MOD "sdtdoxide""Oxide for 7 Days To Die""${oxidesdtdlatestlink}""Oxide.SevenDaysToDie.zip""0""LowercaseOff""${systemdir}""OVERWRITE""ENGINES""7 Days To Die;""NOTGAMES""http://oxidemod.org/downloads/oxide-for-7-days-to-die.813/""Allows for the use of plugins")
# REQUIRED: Set all mods info into the global array
# REQUIRED: Set all mods info into the global array