Skip to content
thomas edited this page May 23, 2018 · 24 revisions

This plugins allows players to take control over the prison as warden/headguard/commander.

  • Chat, hud & sound notifications about warden / no warden.
  • Vote to retire the warden.
  • Colorized warden and define the color. Set warden Model and icon above head.
  • Open & close cell doors & automatic open.
  • Mute terrorist for a amoung of time or round end.
  • Gun plant prevention - CT can drop weapons only on round beginn without punishment & report to warden.
  • Use Zeus as Handcuffs and move the cuffed T around.
    • When a terror get cuffed, there is a chance of 1:5(default) the terror gets a paperclip. If he got one, terror will get a message and hear a sound(unlocking) after a random time between 15-35 seconds he gets a message whether he unlocked the cuffs, there is a change of 1(default), or broke the paperclip. On unlock a sound will played for all player.
  • Give warden laser pointer & drawer(LaZzZers) with menu to choose color. Warden can toggle drawer for terrorists.
  • Set different countdowns (start/stop) with overlays, sound & chat notifications.
  • Start a MathQuiz with endtimer & show the player with the first right answer.
  • Toggle Friendly Fire & No Block. Kill/pick a random T (excluding rebels & last T) with different kill effects(Lighting,Timebomb,Firebomb).
  • Count Player In Wardens radius.
  • Mark or UnMark a player as Rebel.
  • Automute Player when warden Talks.
  • Shoot weapons on ground to remove them.
  • Determine a deputy with various warden features.

marker video

handcuffs video

Commands

sm_warden - Allows the player taking the charge over prisoners
sm_unwarden - Allows the player to retire from the position
sm_deputy - Allows the warden to choose a deputy or a player to become deputy.
sm_undeputy - Allows the warden to remove the deputy and the deputy to retire from the position.
sm_vetowarden - Allows the player to vote to retire warden
sm_open - Allows the warden to open the cell doors
sm_close - Allows the warden to close the cell doors
sm_sparks - Allows Warden to toggle on/off the wardens bullet sparks
sm_laser - Allows the warden to toggle the wardens Laser pointer
sm_extend - Allows the warden to extend the roundtime
sm_Painter - Allows the warden to toggle the wardens Painter
sm_noblock - Allows the warden to toggle no block 
sm_setff - Allows player to see the state and the warden to toggle friendly fire
sm_cdmenu - Allows the warden to open the Countdown Menu
sm_cdstart - Allows the warden to start a START Countdown! (start after 10sec.) - start without menu
sm_cdstop - Allows the warden to start a STOP Countdown! (stop after 20sec.) - start without menu
sm_cdstartstop - Allows the warden to start a START/STOP Countdown! (start after 10sec./stop after 20sec.) - start without menu
sm_cdcancel - Allows the warden to cancel a running Countdown disabled / bugged
sm_killrandom - Allows the warden to kill a random T
sm_math - Allows the warden to start a MathQuiz. Show player with first right Answer
sm_wmute - Allows the warden to mute a terrorist
sm_wunmute - Allows the warden to unmute a muted terrorist
sm_markrebel - Allows Warden to mark/unmark prisoner as rebel
sm_count - Allows Warden to count the prisoners in his field of view
sm_nolastrequest - Allows Warden to withheld the prisonerslast request
+beacons - bind "+beacons" for markers to use instead rightclick mouse

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

AdminCommands // ADMFLAG_GENERIC

sm_setwarden - Allows the Admin to set a player to warden
sm_removewarden - Allows the Admin to remove a player from warden
sm_removedeputy - Allows the admin to remove the deputy

set your own custom admin command. take a look at "sm_warden_cmds_FEATURENAME"

ConVars

// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_enable "1"

// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Warden{default}]"
sm_warden_prefix "[{green}MyJB.Warden{default}]"

// Set your custom chat commands for become warden(!warden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "w, simon"
sm_warden_cmds_become "w, simon"

// Set your custom chat commands for retire from warden(!unwarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "uw, unsimon"
sm_warden_cmds_retire "uw, unsimon"

// Set your custom chat commands for vote against warden(!vetowarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "vw, votewarden"
sm_warden_cmds_veto "vw, votewarden"

// Set your custom chat commands for admins to set a new warden(!setwarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "sw, newwarden"
sm_warden_cmds_set "sw, newwarden"

// Set your custom chat commands for admins to remove a warden(!removewarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "rw, firewarden, fw"
sm_warden_cmds_remove "rw, firewarden, fw"

// 0 - disabled, 1 - enable !w / !warden - player can choose to be warden. If disabled you should need sm_warden_choose_random 1
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_become "1"

// 0 - disabled, 1 - enable pick random warden if there is still no warden after sm_warden_choose_time
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_choose_random "0"

// Time in seconds a random warden will picked when no warden was set. need sm_warden_choose_random 1
// -
// Default: "45.0"
// Minimum: "1.000000"
sm_warden_choose_time "45.0"

// 0 - disabled, 1 - enable player vote against warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_vote "1"

// 0 - disabled, rounds in a row a player can be warden
// -
// Default: "5"
// Minimum: "0.000000"
sm_warden_limit "5"

// How many CT must be online before sm_warden_limit is active
// -
// Default: "3"
// Minimum: "1.000000"
sm_warden_limit_minplayer "3"

// 0 - disabled, rounds player can't become warden after he reached the warden limit (sm_warden_limit)
// -
// Default: "3"
// Minimum: "0.000000"
sm_warden_cooldown_limit "3"

// 0 - disabled, rounds player can't become warden after he was vote out or removed by admin
// -
// Default: "3"
// Minimum: "0.000000"
sm_warden_cooldown_remove "3"

// 0 - disabled, 1 - enable warden stay after round end
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_stay "1"

// 0 - disabled, 1 - enable warden will be removed on last request
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_remove_lr "0"

// Time in seconds a the warden of last round must wait until become warden again, to give other player chance to be warden (need sm_warden_stay '0')
// -
// Default: "15.0"
// Minimum: "0.000000"
sm_warden_cooldown_roundstart "15.0"

// 0 - disabled, 1 - Will use hint and center text
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_better_notifications "1"

// 0 - disabled, 1 - enable warden model
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_model "1"

// Path to the model for warden.
// -
// Default: "models/player/custom_player/legacy/security/security.mdl"
sm_warden_model_path "models/player/custom_player/legacy/security/security.mdl"

// 0 - disabled, 1 - enable sounds 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_sounds_enable "1"

// Path to the soundfile which should be played to all player for new warden.
// -
// Default: "music/MyJailbreak/warden.mp3"
sm_warden_sounds_warden "music/MyJailbreak/warden.mp3"

// Path to the soundfile which should be played for the new warden.
// -
// Default: "music/MyJailbreak/youwarden.mp3"
sm_warden_sounds_youwarden "music/MyJailbreak/youwarden.mp3"

// Path to the soundfile which should be played when there is no warden anymore.
// -
// Default: "music/MyJailbreak/unwarden.mp3"
sm_warden_sounds_unwarden "music/MyJailbreak/unwarden.mp3"

// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_overlays_enable "1"

// Path to the warden Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/warden"
sm_warden_overlays_warden "overlays/MyJailbreak/warden"

// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_enable "1"

// 0 - disabled, 1 - enable !w / !deputy - warden can choose his deputy.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_set "1"

// 0 - disabled, 1 - enable !w / !deputy - player can choose to be deputy.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_become "1"

// 0 - disabled, 1 - enable deputy will be removed on last request
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_remove_lr "0"

// 0 - disabled, 1 - enable deputy model
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_model "1"

// Path to the model for deputy.
// -
// Default: "models/player/custom_player/kuristaja/jailbreak/guard3/guard3.mdl"
sm_warden_deputy_model_path "models/player/custom_player/kuristaja/jailbreak/guard3/guard3.mdl"

// Set your custom chat command for open menu(!menu (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "d"
sm_warden_cmds_deputy "d"

// Set your custom chat command for open menu(!menu (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "ud"
sm_warden_cmds_undeputy "ud"

// Set your custom chat commands for admins to remove a warden(!removewarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "rd, fd"
sm_warden_cmds_removedeputy "rd, fd"

// 0 - Deputy will removed on warden death, 1 - Deputy will be new warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_deputy_warden_dead "1"

// 0 - disabled, 1 - Allow the warden to mute T-side player
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mute "1"

// 0 - disabled, 1 - Allow to mute T-side player for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mute_deputy "1"

// 0 - disabled, 1 - Allow the warden to mute a player until roundend
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mute_round "1"

// 0 - disabled, 1 - Prisoners are muted on roundstart by default. Warden have to unmute them
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mute_default "0"

// Set flag for admin/vip Mute immunity. No flag immunity for all. so don't leave blank!
// -
// Default: "a"
sm_warden_mute_immuntiy "a"

// 0 - disabled, 1 - temporary mutes all client when the warden speaks
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_talkover "1"

// 0 - disabled, 1 - temporary mutes all client when the deputy speaks
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_talkover_deputy "1"

// 0 - mute prisoner & guards on talkover, 1 - only mute prisoners on talkover
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_talkover_team "1"

// 0 - mute death & alive player on talkover, 1 - only mute alive player on talkover
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_talkover_dead "0"

// Set your custom chat commands for become warden(!warden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "wm, mutemenu"
sm_warden_cmds_mute "wm, mutemenu"

// Set your custom chat commands for retire from warden(!unwarden (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "wum, unmutemenu"
sm_warden_cmds_unmute "wum, unmutemenu"

// 0 - disabled, 1 - enable disarm weapon on shot the arms/hands
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_disarm "1"

// 1 - Only warden can disarm, 2 - warden & deputy can disarm, 3 - All CT can disarm, 4 - Everyone can disarm (CT & T)
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "3.000000"
sm_warden_disarm_mode "1"

// 1 - weapon will drop, 2 - weapon  disapear
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_warden_disarm_drop "1"

// 0 - negate the knife disarm, 1 - disarm all weapons
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_disarm_knife "1"

// 0 - disabled, 1 - enable Warden bulletimpact sparks
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_bulletsparks "1"

// 0 - disabled, 1 - enable smaller bulletimpact sparks for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_bulletsparks_deputy "1"

// Set flag for admin/vip to get warden/deputy bulletimpact sparks. No flag = feature is available for all players!
// -
// Default: ""
sm_warden_bulletsparks_flag ""

// 0 - disabled, 1 - enable countdown for warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_countdown "1"

// 0 - disabled, 1 - enable countdown for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_countdown_deputy "1"

// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_countdown_overlays_enable "1"

// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/start"
sm_warden_countdown_overlays_start "overlays/MyJailbreak/start"

// Path to the stop Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/stop"
sm_warden_countdown_overlays_stop "overlays/MyJailbreak/stop"

// 0 - disabled, 1 - enable sounds 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_countdown_sounds_enable "1"

// Path to the soundfile which should be played for a start countdown.
// -
// Default: "music/MyJailbreak/start.mp3"
sm_warden_countdown_sounds_start "music/MyJailbreak/start.mp3"

// Path to the soundfile which should be played for stop countdown.
// -
// Default: "music/MyJailbreak/stop.mp3"
sm_warden_countdown_sounds_stop "music/MyJailbreak/stop.mp3"

// Set your custom chat commands for countdown menu(!cdmenu (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "cd, countdown, timer"
sm_warden_cmds_countdown "cd, countdown, timer"

// 0 - disabled, 1 - enable mathquiz for warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math "1"

// 0 - disabled, 1 - enable mathquiz for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_deputy "1"

// What should be the minimum number for questions?
// -
// Default: "1"
// Minimum: "1.000000"
sm_warden_math_min "1"

// What should be the maximum number for questions?
// -
// Default: "100"
// Minimum: "2.000000"
sm_warden_math_max "100"

// 0 - only addition & subtraction, 1 -  addition, subtraction, multiplication & division
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_mode "1"

// 0 - use chat trigger to recieve chat input e.g. answer = '!math 526'. This is forced when no chat-processor is installed / 1 - use a chat-processor to recieve chat input e.g. answer = '526' / use '0' when chat input of will not recognized cause conflics with chat manipulation plugins like 'CCC'
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_input "1"

// Time in seconds to give a answer to a question.
// -
// Default: "10"
// Minimum: "3.000000"
sm_warden_math_time "10"

// 0 - disabled, 1 - cts answers will also recognized
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_allow_ct "1"

// 0 - disabled, 1 - enable sounds 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_sounds_enable "1"

// Path to the soundfile which should be played for stop countdown.
// -
// Default: "music/MyJailbreak/stop.mp3"
sm_warden_math_sounds_stop "music/MyJailbreak/stop.mp3"

// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_math_overlays_enable "1"

// Path to the stop Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/stop"
sm_warden_math_overlays_stop "overlays/MyJailbreak/stop"

// Set your custom chat commands for become warden(!math (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "m, quiz"
sm_warden_cmds_math "m, quiz"

// 0 - disabled, 1 - enable noblock toggle for warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_noblock "1"

// 0 - disabled, 1 - enable noblock toggle for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_noblock_deputy "1"

// 0 - collision only between CT & T, 1 - collision within a team.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_noblock_mode "1"

// Set your custom chat command for toggle no block (!noblock (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "block, unblock, collision"
sm_warden_cmds_noblock "block, unblock, collision"

// 0 - disabled, 1 - warden can open/close cells
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_open_enable "1"

// 0 - disabled, 1 - deputy can open/close cells
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_open_deputy "1"

// Set your custom chat commands for open cells(!open (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "o, unlock, cells"
sm_warden_cmds_open "o, unlock, cells"

// Set your custom chat commands for close cells(!close (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "lock, shut"
sm_warden_cmds_close "lock, shut"

// Time in seconds for open doors on round start automaticly
// -
// Default: "60"
// Minimum: "0.000000"
sm_warden_open_time "60"

// should doors open automatic 0- no 1 yes
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_open_time_enable "1"

// should doors open automatic after sm_warden_open_time when there is a warden? needs sm_warden_open_time_enable 1
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_open_time_warden "1"

// 0 - disabled, 1 - Allows the warden to extend the roundtime
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_extend "1"

// 0 - disabled, 1 - enable the 'extend the roundtime'-feature for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_extend_deputy "1"

// How many time a warden can extend the round?
// -
// Default: "2"
// Minimum: "1.000000"
sm_warden_extend_limit "2"

// Set your custom chat commands for extend time.(!extend (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "extendtime, moretime"
sm_warden_cmds_extend "extendtime, moretime"

// 0 - disabled, 1 - enable switch ff for the warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_ff "1"

// 0 - disabled, 1 - enable ff for cts also
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_ff_ct_enable "0"

// 0 - disabled, 1 - enable switch ff for the deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_ff_deputy "1"

// Set your custom chat commands for set/see friendly fire(!ff is reservered)(!setff (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "isff, friendlyfire"
sm_warden_cmds_ff "isff, friendlyfire"

// 0 - disabled, 1 - announce remaining round time in chat & hud 3min, 2min, 1min, 30sec before roundend.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_roundtime_reminder "1"

// 0 - disabled, 1 - enable kill a random t for warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_random "1"

// 0 - disabled, 1 - enable kill a random t for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_random_deputy "1"

// 1 - all random / 2 - Thunder / 3 - Timebomb / 4 - Firebomb / 5 - NoKill(1, 3, 4 needs funcommands.smx enabled)
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "4.000000"
sm_warden_random_mode "2"

// Set your custom chat commands for become warden(!killrandom (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "randomkill, rk, kr"
sm_warden_cmds_randomkill "randomkill, rk, kr"

// 0 - disabled, 1 - enable handcuffs
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_handcuffs "1"

// 0 - disabled, 1 - enable handcuffs for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_handcuffs_deputy "1"

// How many handcuffs a warden got?
// -
// Default: "2"
// Minimum: "1.000000"
sm_warden_handcuffs_number "2"

// How many meters distance from warden to handcuffed T to pick up?
// -
// Default: "2"
// Minimum: "1.000000"
sm_warden_handcuffs_distance "2"

// 0 - disabled, 1 - free cuffed terrorists on LR
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_handcuffs_lr "1"

// 0 - disabled, 1 - Warden can also handcuff CTs
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_handcuffs_ct "1"

// Set flag for admin/vip must have to get access to lockpicking feature. No flag = lockpicking is available for all players!
// -
// Default: ""
sm_warden_handcuffs_flag ""

// Time in seconds Ts need free themself with a paperclip.
// -
// Default: "35.0"
// Minimum: "0.100000"
sm_warden_handcuffs_unlock_maxtime "35.0"

// Set the chance (1:x) a cuffed Terroris get a paperclip to free themself
// -
// Default: "5"
// Minimum: "1.000000"
sm_warden_handcuffs_paperclip_chance "5"

// Set the chance (1:x) a cuffed Terroris who has a paperclip to free themself
// -
// Default: "3"
// Minimum: "1.000000"
sm_warden_handcuffs_unlock_chance "3"

// Min. Time in seconds Ts need free themself with a paperclip.
// -
// Default: "15.0"
// Minimum: "1.000000"
sm_warden_handcuffs_unlock_mintime "15.0"

// Path to the cuffs Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/cuffs"
sm_warden_overlays_cuffs "overlays/MyJailbreak/cuffs"

// Path to the soundfile which should be played for cuffed player.
// -
// Default: "music/MyJailbreak/cuffs.mp3"
sm_warden_sounds_cuffs "music/MyJailbreak/cuffs.mp3"

// Path to the soundfile which should be played for break cuffs.
// -
// Default: "music/MyJailbreak/breakcuffs.mp3"
sm_warden_sounds_breakcuffs "music/MyJailbreak/breakcuffs.mp3"

// Path to the soundfile which should be played for unlocking cuffs.
// -
// Default: "music/MyJailbreak/unlock.mp3"
sm_warden_sounds_unlock "music/MyJailbreak/unlock.mp3"

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

// What color to turn the cuffed player into (rGb): x - green value
// -
// Default: "190"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_warden_color_cuffs_green "190"

// What color to turn the cuffed player into (rgB): x - blue value
// -
// Default: "120"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_warden_color_cuffs_blue "120"

// 0 - disabled, 1 - enable backstab protection for warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_backstab "1"

// 0 - disabled, 1 - enable backstab protection for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_backstab_deputy "1"

// How many time a warden get protected? 0 - alltime
// -
// Default: "1"
// Minimum: "1.000000"
sm_warden_backstab_number "1"

// Set flag for admin/vip to get warden/deputy backstab protection. No flag = feature is available for all players!
// -
// Default: ""
sm_warden_backstab_flag ""

// 0 - disabled, 1 - enable Warden advanced markers 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_marker "1"

// 0 - disabled, 1 - enable 'advanced markers'-feature for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_marker_deputy "1"

// 0 - disabled, 1 - enable Gun plant prevention
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_gunplant "1"

// Time in seconds CTs allowed to drop weapon on round beginn.
// -
// Default: "15.0"
// Minimum: "0.100000"
sm_warden_allow_time "15.0"

// 0 - disabled, 1 - disallow gun dropping for ct
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_gunnodrop "0"

// 0 - disabled, 1 - remove planted guns
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_gunremove "1"

// Time in seconds to pick up gun again before.
// -
// Default: "5.0"
// Minimum: "0.100000"
sm_warden_gunremove_time "5.0"

// 0 - disabled, 1 - Slap the CT for dropping a gun
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_gunslap "1"

// Amoung of HP losing on slap for dropping a gun
// -
// Default: "10"
// Minimum: "0.000000"
sm_warden_gunslap_dmg "10"

// 0 - disabled, 1 - enable warden colored
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_color_enable "1"

// 0 - disabled, 1 - enable warden rainbow colored
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_color_random "1"

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

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

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

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

// What color to turn the deputy into (rGb): x - green value
// -
// Default: "155"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_warden_color_green_deputy "155"

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

// 0 - disabled, 1 - enable Warden Laser Pointer with +E 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_laser "1"

// 0 - disabled, 1 - enable Laser Pointer for Deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_laser_deputy "1"

// Set flag for admin/vip to get warden laser pointer. No flag = feature is available for all players!
// -
// Default: ""
sm_warden_laser_flag ""

// Set your custom chat command for Laser Pointer.(!laser (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "what, rep, again"
sm_warden_cmds_laser "what, rep, again"

// 0 - disabled, 1 - enable Warden Painter with +E 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_painter "1"

// 0 - disabled, 1 - enable 'Warden Painter'-feature for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_painter_deputy "1"

// Set flag for admin/vip to get warden painter access. No flag = feature is available for all players!
// -
// Default: ""
sm_warden_painter_flag ""

// 0 - disabled, 1 - allow Warden to toggle Painter for Terrorist 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_painter_terror "1"

// 0 - disabled, 1 - allow to toggle Painter for Terrorist as deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_painter_terror_deputy "1"

// Set your custom chat commands for Painter menu(!painter (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "paint, draw"
sm_warden_cmds_painter "paint, draw"

// 0 - disabled, 1 - enable allow warden to mark/unmark prisoner as rebel (hosties)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mark_rebel "1"

// 0 - disabled, 1 - enable 'mark/unmark prisoner as rebel'-feature for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_mark_rebel_deputy "1"

// Set your custom chat commands for un/mark rebel(!markrebel (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "sr, srebel, setrebel, rebelmenu"
sm_warden_cmds_rebel "sr, srebel, setrebel, rebelmenu"

// 0 - disabled, 1 - Allow the warden count player in radius
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_counter "1"

// 0 - disabled, 1 - Allow the deputy count player in radius, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_counter_deputy "1"

// 1 - Show prisoner count in chat / 2 - Show prisoner count in HUD / 3 - Show prisoner count in chat & HUD / 4 - Show names in Menu / 5 - Show prisoner count in chat & show names in Menu / 6 - Show prisoner count in HUD & show names in Menu / 7 - Show prisoner count in chat & HUD & show names in Menu
// -
// Default: "7"
// Minimum: "1.000000"
// Maximum: "7.000000"
sm_warden_counter_mode "7"

// Set your custom chat command for counter.(!counter (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "count, sight"
sm_warden_cmds_counter "count, sight"

// 0 - disabled, 1 - enable shoot guns on ground to remove
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_shootguns_enable "1"

// 1 - only warden / 2 - warden & deputy / 3 - warden, deputy & ct / 4 - all player
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "4.000000"
sm_warden_shootguns_mode "1"

// 0 - disabled, 1 - enable allow warden to use the orders menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_orders "1"

// 0 - disabled, 1 - enable orders-feature for deputy, too
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_orders_deputy "1"

// Set your custom chat command for open menu(!menu (no 'sm_'/'!')(seperate with comma ',')(max. 12 commands))
// -
// Default: "orders,calls"
sm_warden_cmds_orders "orders,calls"

// 0 - disabled, 1 - Allow the warden to set a personal freeday
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_freeday_enable "1"

// Set your custom chat command for give a freeday(!givefreeday (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "gfd, setfreeday, sfd"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_cmds_freeday "gfd, setfreeday, sfd"

// Set your custom chat command for remove a freeday(!removefreeday (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "rfd, nofreeday"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_cmds_freeday_remove "rfd, nofreeday"

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

// What color to turn the player with freeday into (rGb): x - green value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_warden_freeday_color_green "200"

// What color to turn the player with freeday into (rgB): x - blue value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_warden_freeday_color_blue "0"

// 0 - disabled, 1 - Allow the deputy to set a personal freeday
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_freeday_deputy "1"

// 0 - disabled, 1 - Allow all the guards to set a personal freeday
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_freeday_guards "0"

// 0 - disabled, 1 - warden can witheld prisoners Last request commands (need sm_hosties_lr_autodisplay '0')
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_withheld_lr_enable "1"

// 0 - disabled, 1 - deputy can witheld prisoners Last request commands
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warden_withheld_lr_deputy "1"

// Set your custom chat commands for witheld Last request(!nolastrequest (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "nolr, noLR"
sm_warden_cmds_withheld_lr "nolr, noLR"

// Set your last request commands (add custom !lr cmds)(no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)
// -
// Default: "lr,lastrequest"
sm_warden_cmds_lr "lr,lastrequest"

Files

/addons/sourcemod/plugins/MyJailbreak/warden.smx
/addons/sourcemod/configs/MyJailbreak/orders.cfg
/addons/sourcemod/scripting/MyJailbreak/warden.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/backstab.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/bulletsparks.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/celldoors.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/color.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/countdown.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/counter.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/disarm.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/extendtime.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/friendlyfire.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/gundrop.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/handcuffs.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/icon.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/laser.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/marker.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/math.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/mute.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/noblock.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/painter.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/randomkill.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/rebel.sp
/addons/sourcemod/scripting/MyJailbreak/Modules/Warden/reminder.sp /addons/sourcemod/translation/MyJailbreak.Warden.phrases.txt

Clone this wiki locally