Skip to content

myjailbreak core

shanapu edited this page Nov 26, 2017 · 1 revision

This plugins is the "interface" between Eventdays. Need for cooldowns and disable other days on running Eventday.
Handle config & natives for some modules

Admin commands

sm_endround - Allow the admin to force end the round as a draw.
sm_resetevent - Allow the admin to force end the round as a draw.

set your own custom command. take a look at "sm_myjb_cmds_endround"

ConVars

// Allow "MyJailbreak" to be added to the server tags? So player will find servers with MyJB faster. it dont touch you sv_tags
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_tag "1"

// Allow MyJailbreak to log events, freekills & eventdays in logs/MyJailbreak
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_log "1"

// 0 - disabled, 1 - allow player to trigger a map button by shooting it
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_shoot_buttons "1"

// Set your custom chat commands for admins to end the current round(!endround (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "er, stopround, end"
sm_myjb_cmds_endround "er, stopround, end"

// 0 - disabled, 1 - enable !endround command for testing (disable against abusing)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_allow_endround "0"

// 0 - disabled / Every x round could be an event day or voting
// -
// Default: "6"
// Minimum: "0.000000"
sm_myjb_random_round "6"

// 0 - Start an eventday voting / 1 - start an random eventday
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_random_type "1"

// Chance that the choosen round would be an event day
// -
// Default: "60"
// Minimum: "1.000000"
// Maximum: "100.000000"
sm_myjb_random_chance "60"

// Wait after mapchange x rounds before try first random eventday or voting
// -
// Default: "6"
// Minimum: "0.000000"
sm_myjb_random_mapstart_delay "6"

// 0 - disabled, 1 - disable medic room when event day running
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_myjb_medic "1"

// Sets the radius for the beacons rings.
// -
// Default: "850"
// Minimum: "50.000000"
// Maximum: "1500.000000"
sm_myjb_beacon_radius "850"

// Sets the thickness for the beacons rings.
// -
// Default: "25"
// Minimum: "10.000000"
// Maximum: "30.000000"
sm_myjb_beacon_width "25"

// What color to turn the CT beacons into (set R, G and B values to 255 to disable) (Rgb): x - red value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_CT_color_red "0"

// What color to turn the CT beacons into (rGb): x - green value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_CT_color_green "0"

// What color to turn the CT beacons into (rgB): x - blue value
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_CT_color_blue "255"

// What color to turn the T beacons  into (set R, G and B values to 255 to disable) (Rgb): x - red value
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_T_color_red "255"

// What color to turn the T beacons into (rGb): x - green value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_T_color_green "0"

// What color to turn the T beacons into (rgB): x - blue value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_myjb_beacon_T_color_blue "0"

Files

/addons/sourcemod/plugins/MyJailbreak/myjailbreak.smx
/addons/sourcemod/scripting/MyJailbreak/myjailbreak.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/fog.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/beacon.sp
/addons/sourcemod/scripting/include/myjailbreak.inc
/addons/sourcemod/configs/MyJailbreak/sorting_events.ini

Clone this wiki locally