Lock Me Up – Handcuffs

Original price was: $30.00.Current price is: $15.00.-50%

Sold by: SPooCK

Gives admin or people with permissions the ability to handcuff players/npcs. Escort the handcuffed target to a desired location or even loot his inventory.

Categories: , ,

Description

Disclaimer: I’m currently outside Rust scene, please contact me with issues at my discord in Lone’s channel.

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

private bool IsRestrained(BasePlayer target)

  • Restrain Player – For self-restrain use player as attacker

private void RestrainPlayer(BasePlayer player, BasePlayer attacker)

  • Unrestrain Player 
  • save = Saves the player into the data, usually used when player disconnect
  • ride = Additional checks for players inside a vehicle

private void UnRestrainPlayer(BasePlayer player, bool save = false, bool ride = false)

Default Config

Config is pretty much self explementary.
{
“Item Spawn Permission”: “lockmeup.spawn”,
“Item Use Permission”: “”,
“Permission to use self Lock/Unlock”: “lockmeup.self”,
“Item Name”: “Hand Cuffs”,
“Item Skin ID”: 2102994025,
“Item Max Stack”: 20,
“Item Masking – Short Name”: “metalspring”,
“Lock Seconds Interval”: 2.0,
“Cancel on Spotted”: false,
“Can Lock NPCs”: true,
“Stick to Ground”: false,
“Lock Inventory”: {
“Main”: false,
“Wear”: false,
“Belt”: true,
“Backpack”: false
},
“Lock Messages”: {
“Victim”: “<color=#C24641>You’ve been Locked</color>: {name}”,
“Attacker”: “<color=#C24641>You’ve Locked</color>: {name}”
},
“Can Lock in SafeZone”: {
“Anyone”: false,
“Permission”: “lockmeup.safezone”,
“Admin”: true
},
“Access to Locked Players”: {
“Anyone”: false,
“Permission”: “lockmeup.access”,
“Admin”: true
},
“Lock Protection”: {
“Permission”: “lockmeup.protect”,
“Admin”: true
},
“Blocked Commands while Locked”: [
“tp”
],
“Can Drag With Vehicle”: {
“Enabled”: false,
“Distance”: 6.0
},
“Unlimited Item Usage”: {
“Permission”: “lockmeup.usage”,
“Admin”: true
},
“Blocked Console while Locked”: [
“tp”
],
“Can Ride in Vehicle”: true,
“Unlock on Warden Death”: false,
“Unlock on Victim Death”: true,
“Unlock on Victim Disconnect”: false,
“Cuffs Button – (Use = 256) (Middle Mouse = 134217728) (Sprint = 128) (Duck = 64) (Reload = 8192)”: 256,
“Change Victim Clothes”: {
“Enabled”: false,
“Clothes List (max 7) – shortName: skinID”: {
“hat.beenie”: “2281372995”,
“burlap.shirt”: “2281363953”,
“burlap.trousers”: “2281243846”
}
}
}

4 reviews for Lock Me Up – Handcuffs

  1. 5 out of 5

    btan1 (verified owner)

    Love it, its working great!

  2. 5 out of 5

    sq8wit (verified owner)

    Excellent plugin and awesome support !

  3. 5 out of 5

    Chill Roleplay (verified owner)

    This is the best plugin ever period.

  4. 5 out of 5

    TDPcorndiggitydoggg (verified owner)

    I love using this to drag players to jail!


Only logged in customers who have purchased this product may leave a review.

Version 1.2.14 | Updated October 8, 2024
  • Fixed Killing player on uncuffing
Version 1.2.13 | Updated October 8, 2024
  • Fixed Minor Warning - Calling kill - but already IsDestroyed!?
Version 1.2.12 | Updated October 7, 2024
  • Fixed Compatibility issues with new update
Version 1.2.11 | Updated August 26, 2023
  • Fixed Players Escort Movement
  • Fixed NPCs Escort Movement
Version 1.2.10 | Updated July 6, 2023
  • Fixed New update water collision
Version 1.2.9 | Updated October 23, 2022
  • Fixed On teleport body gitch
  • Fixed On wounded cuffing
Version 1.2.8 | Updated August 27, 2022
  • Fixed Updated Backpacks compatibility
Version 1.2.7 | Updated June 16, 2022
  • Added Safe Zone lock protection config
Version 1.2.6 | Updated May 14, 2022
  • Fixed Prisoners being able to jump out of vehicle
Version 1.2.5 | Updated May 9, 2022
  • Fixed Escort for non-modular vehicles
Version 1.2.4 | Updated May 1, 2022
  • Fixed Codelocks issue for vehicles escort
Version 1.2.3 | Updated May 1, 2022
  • Fixed Vehicle Escort issues
Version 1.2.2 | Updated April 23, 2022
  • Added Custom Permissions: - Item Spawn Permission - Item Use Permission - Permission to use self Lock/Unlock - Access to Locked Players Permission - Lock Protection Permission - Unlimited Item Usage Permission
Version 1.2.1 | Updated March 2, 2022
  • Added Unlock on Victim Disconnect (Request)
Version 1.2.0 | Updated January 14, 2022
  • Fixed Vehicles Passenger Escort for Players/NPCs
Version 1.1.9 | Updated January 12, 2022
  • Fixed Backpacks: Loot Panel Error
Version 1.1.8 | Updated December 4, 2021
  • Fixed Compilation Error
Version 1.1.7 | Updated November 4, 2021
  • Fixed Compile Error
Version 1.1.6 | Updated August 1, 2021
  • Fixed Backpacks Incorrect Handling
Version 1.1.5 | Updated June 4, 2021
  • Fixed Rust Update Compatibility Issues
Version 1.1.4 | Updated April 10, 2021
  • Fixed Resolved the issue with UI being stuck on screen
Version 1.1.3 | Updated March 29, 2021
  • Added Added ability to Escort Players in Front or at Back by choice
  • Added Config option for controlling the self Lock/Unlock cmd: /lock
  • Fixed When locking Player, there should be no more weird rotations
Version 1.1.2 | Updated March 28, 2021
  • Fixed Wounded Animation while Restrained
  • Updated Added 3 API Hooks
Version 1.1.1 | Updated March 25, 2021
  • Fixed Prisoner being able to jump out of the vehicle on Escort
  • Fixed Prisoner receiving duplicate clothes
Version 1.1.0 | Updated March 23, 2021
  • Updated Improvet Escort - Escorting players now should be smooth without any spikes
  • Added Config option to choose the main use button
  • Fixed Possible fix for the UI Stuck on screen
  • Fixed Performance improvements & various bug fixes
Version 1.0.9 | Updated March 14, 2021
  • Fixed Issue where HumanNPC were counted as Players
Version 1.0.8 | Updated March 13, 2021
  • Added Victim can now be locked/unlocked through the console - cuff _all|PlayerName
  • Added Victim clothes can now be replaced with custom ones
  • Added Option to respawn the Victim after death with handcuffs
Version 1.0.7 | Updated March 12, 2021
  • Added Config option for on Warden death to unlock the Victim
  • Added [Can Drag Enabled] On Ride Escort player will now be dragged behind the vehicle
  • Added [Can Drag Enabled] On Ride Escort players who are left outside will be dragged with the Warden vehicle
  • Added [Can Drag Disabled] On Ride Escort players who are left outside will stop following the Warden
  • Added [Can Drag Disabled & Can Ride Disabled] On Ride all players will stop following the Warden
Version 1.0.6 | Updated March 10, 2021
  • Added Support for Backpacks plugin
Version 1.0.5 | Updated March 8, 2021
  • Added Config option allowing for the victim to be escort riding in a vehicle
Version 1.0.4 | Updated March 8, 2021
  • Added Config option allowing for the victim to be escort riding in a vehicle
Version 1.0.3 | Updated March 8, 2021
  • Added Config option to block console commands as well
Version 1.0.2 | Updated March 7, 2021
  • Fixed A probable error on trying to interact with Player / NPC
Version 1.0.1 | Updated March 4, 2021
  • Added New option to enable Unlimited Item Usage for players with Permission / Admins
  • Added New config for allowing the target to be dragged with a Vehicle (Experimental)
Version 1.0.0 | Updated March 3, 2021
  • Fixed Fixed an issue were stack of the masked item don't reverse back to its original value on Plugin Unload

Discussions

There are no discussions yet.

Leave a reply

Your email address will not be published. Required fields are marked *

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product