
动态门禁卡
红石电路,但带有一份访客名单。
Dynamic Keycards 为你的世界添加了门禁卡和读卡器——这是一种在红石系统前设置身份检查的紧凑方式。放置一个读卡器后,它会与你绑定。在上面注册一张空白卡,这张卡就会变成带有密钥的门禁卡;此后,该卡会使读卡器发出红石信号。其他人则只会看到拒绝指示灯。
支持版本
- NeoForge 1.21.1 — 现已可用
- Fabric 支持及更多游戏版本正在计划中
设备
读卡器
五种风格以匹配你的建筑:Insert、Swipe、Touch、Advanced 和 Obsidian。它们的行为完全相同——仅外观和合成成本不同——并且可以像按钮一样安装在地板、墙壁和天花板上。Obsidian 读卡器的硬度和抗爆性与黑曜石一致——需要钻石镐开采。
状态指示灯显示读卡器的工作状态:空闲时熄灭,绿色表示接受,红色表示拒绝,而在注册模式激活期间会显示闪烁的提示。已注册的卡片会发出满强度的红石信号——默认为 3 秒,可通过读卡器设置屏幕上的滑块进行调整,单位可选刻度(ticks)、秒或分钟。
读卡器会与放置它的玩家绑定——其他人无法在其上注册卡片。在注册模式下,每次按下都会切换你手中持有的那张卡:接受的卡片会被移除,被拒绝的卡片会被注册。该卡的副本不受影响。
读卡器还可以相互链接:手持未放置的读卡器,右键点击处于注册模式的另一个读卡器,然后将其放置。在一个链接组中的任何读卡器上注册的卡片,都会在组内所有读卡器处被接受——你可以将它们串联、星形连接或随意链接任意数量——在任何一处移除的卡片会在所有地方被阻止。这对于应该始终保持一致的前门和后门非常有用。其他所有内容保持独立:所有者、模式、频率、信号长度。
使用自己的门禁卡潜行会缩短接受信号并直接进入注册模式,这样你就不用等待刚刚打开的门关闭。这是潜行唯一需要的操作——注册卡片和调整连接两种方式均可。
卡片复制机
需要五张能打开同一扇门的卡片?Card Duplicator 可以将卡片复制到空白卡上:用源卡片潜行右键点击它,然后用空白卡潜行右键点击。副本继承源卡片当时能打开的所有权限——之后两张卡片完全独立,因此移除其中一张永远不会导致另一张失效。没有所有者,也没有红石输出。颜色得以保留,因此不同颜色的卡片可以共享访问权限。
传感器
壁挂式和天花板安装的 proximity sensors,分为普通版和高级版。它们监控自身所在的单元格及其下方的单元格,检测活体实体,并在有实体存在期间持续保持红石信号——是连续信号,而非像读卡器那样的固定脉冲——释放延迟可设置为零。没有所有权限制,因此任何人都可以调整或移动它。
高级版的检测范围由你自定义。用红石粉右键点击它,会出现一个红色边框的方框;按住 Ctrl 并向任意面滚动鼠标滚轮,每次推动或拉回一个单元格,然后右键点击确认。最大范围为 3×3×3 体积——悬挂在天花板传感器下方,或从墙壁传感器向外向下投影——内部更小的任何方框也有效。
高级版可以与读卡器绑定:手持一个,右键点击读卡器,然后放置。从此以后,任何人走过时只要身上携带了该读卡器接受的卡片——无论是在背包还是手中——都会远程触发读卡器,包括声音和灯光。实现仍进行身份检查的自动门。
绑定的传感器决定两者如何共享信号:仅读卡器、同时按读卡器的计时器运行,或同时按传感器的计时器运行。相同的动作可以将一个高级传感器绑定到另一个传感器上,使两者互相驱动——每个传感器只有一条连接,因此瞄准已经绑定的目标会被拒绝,而不是静默重新布线。高级传感器还可以染上染料,全部 16 种颜色,使用金粒可以去除染色。
发射器与接收器
一对设备,可以在两者之间无需布线的情况下将红石信号传输到任意距离。发射器广播到达其位置的任何有线信号。在混合模式下,它也可以手动触发:一次右键发送一个信号,持续时间由你设定。接收器在完全不同的其他地方将其转换回输出:Pulse 实时镜像源信号,并可选释放延迟;Toggle 在每个触发时开启并保持开启,直到下一次触发。完整的 0–15 强度在传输过程中得以保留,因此比较器可以在远端工作。
接收器也不需要发射器——它可以以读卡器或高级传感器作为直接源,在世界任何地方放置接受信号。绑定方式与此处其他地方相同:手持未放置的接收器,右键点击源设备,然后放置。两个设备都没有所有者,除了监听读卡器的接收器——它在调谐到读卡器期间继承读卡器的锁定。
警报器
当门打开或未能打开时的旋转警告灯。当红石信号到达它时,或者当它绑定的设备运行时,它会旋转;在放置前将其绑定到读卡器、发射器或高级传感器,绑定方式与接收器相同。三种声音模式与灯光并存,旋转速度和运行时长均可调节。
卡片
空白卡与门禁卡
使用 16 种染料中的任意一种制作Blank Card。在读卡器上注册它会赋予其唯一密钥,并将其变为Keycard——带密钥和无密钥的卡片在视觉上截然不同,因此你可以一眼分辨。使用染料对任何卡片进行合成,可将其回收为该颜色对应的空白卡。
安装 Curios 或 Accessories 后,卡片可放入项链槽位——无论是金色卡还是庄园卡均可。右键点击手持空手且站立的读卡器时,即可使用你佩戴的卡片进行通行。注册、移除和重置操作仍需在手持状态下进行。
管理员与成员访问卡
管理员访问卡 的注册记录同样适用于其签发的所有 成员访问卡——只需为管理员注册一次,整套卡片即可通行;注销管理员,整套卡片将被禁止通行。通过将管理员卡片复制到空白卡片上来签发成员卡,或将联合管理员卡片复制到空白管理员卡片上。成员卡仅作为通行凭证——无法注册或复制;所有控制权均通过管理员行使。管理员卡不绑定玩家身份:持有即拥有权限。
主卡
金钥匙卡 是主卡。它可与任何读卡器配合使用,无论归属权如何:它能打开读卡器、在其上启用注册模式,并完全清除读卡器的注册记录——此操作需经过确认步骤,因此需要两次有意的点击。仅限创造模式可用。
庄园钥匙卡 也能执行上述所有功能,但仅限于你自己放置的读卡器;对于他人放置的读卡器则无任何作用。右键点击以激活——第一次点击会请求确认,在五秒内第二次点击将其绑定到你身上。绑定信息存储在卡片本身,因此即使你将卡片交给其他人,它仍能正常工作。
两者均有 维护级对应物,在合成表中以 1:1 的比例进行替换,同时保留绑定关系。当钥匙卡负责通行和注册时,维护卡负责配置:它们打开设备的设置界面并拾取设备。金色维护卡可对任何设备执行此操作;庄园维护卡则覆盖你所放置的读卡器及其关联设备,以及所有原本无主的设备——包括发射器、独立接收器和复制器。
Create 集成
安装 Create 模组后,扳手会打开与维护卡相同的设置界面,这些界面会新增两个 Redstone Link(红石链接)频率槽位——这样,接受信号就可以在你已构建的网络中传输,与本模组的发射器和接收器协同工作。读卡器可选择其发送方式:仅读卡器 用于物理线路,仅链接 用于无线传输,或 同时 用于两者同时进行,从而使脚下的门和三百格外的装置对同一次刷卡做出响应。
连接在复制过程中也能得以保留。每个设备都携带一个稳定的 ID 而非坐标,因此蓝图打印出的链接组会将副本相互连接,而指向蓝图外部区域的链接仍将指向原始设备。
其他细节
/dynamickeycards transfer <player>将你拥有的读卡器转让给其他玩家,注册记录保持不变;release命令将完全解除其所有者绑定,使其交由金色卡片接管。/dk和/dks可作为简写命令使用- 每种设备均基于 DK 芯片 构建,这是本模组唯一的合成组件
- 通行、注册、移除和拒绝各有不同的音符盒音调——无需观察灯光即可听到结果
- EMI:注册和复制操作作为配方类别显示在配方浏览器中
- Jade:一眼即可查看读卡器的主人及注册模式状态
- 信号长度和每读卡器的注册上限均可配置
- 按住 Shift 键查看任意物品的快速说明
- 支持语言:English, 한국어, 日本語, 简体中文, Deutsch, Español, Nederlands
- Vault 门的电梯、船员宿舍、可出租房间、陷阱走廊——任何按钮能驱动的东西,读卡器都能以标准方式驱动
更新日志
完整详情请参阅 GitHub 上的更新日志。
- 0.1.9 —— 警报声;通过 Curios 或 Accessories 可穿戴卡片
- 0.1.8 —— 发射器和接收器;金色和庄园维护卡;DK 芯片;传感器到读卡器的信号模式;链接在复制中得以保留;一致的信号模式命名
- 0.1.7 —— 多读卡器链接组;可调传感器检测范围;注册模式可中断正在运行的信号
- 0.1.6 —— 传感器到传感器的绑定
- 0.1.5 —— 传感器;高级传感器-读卡器绑定和染色;读卡器到读卡器的链接;混合信号模式
- 0.1.4 —— 链接界面中的信号长度调整;扳手拾取现在需要确认
- 0.1.3 —— 黑曜石读卡器;Create 扳手集成和链接模式;更新的卡片纹理
- 0.1.2 —— 可配置信号长度;读卡器所有权转移命令
- 0.1.1 —— 庄园钥匙卡;管理员访问卡配方重新平衡
- 0.1.0 —— 新空白卡配方;成员卡完全仅限通行;金色重置现在需要确认
- 0.0.9 —— 反馈音调、Jade 支持、纯文本描述
- 0.0.8 —— 名称修正;每种颜色的 EMI 配方
- 0.0.7 —— EMI 配方查看器集成
- 0.0.6 —— 卡片家族重命名;创意模式标签页包含所有物品类型
- 0.0.5 —— 空白卡从钥匙卡中分离
- 0.0.4 —— 管理员和成员卡、联合管理员、注册上限配置
- 0.0.3 —— 快照分支复制、每张卡的注册/移除切换
- 0.0.2 —— 卡片复制器、注销、金色完全重置、用户手册
- 0.0.1 —— 初始发布

Dynamic Keycards
Redstone, but with a guest list.
Dynamic Keycards adds keycards and card readers to your world — a compact way to put an ID check in front of your redstone. Place a reader and it binds to you. Register a blank card on it and the card becomes a keyed keycard; from then on, that card makes the reader emit a redstone signal. Everyone else gets a denied light.
Supported versions
- NeoForge 1.21.1 — available now
- Fabric support and more game versions are planned
Devices
Card Readers
Five styles to match your build: Insert, Swipe, Touch, Advanced, and Obsidian. They behave identically — only the looks and the recipe cost differ — and mount on floors, walls, and ceilings just like buttons. The Obsidian reader matches obsidian's hardness and blast resistance — diamond pickaxe required.
The status lights show what a reader is doing: off when idle, green for accepted, red for denied, and a blinking display while register mode is armed. A registered card fires a redstone signal at full strength — 3 seconds by default, adjustable from the reader's settings screen on a sliding scale in ticks, seconds, or minutes.
A reader binds to the player who placed it — nobody else can register cards on it. In register mode, one press always toggles exactly the card you're holding: accepted cards get removed, rejected cards get registered. Copies of that card are never affected.
Readers can also be linked to each other: hold an unplaced reader, right-click one that's in register mode, then place it. A card registered anywhere in a linked group is accepted at every reader in it — chain them, star them, link as many as you like — and a card removed anywhere is blocked everywhere. Handy for a front and back door that should always agree. Everything else stays independent: owner, mode, frequency, signal length.
Sneaking with your own keycard cuts an accept signal short and drops straight into register mode, so you don't have to wait out the door you just opened. That's the only thing sneaking is needed for — registering cards and tuning connections work either way.
Card Duplicator
Need five cards that open the same door? The Card Duplicator copies a card onto a blank one: sneak-click it with the source card, then with a blank. The copy inherits everything the source could open at that moment — afterwards the two are fully independent cards, so removing one never locks out the other. No owner, no redstone output. Colors are kept, so differently colored cards can share access.
Sensors
Wall- and ceiling-mounted proximity sensors, in a plain and an advanced tier. They watch their own cell and the one below for living entities and hold a redstone signal for as long as something's there — continuous, not a fixed burst like a reader's — with a release delay you can set down to zero. No ownership, so anyone can adjust or move one.
The advanced tier's detection range is yours to shape. Right-click it with redstone dust and a red-edged box appears; Ctrl+scroll toward any face to push or pull that side a cell at a time, then right-click to commit. The full reach is a 3×3×3 volume — hanging below a ceiling sensor, or projecting out and down from a wall one — and any smaller box inside that works too.
The advanced tier can be bound to a card reader: hold one, right-click the reader, and place it. From then on, anyone walking past carrying a card that reader accepts — anywhere in their inventory, not just in hand — triggers the reader remotely, sound and lights and all. Automatic doors that still check ID.
A bound sensor picks how the two share the signal: the reader alone, both at once on the reader's own timing, or both on the sensor's. The same gesture binds one advanced sensor to another instead, and the two drive each other — one connection per sensor, so aiming at something already bound is refused rather than quietly rewired. Advanced sensors also take dye, all 16 colors, with a gold nugget to strip it back.
Transmitter & Receiver
A pair that carries a redstone signal across any distance without wiring between them. A transmitter broadcasts whatever wired signal reaches it. In mixed mode it can also be triggered by hand: one right-click sends a signal that runs for a length you set. A receiver turns that back into its own output somewhere else entirely: Pulse mirrors the source live with an optional release delay, Toggle flips on at each trigger and stays on until the next. Full 0–15 strength survives the trip, so comparators work on the far side.
A receiver doesn't need a transmitter, either — it can take a card reader or an advanced sensor as its source directly, putting an accept signal anywhere in the world. Binding works as it does everywhere else here: hold the unplaced receiver, right-click the source, then place it. Neither device has an owner, except a receiver listening to a reader — that one inherits the reader's lock for as long as it's tuned to it.
Siren
A rotating warning light for the moment a door opens — or fails to. It turns while a redstone signal reaches it, or while a device it was bound to is running; bind it before placing, to a reader, a transmitter, or an advanced sensor, the same way a receiver binds. Three sound modes sit alongside the light, and both the turn speed and how long it keeps running are adjustable.
Cards
Blank Cards & Keycards
Craft a Blank Card in any of the 16 dye colors. Registering it on a reader stamps it with a unique key and turns it into a Keycard — keyed and unkeyed cards are visually distinct, so you can tell at a glance. Craft any card with a dye to recycle it into that color's blank card.
With Curios or Accessories installed, cards go in the necklace slot — any of them, golden and estate included. Right-clicking a reader standing and empty-handed then passes with the card you're wearing. Registering, removing and resetting still want it in hand.
Manager & Member Access Cards
A Manager Access Card's registrations also apply to every Member Access Card it issued — register the manager once, and the whole set passes; unregister it, and the whole set is shut out. Issue members by duplicating the manager onto blank cards, or clone a co-manager onto a blank manager card. Members are pure pass tokens — they can't be registered or duplicated; all control goes through the manager. Manager cards have no player binding: possession is authority.
Master Cards
The Golden Keycard is the master card. It works with any reader, regardless of ownership: it opens them, arms register mode on them, and can wipe a reader's registrations entirely — with a confirmation step, so it takes two deliberate clicks. Creative-only.
The Estate Keycard does all of that too, but only on readers you placed yourself; on anyone else's it does nothing. Right-click to activate it — the first click asks to confirm, a second within five seconds binds it to you. The binding lives on the card, so it keeps working even after you hand it to someone else.
Both have a maintenance-tier counterpart, swapped 1:1 on a crafting table with the binding intact. Where keycards handle passing and registering, maintenance cards handle configuring: they open a device's settings screen and pick devices up. The golden one does it on anything; the estate one covers the readers you placed and whatever's linked to them, plus every device that has no owner to begin with — transmitters, standalone receivers, duplicators.
Create integration
With Create installed, a wrench opens the same settings screens a maintenance card does, and those screens gain two Redstone Link frequency slots — so an accept signal can ride a network you've already built, alongside this mod's own transmitter and receiver. A reader picks how it sends: Reader-Only for the physical wire, Link-Only for wireless, or Simultaneous for both at once, so the door at your feet and the contraption three hundred blocks away react to the same swipe.
Connections survive being copied, too. Every device carries a stable id rather than a coordinate, so a schematic that prints a linked set wires the copies to each other, while a link that pointed outside the print still points at the original.
The small stuff
/dynamickeycards transfer <player>hands a reader you own to someone else, registrations intact;releasedrops its owner entirely, leaving it to the golden cards./dkand/dkswork as shorthands- Every device is built around a DK Chip, the mod's one crafting component
- Distinct note-block tones for pass, register, remove, and deny — you can hear the result without watching the lights
- EMI: registering and duplicating show up as recipe categories in the recipe browser
- Jade: readers show their owner and register-mode state at a glance
- Signal length and the per-reader registration cap are configurable
- Hold Shift on any item for a quick rundown of what it does
- Supported languages: English, 한국어, 日本語, 简体中文, Deutsch, Español, Nederlands
- Vault doors, elevators, crew quarters, rentable rooms, trap corridors — anything a button can drive, a reader drives with standards
Changelog
Full details in the changelog on GitHub.
- 0.1.9 — Siren; wearable cards via Curios or Accessories
- 0.1.8 — Transmitter and Receiver; golden and estate maintenance cards; DK Chip; sensor-to-reader signal modes; links survive being copied; consistent signal-mode names
- 0.1.7 — Multi-reader link groups; adjustable sensor detection range; register mode can interrupt a running signal
- 0.1.6 — Sensor-to-sensor binding
- 0.1.5 — Sensors; advanced sensor–reader binding and dyeing; reader-to-reader linking; Mixed signal mode
- 0.1.4 — Signal length adjustment in the link screen; wrench pickup now asks for confirmation
- 0.1.3 — Obsidian Card Reader; Create wrench integration and Link Mode; renewed card textures
- 0.1.2 — Configurable signal length; reader ownership transfer command
- 0.1.1 — Estate Keycard; Manager Access Card recipe rebalance
- 0.1.0 — New Blank Card recipe; member cards fully pass-only; golden reset now asks for confirmation
- 0.0.9 — Feedback tones, Jade support, plain-language descriptions
- 0.0.8 — Naming corrections; EMI recipes for every color
- 0.0.7 — EMI recipe-viewer integration
- 0.0.6 — Card family rename; every item type in the creative tab
- 0.0.5 — Blank cards split from keycards
- 0.0.4 — Manager & member cards, co-managers, registration cap config
- 0.0.3 — Snapshot-fork duplication, per-card register/remove toggling
- 0.0.2 — Card Duplicator, unregister, golden full reset, user manual
- 0.0.1 — Initial release
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
下载 Dynamic Keycards
已修复错误
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧