SGChatScrollbar

版本 v1.0.0·更新於 2026-06-12

Adds a working, draggable scrollbar to the Sledding Game chat box so you can scroll back through chat history.

模組介紹 作者原文

SGChatScrollbar

Adds a working scrollbar to the Sledding Game chat box.

The game's chat ships with a scrollbar widget that is left disabled and never fed any input, so by default you can only see the most recent few messages. SGChatScrollbar enables it and wires up scrolling, letting you scroll back through your full chat history.

Client-Side

This is a client-side mod — install it for yourself to get a scrollbar in your own chat. It does not change anything for other players and does not need to be installed by the lobby host.

Features

  • An always-visible scrollbar handle that sizes itself to how much history there is.
  • Mouse-wheel scrolling while the pointer is over the chat (a quarter page per notch).
  • Scrolls through the full retained history (up to 100 messages).
  • Auto-follow: stays pinned to the newest message when you are at the bottom, and holds your position when you have scrolled up so new messages don't yank you back down.

Installation

Gale / r2modman

Install with Gale or r2modman. MelonLoader is declared as a dependency.

Manual

  • Install MelonLoader for Sledding Game.
  • Launch the game once so MelonLoader generates its folders and IL2CPP assemblies.
  • Copy SGChatScrollbar.dll into the game's Mods/ folder.
  • Start the game through MelonLoader.

CI/CD ()

This repository includes GitHub Actions workflows packaging and publishing:

-.github/workflows/github-release.yml

  • Manual workflow dispatch.
  • Creates a GitHub Release from a version in CHANGELOG.md (extracts that version's notes).

-.github/workflows-build.yml

  • Runs on push/PR/manual dispatch.
  • Builds SGChatScrollbar and uploads a zip artifact.

-.github/workflows-publish.yml

  • Runs when a GitHub Release is published (or manually via workflow dispatch).
  • Builds and publishes with tcli publish.
  • All workflows accept dryrun on manual dispatch; dryrun=true echoes commands and skips execution-sensitive steps.

Required repository secrets:

  • _TOKEN: service account token (used as TCLI_AUTH_TOKEN).
  • SGREFROOT_TOKEN: GitHub token with read access to ricky-davis/SGRefRoot (used to fetch Il2CppAssemblies and net6 refs).
  • RELEASE_WORKFLOW_TOKEN: PAT used by github-release.yml to create GitHub Releases so release-triggered workflows run.

Local Pre-Commit Hook

This repo includes a pre-commit hook that enforces version consistency across:

  • Directory.Build.props (``)

-.toml (versionNumber)

  • CHANGELOG.md (latest ## [x.y.z] heading)

Enable repo hooks once per clone:

git config core.hooksPath.githooks

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

LavaGang-MelonLoader

檔案與校驗

檔案名稱
SGChatScrollbar-1.0.0.zip
檔案大小
53.1 KiB