Version 1.2.14
482 downloads
Lock Up the nasty players! Admins or players with permissions will have the ability to spawn handcuffs and use them to lock up victims or npc's while also giving them the ability to escort or loot their target. This system was heavily inspired by the Rustoria/OTV developers.
Usage
Equip the handcuff item in your belt and make sure it's selected, go near a player/npc and hold E button.
Current Futures Include (check the config bellow as well)
Support for permissions
Handcuff item type, skin & stack are changeble
Handcuffed player can be looted
Handcuffed player can be escorted
- By Foot
- In Vehicle Ground/Air/Water
- Dragged behind the Vehicle with adjustable distance
NPCs can be handcuffed as well (all the above apply)
Adjustable on handcuff time
Option to cancel on spotted
Option to escort the player floating or stick to ground
Inventory slots can be locked on handcuffed
Handcuff message changable
Adjustable access to locked player
Adjustable lock/cuff protection
Configurable blocked Chat & Console commands for handcuffed players
Handcuff item stack can be made unlimited
Option to unlock player on warden death
Option to keep victim locked on death
Option to change victim clothes on handcuff
More futures may be taken in consideration after they are suggested and discussed.
Commands [Chat & Console]
cuff _all|PlayerName|SteamID - Lock the target through a Server Console or F1 Console command (Admin Only)
(Chat: /hcuffs | Console hcuffs) ~
~ /hcuffs _self Amount - Give yourself handcuffs (Chat only)
~ /hcuffs PlayerName|SteamID Amount - Give the target player handcuffs
~ /hcuffs _all Amount - Give everyone in the server handcuffs (Admin Only)
/lock - Lock|Unlock yourself
:: Example Command for Server Rewards: hcuffs $player.id 1
API
Check if target is Restrained
Restrain Player - For self-restrain use player as attacker
Unrestrain Player
- save = Saves the player into the data, usually used when player disconnect
- ride = Additional checks for players inside a vehicle
Default Config
Config is pretty much self explementary.