Terminal Access Control (TAC) is a comprehensive access control system for ComputerCraft that provides card-based authentication, extensible modules, and integration with external services.
Get started with TAC in seconds! Run this command in ComputerCraft:
wget run https://raw.githubusercontent.com/Twijn/tac/main/installer.lua
This will download and run the TAC installer, which will guide you through the setup process.
Provides consistent card creation, validation, and management APIs. Handles standard card creation, subscription cards with expiration, card renewal, and card information queries.
Provides robust extension loading with dependency management, error handling, and graceful degradation. Supports extension metadata, version checking, and load order resolution based on dependencies.
Handles peripheral detection, door control, and sign updates for the TAC system. Provides utilities for finding and interacting with ComputerCraft peripherals.
Handles all access logging functionality for the TAC system. Logs access events, card creation, and other security-related activities.
Handles tag matching, access control logic, and hierarchical permissions. Provides utilities for generating random tokens, parsing tags, and checking access permissions with support for hierarchical a...
Provides an interactive list UI with keyboard navigation for browsing items. Supports arrow key navigation, detail view, and customizable rendering.
Get the current ShopK configuration
The main package interface for the TAC access control system. This module provides the core functionality for managing card-based access control, including extension management, command registration, ...
Provides an interactive list UI with keyboard navigation for browsing items. Supports arrow key navigation, detail view, and customizable rendering.
Get the current ShopK configuration
This file demonstrates how to create a TAC extension. Extensions can register commands, add hooks to TAC events, and provide custom functionality.
Displays available shop items on a monitor with payment commands. Shows access tiers, pricing, and renewal information on an external monitor. Optionally integrates with shopk_access extension for enh...
Sells access tags as SKUs via ShopK/Kromer payments. Integrates with ShopK to allow users to purchase access tags through the Kromer payment system. Modular version using separate modules for differen...
Allows configuring the ShopK syncNode option for connecting to different Krist nodes. Provides UI and commands for managing node settings.
Provides auto-update functionality for TAC libraries and (eventually) the TAC system itself via lib/updater.lua. This extension checks for updates on startup and provides commands to check for and ins...