TTYClient
一款面向常驻终端用户的 Minecraft 客户端。
TTYClient 基于一个核心理念:你的 Minecraft 客户端应当像你的 Linux 系统一样具备可脚本化和高度自定义的能力。输入以 ; 前缀开头的客户端命令,将按键绑定至聊天消息、Minecraft 命令或原始 bash 脚本,并通过纯 JSONC 文本文件配置一切——所有更改均实时重载,无需重启。
依赖
- Minecraft 26.1.2,搭配 Fabric Loader ≥ 0.19.1
- Fabric API 0.150.0+26.1.2
- Kotlin for Fabric 1.13.9+kotlin.2.3.10
安装
将 ttyclient-*.jar 与 Fabric API 和 Kotlin for Fabric 一同放入你的 mods/ 文件夹。首次启动时,TTYClient 会在 ~/TTYClient/ 创建其配置目录。
用法
在聊天栏中输入 ; 后跟一个命令。命令会在客户端进行拦截,并且永远不会发送到服务器。
可用命令:
;help (别名: ?) 列出所有命令
;mcfetch neofetch风格的游戏信息
;info [--name|-n] [--version|-v] ... 显示 TTYClient 信息
;config 打开游戏内配置编辑器
;hud (别名: hudeditor) 打开 HUD 编辑器
;module --trigger <模块> 触发一个模组
;module --toggle <模块> 启用或禁用某个模组 ;screenshot <复制|上传> <路径> 复制/上传截图 ;debug --toggle <按键> 切换按键可视化器 ;debug --trigger spam <数量> 发送 n 条测试消息
命令前缀(默认为 ;)可在 ~/TTYClient/config/general.jsonc 中修改。
按键绑定
按键绑定保存在 ~/TTYClient/config/keybinds.jsonc 中,并支持多种执行类型:
{ "bind": "ALT+C", "type": "client", "exec": "config" },
{ "bind": "C", "type": "client", "exec": "module --trigger zoom" },
{ "bind": "CTRL+F1", "type": "command", "exec": "gamemode creative" },
{ "bind": "F9", "type": "bash", "exec": "notify-send 'test notify'" },
{ "bind": "DELETE", "type": "action", "exec": "Disconnect" }
类型:client、command、chat、bash、sequence、action、noop
操作: QuitGame、Disconnect、ShowMultiplayer
模块
| 模块 | 默认绑定 | 描述 |
|---|---|---|
| Zoom | C |
平滑动画视野缩放,可滚动,支持按住或切换模式 |
| Freelook | X |
第三人称视角下使相机与注视方向分离 |
| Fullbright | B |
通过提升伽马值或夜视效果消除黑暗 |
| Custom Crosshair | - | 15x15 像素网格准星,完全可在 JSONC 中配置,支持颜色反转 |
| Custom Chat | I |
可调整大小的聊天窗口,支持拖拽调整大小,无限历史记录,可切换显示/隐藏 |
| AutoReconnect | - | 断开连接后自动重连并显示倒计时 |
| RenderUtils | - | 自定义盾牌/图腾模型变换,低透明度火焰叠加层 |
| Screenshots | - | F2 截图功能,在聊天栏提供复制/打开/上传操作,分辨率最高支持 8k 缩放 |
| Utils | - | 耐久度警告:闪烁的动作栏提示 + “pling” 音效 |
| Notifications | - | 屏幕角落的 Toast 风格通知,带有动画和音效 |
| Performance | - | HUD 节流机制,在游戏过程中提升帧率 |
所有模块配置文件位于 ~/TTYClient/config/modules/,保存时自动热重载。
编辑器
配置编辑器
按 ALT+C 或运行 ;config 打开内置的游戏内配置编辑器 —— 支持 JSONC 语法高亮、行内十六进制颜色色板、撤销/重做等功能。
HUD 编辑器
按 ALT+H 或运行 ;hud 打开 HUD 编辑器 - 通过可视化界面拖拽来重新定位 HUD 元素。
TTYClient
A terminal-themed Minecraft client for those who live in the shell.
TTYClient is built around one idea: your Minecraft client should feel as scriptable and customizable as your Linux system. Type client commands starting with a ; prefix, bind keys to chat messages, Minecraft commands, or literal bash scripts, and configure everything through plain JSONC text files - all live-reloaded, no restarts needed.
Requirements
- Minecraft 26.1.2 with Fabric Loader ≥ 0.19.1
- Fabric API 0.150.0+26.1.2
- Kotlin for Fabric 1.13.9+kotlin.2.3.10
Installation
Drop ttyclient-*.jar alongside Fabric API and Kotlin for Fabric into your mods/ folder. On first launch, TTYClient creates its config directory at ~/TTYClient/.
Usage
Type ; followed by a command in chat. Commands are intercepted client-side and never sent to the server.
Available commands:
;help (alias: ?) list all commands
;mcfetch neofetch-style game info
;info [--name|-n] [--version|-v] ... show TTYClient information
;config open the in-game config editor
;hud (alias: hudeditor) open the HUD editor
;module --trigger <module> trigger a module
;module --toggle <module> enable or disable a module
;screenshot <copy|upload> <path> copy/upload screenshot
;debug --toggle <keys> toggle key visualizer
;debug --trigger spam <n> send n test messages
The command prefix (default ;) can be changed in ~/TTYClient/config/general.jsonc.
Keybinds
Keybinds live in ~/TTYClient/config/keybinds.jsonc and support multiple execution types:
{ "bind": "ALT+C", "type": "client", "exec": "config" },
{ "bind": "C", "type": "client", "exec": "module --trigger zoom" },
{ "bind": "CTRL+F1", "type": "command", "exec": "gamemode creative" },
{ "bind": "F9", "type": "bash", "exec": "notify-send 'test notify'" },
{ "bind": "DELETE", "type": "action", "exec": "Disconnect" }
Types: client, command, chat, bash, sequence, action, noop
Actions: QuitGame, Disconnect, ShowMultiplayer
Modules
| Module | Default bind | Description |
|---|---|---|
| Zoom | C |
Smooth animated FOV zoom, scrollable, hold or toggle |
| Freelook | X |
Detach camera from look direction in third-person |
| Fullbright | B |
Remove darkness via gamma boost or Night Vision |
| Custom Crosshair | - | 15x15 pixel grid crosshair, fully configurable in JSONC, inverted colors support |
| Custom Chat | I |
Resizable chat window, drag to resize, unlimited history, toggleable chat |
| AutoReconnect | - | Auto-reconnect with countdown after disconnect |
| RenderUtils | - | Custom shield/totem model transforms, low fire overlay |
| Screenshots | - | F2 screenshot with copy/open/upload actions in chat, resolution scaling up to 8k |
| Utils | - | Durability warning: flashing action-bar alert + pling sound |
| Notifications | - | Toast-style notifications in screen corners with animations and sounds |
| Performance | - | HUD throttle for improved FPS during gameplay |
All module configs are in ~/TTYClient/config/modules/, with live-reload on save.
Editors
Config Editor
Press ALT+C or run ;config to open the built-in in-game config editor - JSONC syntax highlighting, inline hex color swatches, undo/redo, and much more.
HUD Editor
Press ALT+H or run ;hud to open the HUD editor - drag to reposition the HUD elements with a visual interface.
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
下载 TTY-Client
特性:添加 ;reload 命令
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
缓冲的原始输入和线程化的事件轮询
评论 0
登录后参与评分
还没有评论,来抢沙发吧