Go to file
Louis Royer 0092f153c1
Merge pull request #12 from louisroyer-minetest/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-08-29 20:32:10 +02:00
.github Run luacheck in pre-commit 2022-06-21 21:39:29 +02:00
locale Add version 1 fix #1 2020-07-15 22:11:13 +02:00
textures Add version 1 fix #1 2020-07-15 22:11:13 +02:00
.gitattributes Add gh-actions 2022-06-21 14:16:32 +02:00
.gitignore First commit 2020-07-15 22:10:07 +02:00
.luacheckrc Fix luacheckrc 2020-08-12 21:42:39 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2022-08-29 18:29:05 +00:00
LICENSE First commit 2020-07-15 22:10:07 +02:00
README.md Run luacheck in pre-commit 2022-06-21 21:39:29 +02:00
craft_common.lua Replace default mod by keys mod 2022-02-05 15:52:20 +01:00
craft_personal_virtual_keys_registerer.lua Replace default mod by keys mod 2022-02-05 15:52:20 +01:00
craft_virtual_keys_registerer.lua Replace default mod by keys mod 2022-02-05 15:52:20 +01:00
init.lua Replace default mod by keys mod 2022-02-05 15:52:20 +01:00
mod.conf Replace default mod by keys mod 2022-02-05 15:52:20 +01:00
screenshot.png Add version 1 fix #1 2020-07-15 22:11:13 +02:00
settingtypes.txt Add version 1 fix #1 2020-07-15 22:11:13 +02:00

README.md

Virtual key

ContentDB ContentDB

This minetest mod add virtual keys you can add in your keyring.

Craft a virtual keys registerer and start using it as regular skeleton-keys. Content of registerer can be copied without loss on any other registerer and added on any keyring.

Screenshot

Craft

Virtual keys registerer (shapeless)

  • keys:skeleton_key
  • basic_materials:ic

Personal virtual keys registerer (shapeless)

  • keys:skeleton_key
  • basic_materials:ic
  • basic_materials:padlock

or

  • virtual_key:virtual_key_registerer
  • basic_materials:padlock

Synchronize virtual keys (shapeless)

  • group:virtual_key
  • virtual_key:virtual_key_registerer

or

  • group:virtual_key
  • virtual_key:personal_virtual_key_registerer

Notes:

  • if you use a personal virtual keys registerer in the craft, then it must belong to you, else the craft will be forbidden.
  • you cannot register a virtual key using a key/keyring in a craft: you need to click on the locked node to register the virtual key, then if you borrow a regular key to another player, no clandestine copy can be done.
  • since it is a synchronization, all registerer will contains the same virtual keys
  • if the same virtual key is registered in both registerer with a different name, one of the name will be overwritten

How to use your registered virtual keys

Once you have registered virtual keys, you need to copy them to a keyring. You can use the following craft provided by keyring mod:

  • group:virtual_key
  • keyring:keyring

or

  • group:virtual_key
  • keyring:personal_keyring

Notes:

  • if you use a personal virtual keys registerer or a personal keyring in the craft, then it must belong to you, else the craft will be forbidden.
  • since it is a copy from the register to the keyring, you will get your registerer back will all its virtual keys

Dependencies

License

  • CC0-1.0, Louis Royer 2020-2022

Settings

Setting virtual_key.personnal_vkeys_registerer is available to disable/enable personal virtual keys registerer (enabled by default).