Home / Gmod Addons Marketplace / Gmod Key and Lock System + Door Manager


Media
Description πŸ‡¬πŸ‡§ Description πŸ‡«πŸ‡·

Gmod Key and Lock System + Door Manager - Script


Demonstration Youtube video of Gmod Key and Lock System + Door Manager

Gmod lock and key system allows you to configure locks to existing doors on your gmod server map, and this without spawning additional entities on the server by adding nothing more on the map, which reduces the load and therefore have a system of door restriction for a light weight and 0 entity on the map. It also allows you to create keys and associate them with locks easily. The system already brings a base of 30 different spawnable keys. The closed locks take the color of the key type. A series of key number also allows to associate a key by door linked to their number in a Motel for example, the key number 7 to open the door number 7 of the motel. A nice animation of opening or closing the latch is displayed.


Select the key ring and the key you need from inventory Inventory of Key ring Locks and unlocks doors if you have the good key Create puzzles with the environment Spawnmenu include if you dont use Sandbox Gamemode manage the users database Admin Panel to manage the doors from the database Customise the gameplay bring by the keys system Install a lock method 1 - directly one the door Install a lock method 1 - directly one the Admin panel Close and open latch and see the status of door from a panel Install special lock for specific steamid or team or darkrp jobs Special Keys for Special Locks

Maximum image size
Description

Description of Gmod Key and Lock System + Door Manager

Summary:
  1. πŸ“˜ Description of the addon Gmod Lock and Key System + Door Manager
  2. πŸ”’ The different special locks with their keys
  3. βš™οΈ The administration and door management panel on your server map
  4. βœ”οΈ The gameplay modules to modify the system mechanics
  5. πŸšͺ Install locks on map doors
  6. πŸ”¨ Key ring system (Key inventory) included
  7. ⭐ Optimization side
  8. πŸ”‘ 30+ unique keys includes
  9. ❓ What type of need can Gmod Lock and Key System + Door Manager meet
  10. ✏️ Want me to draw more keys?
  11. 🧩 Gmod addons with combinable and compatible functions


πŸ“˜ 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. This should result in maximum compatibility with the gamemodes.



πŸ”’ 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.



⭐ Optimization side

The system does not require any additional entity spawn on your gmod server map to work. You will not have many entities to spawn on your map to make the lock system work. This will not contribute to the overload of entities on your server.
The animations and interface are managed on the client side.

There are not many weps per key. No just one. So the keys are not sweps that populate the weapon selection inventory. This purifies the weapon selection interface as they are all stored in one weps called key ring but you also have the option of not using the key ring weps to open the key menu on a closed door, an option that allows the key inventory to appear when you do USE on a closed door, it's your choice.

You can dispense with the restriction zone scripts for places placed with special keys that allow you to limit access to jobs and job categories. Save your CPUs and be realistic.

Each key weighs on average only 5.7kb.



πŸ”‘ 30+ unique keys includes

1. SteamID64 Key for SteamID64 Key Lock.
2. Job Key for Job Key Lock.
3. Job Categorie Key for Lock for Job Categorie Key.
4. Red Key for Red Lock.
5. Green Key for Green Lock.
6. Blue key for blue lock.
7. Purple key for purple lock.
8. Yellow key for Yellow lock.
9. Orange key for Orange lock.
10. Black key for Black lock.
11. Spade Key for Spade Lock.
12. Clover Key for the Clover Lock.
13. Heart Key for the Heart Lock.
14. Key of Diamonds for the Lock of Diamonds.
15. Brass Key for Brass Lock.
16. Copper Key for Copper Lock.
17. Silver key for silver lock.
18. Gold key for gold lock.
19. Grey key for Grey lock.
20. Old key for Old lock.
21. Antique Key for Antique Lock.
22. Furniture Key for Furniture Lock.
23. Numbered Key 0 for Lock Number 0.
24. Numbered key 1 for lock number 1.
25. Numbered key 2 for lock number 2.
26. Numbered key 3 for lock number 3.
27. Numbered key 4 for lock number 4.
28. Numbered key 5 for lock number 5.
29. Numbered key 6 for lock number 6.
30. Numbered key 7 for lock number 7.
31. Numbered key 8 for lock number 8.
32. Numbered key 9 for lock number 9.
33. VIP key for VIP locks.



❓ What type of need can Gmod Lock and Key System + Door Manager meet

1 - You want to have a zone restriction system by exploiting what is already on the map without adding anything. For example, lock a door to a location with the location key.
2 - Create escapes games with colored keys and locks
3 - Create progression objectives like in a survival horror, for example if a blue key to open the blue lock.
4 - Looking for a program to create your own escape game? This key system is the one you are looking for. Since they are lootable and exist as a separate spawnable entity.
5 - You want special locks for your VIP users. That allows them to enter a VIP area.
6 - Door Groups without DarkRP: You want a door group system linked to teams or jobs without DarkRP. The script allows you to create doors linked to one of the jobs or ranks. The player who has a Job key will be able to open the door belonging to his group or job in a realistic and immersive way.



✏️ Want me to draw more keys?

Because 33 keys are not enough or they don't fit your project, you want more variety.
For example, you want a new unique pharmacy key for the city's pharmacy. Specify the property. A model of what you want can help me, in this case open me a ticket.




🧩 Gmod addons with combinable and compatible functions

Its Garry's Mod addons will provide independent functionalities which, together, will form a rich environment :

Addon #1: Gmod Avanced Lockpicking System
Addon #2: Gmod Keypads System + Door Lock Manager
Addon #3: Gmod Advanced Inventory System
Addon #4: Gmod Loot Furniture Designer: Match a lock with a key to a piece of furniture. Players can unlock a piece of furniture, a container or a chest with the right key.


πŸ”Ή WIKI & F.A.Q πŸ‡¬πŸ‡§
Wiki πŸ‡¬πŸ‡§ Wiki πŸ‡«πŸ‡·

Wiki of Gmod Key and Lock System + Door Manager

Gmod Key and Lock System + Door Manager


☰ 1. Installation of Gmod Key and Lock System + Door Manager
Installation: Download and Unzip the folder norda_lock_and_key_system.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/norda_lock_and_key_system
☰ 2. Where can I find resources and materials? What is the Gmod Key and Lock System + Door Manager Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod Key and Lock System + Door Manager: 2954884997
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2954884997 )
- To add gmod workshop resources to your collection : Gmod Key and Lock System + Door Manager [Content Only] | Gmod Workshop
☰ 3. User: How do users open a locked door on Gmod?
They just have to stand in front of the door press USE and use the right key and turn the key in the lock.
Gmod Unlock lock Animation
☰ 4. User: What happens if a user does not use the right key?
The door will stay closed, a nice little animation is played indicating that it is the wrong key. It's completely intuitive. A red key for a red lock. If you have enabled message notification players will get more information about the type of lock.
Select Key Animation
☰ 5. User: Can a user lock a door?
Yes, as long as there is already a lock on the door. A user will not be able to install a lock. Only the staff.
Gmod Lock Animation
☰ 6. Admin: How to access the management interface of Gmod Lock and Key System + Door Manager?
There are several ways.
1. By command: norda_lock_and_key_system
2. In the configuration file, choose from F1 to F4.
3. Use my system: Norda Admin Mod. This is my administration system, all the menu shortcuts of all my scripts are gathered in a simple button to click on so you don't need to memorize a single command.
4. You can simply open the key inventory on the top right there is a button to switch to the admin panel.
☰ 7. Admin: How to access the options menu to activate and deactivate modules?
From the Gmod Lock and Key System + Door Manager interface: Button number 1 on the image:
Buttons of Key and Lock panel
☰ 8. Admin: How to access the key spawnmenu from the admin menu?
From the interface of Gmod Lock and Key System + Door Manager management interface: Button number 2 in the picture:
Buttons of Key and Lock panel
☰ 9. Admin: How to access the player database management menu?
From the interface of Gmod Lock and Key System + Door Manager management interface: Button number 3 in the picture:
Buttons of Key and Lock panel
☰ 10. Admin: How to access the door management menu of the map?
From the interface of the Gmod Lock and Key System + Door Manager: Button number 4 in the image:
Buttons of Key and Lock panel
☰ 11. Server Options: I would like when I run a random reinstallation of locks on the map doors that it only affects a percentage of the doors?
Find the line chance_lock switch and insert a default value that goes from 0% to 100%. 0 = OFF. 100 = All doors in the map have a lock installed.
Modules of Key and Lock System
☰ 12. Server Options: I would like the locks to be randomly changed on every reboot.
Find the line random_set_reboot switch between ON and OFF to enable or disable the redistribution of locks on each reboot. A door that had a red lock before can have a blue lock after a reboot for example.
Modules of Key and Lock System
☰ 13. Server Options: I would like the state of the doors not to be saved on the maps, e.g. after a reboot the doors close.
Find the line save_latch_door switch between ON and OFF to enable or disable saving of the opening state of a door (Locked/Unlocked). So even after a reboot the door will remain as it was before a reboot.
Modules of Key and Lock System
☰ 14. Server Options: I would like the key menu not to open when pressing USE on a door.
Find the line only_keyring_swep switch between ON and OFF
only_keyring_swep = Do not open the key menu with the USE key, only the swep.
Modules of Key and Lock System
☰ 15. Server Options: I would like my users to lose all their keys when they die.
Find the line key_afterdeath switch between ON and OFF.
key_afterdeath = Keys are deleted when you die.
Modules of Key and Lock System
☰ 16. Server Options: How to disable saving of keys that users have?
Find the line keys_save switch between ON and OFF.
keys_save = Save owned keys.
Modules of Key and Lock System
☰ 17. Server Options: How to enable/disable the weps give: norda_keyring.
Find the line spawn_keyring_swep switch between ON and OFF
spawn_keyring_swep = Spawn with Swep: norda_keyring.
Modules of Key and Lock System
☰ 18. Server Options: I would like my users to drop all their keys when they die.
Find the line dropkey_death switch between ON and OFF
dropkey_death = All keys are dropped to the ground when you die.
Modules of Key and Lock System
☰ 19. Server Options: How to make the keys one-time use and not infinite use as default?
Find the line lost_afteruse switch between ON and OFF
lost_afteruse = The used key disappears after use.
Modules of Key and Lock System
☰ 20. Server Options: I would like the user to type a chat command in front of a door to open the key menu.
Find the line chat_cmd_keyring switch between ON and OFF.
chat_cmd_keyring = /keyring is used in chat to open the key menu and the interface for interaction with a lock.
Modules of Key and Lock System
☰ 21. Server Options: I would like to indicate by message the type of lock when a user presses USE on a locked door.
Find the line lock_info_chat switch between ON and OFF.
lock_info_chat = Indicate by message the color of the lock.
Modules of Key and Lock System
☰ 22. Server Options: I would like the user to type a chat command in front of a door to open the key menu.
Find the line chat_cmd_keyring switch between ON and OFF.
chat_cmd_keyring = /keyring is used in chat to open the key menu and the interface for interaction with a lock.
Modules of Key and Lock System
☰ 23. Admin: How to install a lock on a map door?
There are 2 methods to install a lock on a door of your Gmod server.
1- The first one from the management menu is to install massively locks randomly on all the map that you can modify manually afterwards either from the door management menu or with the Weps Key Ring.
2- Take the weps Key Ring in hand. Click on a door. And install a lock as admin. The door will appear in the database of the door management menu.
☰ 24. Admin: How do I know who has which keys?
From the admin panel you can see the inventory of logged in and logged out players. Click on their line and you will see all their keys in possession.
Database of Key and Lock System
☰ 25. Admin: Are the keys spawnable? How do I do it?
Yes, either you do it through the gmod spawnmenu sandbox. Or through the built-in spawnmenu if you are using a gamemode that prevents you from using the sandbox.
Gmod Spawnmenu of Keys
☰ 26. Special lock: What is a VIP lock?
These are locks that only VIPs can open with the VIP key.
VIP Key
☰ 27. Special lock: Can a lock be restricted to a job?
Yes, the Job key can open locks where a job is defined. Those who have the job key and do not have the job will not be able to open the lock.
Job Key
☰ 28. Special Lock: Can we restrict a lock to a job category?
Yes, the job category key allows you to open locks where a category is defined. Those who have the job category key and do not have the job category will not be able to open the lock.
Job CatΓ©gorie Key
☰ 29. Special Lock: Can we restrict a lock to a single user via steamid64?
Yes. Setting a lock to a SteamID64 allows those with the ID64 key to open only the locks reserved for them. You just have to install an ID64 lock and set the requested id64 right after installation.
Black Key SteamID64
Tips

Tip to avoid the leak of Gmod Key and Lock System + Door Manager installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon



πŸ“₯ Download 1.7


🎫 Open Ticket
⛔️ Sorry, you are not connected
Script Information
Creator : Norda Scripts
Sales :32
Published :1 year
Last update :
Version :version 1.7
DRM :Yes
Categories : Gmod addons
Requierements : Garry's Mod Server
Languages : πŸ‡¬πŸ‡§ πŸ‡«πŸ‡·
Tags :
VGUI Entities Gameplay Allgamemode