This plugin allows you to hack locked doors without writing console commands, you can set doors that can only be opened by hacking, you can enable and set the chance of successful hacking, adjust the duration of hacking, and also configure which role or item can hack doors
Config:
hack_system:
# Is plugin enabled
is_enabled: true
# Is debug enabled
debug: false
# List of doors whose will be unlock only by hacking before starting round
doors_to_lock:
- Scp173Armory
# internal hack cooldown (int)
hack_cooldown: 10
# Hack cooldown for roles(int) ROLE MUST BE IN `hack_roles`
custom_cooldown_roles:
Scientist: 5
# Hack cooldown for items (int) ITEM MUST BE IN `hack_items`
custom_cooldown_items:
KeycardChaosInsurgency: 5
# Is doors unlock temporarily
is_doors_timely_unlock: false
# Internal time during which the door will be open and then closed
opens_time: 3
# Custom time for open doors
custom_doors_open_time:
Scp049Gate: 20
# Is Chances is enabled
chances_enabled: false
# Internal chance for all locked doors
hack_chance: 5
# Custom chance for locked door (Enum DoorType) This chance is taken into account last after the item and role!
custom_chance_doors:
Intercom: 40
# Custom chance for hacking role (Enum RoleTypeId) (ROLE MUST BE IN `hack_roles`)
custom_chance_roles:
Scientist: 50
# Custom chance for hacking item (Enum ItemType) (ITEM MUST BE IN `hack_items`) ⚠️IF A PLAYER WITH A HACKING ROLE WITH A CUSTOM CHANCE STARTS HACKING AT THE SAME TIME HOLDING A HACKING ITEMS WITH A UNIQUE CHANCE, THEN THE CHANCE WILL BE CONSIDERED ONLY WHICH IS SPECIFIED IN THE ROLE⚠️
custom_chance_items:
Coin: 20
# Roles whose can use hack system(SCP, SPECTATOR, OVERWATCH NOT WORK)
hack_roles:
- Scientist
# Items which can use hack system
hack_items:
- Coin
# Internal time to hack door in seconds (float)
internal_hack_duration: 5
# Custom time for every door(Door which not contains in this list will be hack for `InternalHackTime`) (Enum DoorType)
custom_hack_duration:
Scp096: 15
# Text whose will show when player try to interacting locked door
can_start_text: 'Press E again to start hacking the door'
# Text whose will show when player will be start hacking
current_hacking_text: 'Hacking door'
# Text whose will show when player try to hack, but he is in cooldown, %TIME% - current seconds of cooldown
cooldown_text: 'Wait for %TIME% seconds'
# Text whose will show when player try to hack with `ChancesEnabled` option and it failed
failed_hack_text: 'Unsuccessful!'