AutoCodeLock

AutoCodeLock 3.0.6

Triangle ladder hatches are setup the same as square ladder hatches
Set door closer offset for triangle ladder hatch so its out of the way
  • Like
Reactions: Denise Gumpert
Updated for hook deprecation
  • Like
Reactions: zzzJam
  • Replaced any old (now unsupported) colornames in the defaults with their associated hex values
  • Added full DoorCloser removal protection by two new variables:
    Code:
    "denyCloserPickupByAdmin": false,
    "denyCloserPickupByPlayer": true,
    By default it will deny any removal common players, but does still allow for native admins.
  • This should stop/prevent any commonly used DoorCloser abuse
  • Changed "doorclosers" default locations for both types of doors to hide from raiders in a floorlevel below those doors:
    63e37bf12980b609cbcaed5affd387ad.png
  • Added the global switch "autoUpdateChangedDelays" (default: false)
    Automates the players delay changes to be updated across all doors
    ed94c2997c86b338e3e1906b6e83429c.png
  • Removed the (from v2.2.1) "closerPickupReplacement" option - Cause it did'nt work :p
  • Added a new option to make it work that doorcloers will give back only 1 scrap from recycle:
    Code:
      "Options": {
        "closerPickupReplaceItem": "scrap",
      },
  • Like
Reactions: Rocky
  • Fixed CodeLock placements from inventory
  • Fixed DoorCloser placements
  • Added "checkPlayerForCombatBlocked" for NoEscape
    JavaScript:
      "Options": {
        "checkPlayerForCombatBlocked": false,
  • Like
Reactions: Insane
  • Added "checkPlayerForRaidBlocked" option.
    This does check for installed NoEscape and checks a player for "IsRaidBlocked".
    In case of this is true, any automated codelock placements and codelock autolock functions are disabled while the raidblock is active.
  • Added new option closerPickupReplacement
    Code:
      "Options": {
        "closerPickupReplacement": 109266897,
    Since DoorClosers have no switch to disable pickup, the only way to cut off mostly any repeating recycle abuse, is technically to replace the returned item on pickup. The default here is scrap. The function does return always 1 amount.