Jailbreak is a gamemode where inmates and guards battle one another. Inmates objective is to make it to the end of the round and get a last request. Guards are their to maintain order and following the orders given to them by the Warden.
The following convars can be used to change gameplay.
jb_round_limit - 30 - Max round limit before trying to change map. jb_time_limit - 900 - Round time limit in seconds. jb_ratio - 3 - Inmate to Guard ratio.
Additionally if you go into the sh_confi.lua file inside the gamemode folder. You can disable all or none hud elements, disable scoreboard, disable automatically changing to next map, allow lr tool access, and help text.
If you place to change any LR locations you must set/add your steam in the GM.ToolAccess table. And then give your self weapon_lr via your admin mod. Then you can change the locations.
Included currently there are 3 hooks provided (with more to come). All the below hooks are called on client and server. Client hooks are delayed by about 0.2 seconds. You are welcome to suggest and submit changes to the github. This can be code clean up, fixing bugs, adding features, etc.
hook.Add(“RoundPrep”, “RoundPrepDummy”, function()
print(“RoundPrep”, CLIENT, SERVER)
hook.Add(“RoundStart”, “RoundStartDummy”, function()
print(“RoundStart”, CLIENT, SERVER)
hook.Add(“RoundEnd”, “RoundEndDummy”, function( win )
print(“RoundEnd”, CLIENT, SERVER, win)
if win == 1 then
– guards win
elseif win == 2 then
– inmates win
The following functions are accessible on server and clients.
Player:SetLR( bool )
Player:SetWarden( bool )
You can download it from workshop or my github. If you download it from the workshop you will either have to create lr locations for (race, kf, and shot for shot) or download them from github.
The following maps are supported(assuming you download them from github).
ba_jail_alcatraz_pre-final ba_jail_blackops ba_jail_canyondam_v6_fix ba_jail_electric_aero_v1_1 ba_jail_hellsgamers_se_r2 ba_jail_ishimura_v2 ba_jail_minecraft_beach_beta3 jb_carceris_final_fixed jb_castleguarddev jb_italia_beta4 jb_lego_jail_v4 jb_new_summer_v2o jb_no1_jail_v2b9 jb_parabellum_xg_v1-1 jb_paradise_prison_fix jb_vipinthemix_v1_2
This is an on going project . Expect bug fixes, new features, code clean up, optimizations to come as their submitted.
This version of this gamemode was created for  GmodStore Garry’s Mod Gamemode Competition