Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Jannnn13/btcct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

BTCCT

BTCCT (Better Terminal for CC: Tweaked) is an enhanced shell for CC: Tweaked, a popular Minecraft mod that enables computer-based automation.

Features

  • Customizable prompt (prompt)
  • Support for auto-completion
  • Customizable colors (term_color, term_secondary_color)
  • Display of the current directory in the prompt
  • Configurable start directory
  • Multishell support with customizable title
  • Display of version information

Installation

  1. Ensure CC: Tweaked is installed.
  2. Download the btcct.lua file and save it in the desired directory on your ComputerCraft computer.
  3. (Optional) Create a configuration file .btcct.rc.lua in the root directory with your custom settings.

Configuration

BTCCT supports a configuration file /.btcct/rc.lua with the following options:

Option Description Default Value
prompt Prompt text "#DIR#> "
term_color Prompt text color colors.white
term_secondary_color Secondary text color colors.blue
multishell_title Multishell window title nil
about_text Text displayed on startup os.version()
start_dir Start directory nil
path_on_root If the #DIR# should be cleaned, when you are in / false

BTCCT also supports scripts (in the .btcct folder), which are ran automatic:

Script When it is executed
b4-prompt.lua Before the prompt text
on-exit.lua On exit

Usage

  1. Run the program using btcct.
  2. Enter commands to execute programs or interact with the computer.
  3. Exit the program using the exit command.

Author

Created by Jannnn13, on 4.22.2025.

License

This project is licensed under the MIT License.