Register

Lock & Key

An Add-on Module for Foundry Virtual Tabletop

Author: Saibot Project Source: Project URL Versions 10+ (Verified 12) Last Updated 4 days, 18 hours ago

A module to handle locking and unlocking of doors and tokens

Basic use:

A GM can shift+right-click doors and loot containers (PF2e or Item Piles) to create a new key for them in the item sections. Every player that has a key in their inventory can lock or unlock matching doors and tokens with a right-click. Locked tokens can not be looted. Players can attempt to pick a lock by shift+right-clicking a lock and try to break a lock by alt+right-clicking it.

A tutorial for some of the features can be found here:

Since v2.0.0 Lock & Key can also handle Pickpocketing!

GM controls

A GM can alt+right-click lockable tokens to lock or unlock them.

The key IDs of doors, tokens and keys can be copied and pasted into one another to connect them. To copy or paste a keys IDs right click it in the item section and choose one of the options from the context menu. To copy a tokens or doors IDs ctrl+right-click them and to paste them ctrl+left-click them.

Examples:

- I. Copy Door A's key IDs and paste them into Loot Token B (or vice versa). All keys that can unlock/lock Door A can now also unlock/lock Loot Token B (or vice versa).
- II. Copy Door A's key IDs and paste them into Key B (or vice versa). Key B can now unlock/lock Door A.
- III. Copy Key A's key IDs and paste them into Key B. All doors that can be opened by Key A can now also be opened by Key B (but not the other way around).

All of these controlls can also be achieved through the included macros or through key bindings.


Settings:

World:

Client:

Keys(separate tab):

Walls/Tokens(separate tab):

Tokens/Items:

Compatibility:

The module should be compatible with most game systems on Foundry v10 and v11, though a few features are only available for the Pf2e system or in combination with other modules. If you encounter any bugs please let me know. I am also happy to add further game systems. (Issues can give you additional informations)

Explicit compatability:

Languages:

The module contains an English, a German, a Chinese (thanks to feederze and Thousand (_thousand@Discord)), a French (thanks to MastaGooz), a Polish (thanks to Lioheart), a Russian (thanks to maragondi), a Japanese (thanks to doumoku), and a Portuguese Brazil (thanks to Andersants) translation. If you want additional languages to be supported let me know.


If you have suggestions, questions, or requests for additional features please let me know.

Categories

Available Versions

  1. Version 3.1.11

    4 days, 18 hours ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  2. Version 3.1.10

    1 month, 1 week ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  3. Version 3.1.9

    2 months, 1 week ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  4. Version 3.1.8

    2 months, 2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  5. Version 3.1.7

    2 months, 3 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  6. Version 3.1.6

    2 months, 3 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  7. Version 3.1.5

    2 months, 3 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  8. Version 3.1.4

    2 months, 4 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  9. Version 3.1.3

    3 months ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  10. Version 3.1.2

    3 months ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  11. Version 3.1.1

    3 months, 2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  12. Version 3.1.0

    3 months, 2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  13. Version 3.0.6

    4 months, 2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  14. Version 3.0.5

    4 months, 3 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  15. Version 3.0.4

    4 months, 3 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  16. Version 3.0.3

    5 months, 2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  17. Version 3.0.2

    5 months, 4 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  18. Version 3.0.1

    5 months, 4 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  19. Version 3.0.0

    6 months ago
    Foundry Version 10+ (Verified 12) Manifest URL Read Notes
  20. Version 2.7.13

    6 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  21. Version 2.7.12

    6 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  22. Version 2.7.11

    6 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  23. Version 2.7.10

    6 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  24. Version 2.7.9

    6 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  25. Version 2.7.8

    6 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  26. Version 2.7.7

    7 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  27. Version 2.7.6

    7 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  28. Version 2.7.5

    7 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  29. Version 2.7.4

    8 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  30. Version 2.7.3

    8 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  31. Version 2.7.2

    8 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  32. Version 2.7.1

    8 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  33. Version 2.7.0

    8 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  34. Version 2.6.1

    8 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  35. Version 2.6.0

    8 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  36. Version 2.5.4

    9 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  37. Version 2.5.3

    10 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  38. Version 2.5.2

    10 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  39. Version 2.5.1

    10 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  40. Version 2.5.0

    10 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  41. Version 2.4.4

    10 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  42. Version 2.4.3

    10 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  43. Version 2.4.2

    10 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  44. Version 2.4.1

    10 months, 4 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  45. Version 2.4.0

    11 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  46. Version 2.3.3

    11 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  47. Version 2.2.8

    11 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  48. Version 2.1.1

    11 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  49. Version 2.0.12

    11 months, 4 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  50. Version 1.12.9

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  51. Version 1.11.5

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  52. Version 1.11.4

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  53. Version 1.10.9

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  54. Version 1.10.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  55. Version 1.9.13

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  56. Version 1.8.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  57. Version 1.7.1

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  58. Version 1.6.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  59. Version 1.5.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  60. Version 1.4.1

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  61. Version 1.3.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  62. Version 1.2.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  63. Version 1.1.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  64. Version 1.0.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes