Readme

Keycards

Allows players to open doors using specific keycards.

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>
  • ShouldEquip: If set to true, players must have the keycard equipped (held in their hands) in order to open the corresponding door. If set to false, players can simply possess the keycard in their inventory to open the door.
  • DoorHealth: The health of the keycard-locked door. If set to 0, the door is invulnerable. Otherwise, this value can be set to a custom health value.
  • CloseDoorDelay: The delay, in seconds, after which the keycard-locked door is automatically closed after being opened.
  • ToggleDoorRange: The minimum range, in meters, that a player must be within in order to open the keycard-locked door using the corresponding keycard.
  • CheckFrequency: The frequency, in frames, with which the plugin checks whether the player is looking at the keycard-locked door. The default value is 40 frames.

Translations

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="InvalidAuthID" Value="You didn't specify authentication ID parameter or it's invalid." />
  <Translation Id="AuthIDNotExist" Value="This authentication ID doesn't exist in your configuration." />
  <Translation Id="FailGetID" Value="Failed getting door the ID!" />
  <Translation Id="NotLooking" Value="You are not looking at any door." />
  <Translation Id="Success" Value="Successfully made door openable with keycard!" />
</Translations>