Included with Purchase
Plugin Download
Instant access to the plugin file (.dll)
Future Updates
All updates and fixes at no extra cost
Developer Support
Help through our forum and Discord
Optional: Source Code
Add-on in cart for an additional fee
Readme
Keycards
A plugin that allows players to open doors using specific keycards in Unturned.
Features
- Create doors that require specific keycards to open
- Configure whether players need to hold the keycard or just have it in inventory
- Doors automatically close after a configurable delay
- Set custom door health or make doors invulnerable
Setting Up Keycard Doors
- Place a normal door barricade in-game
- Configure your
KeycardAuthenticationsin the config file (see Configuration section) - Stand in front of the door you want to secure
- Use the command
/authkey <AuthID>while looking directly at the door- The AuthID must match one from your configuration (e.g.,
1or2)
- The AuthID must match one from your configuration (e.g.,
- You'll see a success message when the door is properly set up
- Now only players with the correct keycard can open this door
Commands
/authkey <AuthID>- Makes the door you're looking at require a keycard to open- You must be looking at a door when using this command
- The AuthID must match one from your configuration
Configuration
<?xml version="1.0" encoding="utf-8"?>
<KeycardConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<KeycardAuthentications>
<KeycardAuthentication AuthenticationID="1" Keycards="1196 519" />
<KeycardAuthentication AuthenticationID="2" Keycards="519" />
</KeycardAuthentications>
<ShouldEquip>true</ShouldEquip>
<DoorHealth>0</DoorHealth>
<CloseDoorDelay>3</CloseDoorDelay>
<ToggleDoorRange>4</ToggleDoorRange>
<CheckFrequency>40</CheckFrequency>
</KeycardConfiguration>
Configuration Options
KeycardAuthentications: Define different keycard access levels
- AuthenticationID: Unique ID to assign to doors (used with
/authkeycommand) - Keycards: Item IDs of keycards that can open doors with this authentication level
- AuthenticationID: Unique ID to assign to doors (used with
ShouldEquip: If
true, players must hold the keycard in their hands. Iffalse, having it in inventory is enough.DoorHealth: Health of keycard-locked doors. Set to
0for invulnerable doors.CloseDoorDelay: Time in seconds before doors automatically close after being opened.
ToggleDoorRange: Maximum distance (in meters) a player can be from a door to open it with a keycard.
CheckFrequency: How often the plugin checks if a player is looking at a door (in frames). Lower values are more responsive but may impact performance.
You Might Also Like
Animal Manager
Free
Set up custom spawns points and modify the loot from animals.
More Homes
Free
Allow players to claim and teleport to multiple beds.
Anti Blowtorch
Free
Prevent players from repairing or salvaging structures while being raided.
Discord Reports
Fr. 5
Let your players report other players and send a report to discord with a spy image of the reported player.