Garry's Mod

Garry's Mod

Not enough ratings
Gmod Lock and Key System + Door Manager [Content Only] | Gmod Workshop
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
257.623 KB
Mar 30, 2023 @ 7:00am
Jun 10, 2024 @ 6:45am
7 Change Notes ( view )

Subscribe to download
Gmod Lock and Key System + Door Manager [Content Only] | Gmod Workshop

In 1 collection by Norda | GMod Addon Creator
Nordahl Scripts - Gmod Addons
78 items
Description
Gmod Lock and Key System + Door Manager : https://osgmod.com/gmod-scripts/3948/lock-key-system-door-manager

📘 Description of the addon Gmod Lock and Key System + Door Manager

Gmod Lock and Key System + Door Manager, brings a new game mechanic to your Garry's Mod server, it allows you to install various locks on all the doors of your map without spawning any additional elements to make the locks work, the door itself is enough. The lock animations and door handle animations are 100% client-side.

With its various options and its numerous keys that the system imports and its inventory you will be able to bring a new Roleplay and realistic touch to your Gmod server gameplay. Organize Escape Game. Organize a survival horror RP scene, for example to progress in an adventure you must find keys to evolve in your scenario. Restrict areas according to the job with job locks for example.

You want RP scripts? There is no more RP than this one, there is no world with so many open doors and no lock, this script can create this environment that is so missing in Gmod. It makes sense for a merchant to lock his store when he leaves or before he logs out.

Forget about zone restrictions in an office if you can just lock the door, it will look more realistic and your server will be less burdened by zone restrictions that work by constant checking of each zone, plus the door is already there.

This key system will allow you to restrict zones by their own door if there are doors on your map. Because the system exploits in first the doors already present on the maps of Gmod.

In addition to providing different types of keys and locks the system is equipped with 3 special locks that allows you to restrict access to the opening or closing of a lock by its rank vip with the VIP key, or for example its steamid64 with the id64 key. The same goes for job and job category locks. More details below on this subject.

A lock can be opened and closed it is permanent and its state is saved even after a reboot.

This script is tagged as Standalone because it also has a key inventory included. This allows this script to work without depending on any other addon as a whole or any gamemode.


🔒 The different special locks with their keys

Among the current 33 keys, there are 4 special keys, which means that there are as many special locks.

1. The SteamID64 Key: will only work on doors reserved for a steamid64. For example when you install an id64 lock a steamid64 will be required. This means that only the one who has the steamid64 key will be able to open this lock if the steamid64 matches the one in his steam account.

2. Job Key: allows you to open Job locks that have an assigned job equal to the owner of the key. For example the Mayor's office has a door with a Job lock = Mayor, so the player who is Mayor and uses the Job key to be able to open the lock.

3. Job Category Key: Allows you to open all doors assigned to a job category. For example, the police station can be closed to the public who are not staff members. Only users who have a job included in the job category assigned to the lock will be able to open that door with this key, useful for zone blocking according to hierarchies without needing to use a zone restriction system that runs on loops and consumes a lot of server CPU. Besides using keys is more realistic than being teleported outside a restricted area.

4. VIP Key: Allows those who have the VIP key + the VIP rank to open the VIP locks. A user who has the VIP key but not the rank will not be able to open the VIP lock.


⚙️ The administration and door management panel on your server map

From the administration and management panel you will be able to see the inventory of all your players online and offline.
You will have the power to manage all the doors in your map as well as their locks, status and color.
You will be able to see the list of keys but also to spawn them from the admin menu if you are on a gamemode without spawnmenu.
Edit the gameplay options since the system brings a new gameplay mechanic to your server you can adapt it to your needs from a simple panel. Click ON / OFF on the options you want or not.


✔️ The gameplay modules to modify the system mechanics

From the management panel there is a tab that allows you to display the list of options that you can activate and deactivate.
Here is the list of options that can be switched:

save_latch_door = Save the opening status of a door (Locked / Unlocked).
only_keyring_swep = Do not open the key menu with the USE key, only the swep.
lock_info_chat = Indicate by message the color of the lock.
key_afterdeath = Keys are deleted when you die.
keys_save = Save owned keys.
spawn_keyring_swep = Spawn with the Swep : Ring of keys.
dropkey_death = All keys are dropped to the ground when you die.
lost_afteruse = The used key disappears after use.


🚪 Install locks on map doors

With Gmod Lock and Key System + Door Manager you will have the possibility to install locks on all the doors of the map and then modify them as you wish as superadmin or other authorized rank of your Gmod server from the system Admin Menu.
Or to add them manually door by door directly with the Keys Ring which is also a tool that allows you to install locks as an admin.


🔨 Key ring system (Key inventory) included

The players who will be in possession of keys will be able to find them at their next connection, you have the possibility to activate or deactivate the saving of the transported keys. But also to drop them when a player dies or not.
To open the key inventory you have several choices. Either by using the weps 'key ring', or by pressing USE on a closed door, or by chat command: /keyring. Each of these options can be enabled and disabled from the admin interface.

Get Gmod Lock and Key System + Door Manager : https://osgmod.com/gmod-scripts/3948/lock-key-system-door-manager
13 Comments
Norda | GMod Addon Creator  [author] Mar 1 @ 2:02am 
Hello its the content only (materials / sounds / models)
BClan Mar 1 @ 12:42am 
how do i activate the lock on the door and were are the keys
Norda | GMod Addon Creator  [author] Jun 17, 2024 @ 2:26pm 
Welcome.
Shaggy Balls Jun 17, 2024 @ 1:20pm 
alright thanks for the help!
Norda | GMod Addon Creator  [author] Jun 17, 2024 @ 3:36am 
Hello. No its to get the script and the support. I maintain my scripts and update them regularly.
Shaggy Balls Jun 17, 2024 @ 2:07am 
so does that mean i have to buy it on the site to get a tutorial or something?
Norda | GMod Addon Creator  [author] Jun 13, 2024 @ 1:55pm 
Workshop = [Content only] as indicated in the title.
Shaggy Balls Jun 12, 2024 @ 9:28pm 
no i got it right here on the steam workshop. do i have to get it on the site?
Norda | GMod Addon Creator  [author] Jun 12, 2024 @ 7:19am 
Shaggy Balls Jun 11, 2024 @ 9:01pm 
like where do you find the keys or keyring. it also doesn't explain how to use the admin panel