Skip to content

Feature: TUI mode - #91

Open
aphased wants to merge 5 commits into
mainfrom
feat/tui-mode
Open

Feature: TUI mode#91
aphased wants to merge 5 commits into
mainfrom
feat/tui-mode

Conversation

@aphased

@aphased aphased commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Massively improves the (admin) user experience when using the bot via "CLI"/console

aphased added 5 commits July 9, 2026 10:14
- terminal user interface wrapping around the stdin/stdout messages from
  before
- easier typing for console/admin access: new incoming (i.e. hypixel
  server) messages do not overwrite typed input anymore with this
  separation
- clearer distinction (or rather, one at all for the first time) between
  minecraft chat, discord activity, and system messages/logging. also,
  console-sent messages can easily be reviewed later
- default behavior is to launch with the new `--tui`; `--no-tui`
  effectively restores the previous mode
- also fixed showing raw JSON for the kick reason (see below for an
  example)
- immense swag factor, too
- we are a React project now

*example of previously unparsed kick message (yes, this actually
happened and occurred just while implementing):
"09:58:03 SYSTEM Kicked from server for reason: {"type":"compound","value":{"extra":{"type":"list","value":{"type":"compound","value":[{"color":{"type":"string","value":"red"},"text":{"type":"string","value":"Mojang's session servers are currently offline. Try again later."}}]}},"text":{"type":"string","value":""}}}"
(shift-tab was way too buggy, unfortunately, for some reason – removed
again)

also added and fixed many more keybinds and states/modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant