
You are viewing a potentially older version of this package. View Latest Version
ChatHistory
给游戏添加会话聊天记录-Add a chat message record to your game.Contact / 联系我
If you have any questions, feel free to contact me ↓ Email: [email protected] QQ: 670155978
如有任何问题,请与我联系 ↓ 邮箱:[email protected] QQ:670155978
ChatHistory
Shows a fading message toast and a scrollable chat history, so messages you missed are still readable.
Features
- Fading toast. A new message shows up as a small strip at the bottom left in the game's own style, then fades out.
- Scrollable history. Open the chat box and a panel appears on the same side; scroll with the wheel, the newest message stays at the bottom.
- Moved up. The toast and the panel sit well above the input field, so typing is never blocked.
- No overlap. While the panel is open the toast moves above it and drops back once the panel closes.
- Sender names. Every entry shows who sent it.
- Does not touch input. Typing and sending behave exactly as before.
How to Use
- Install BepInEx 5.4.x.
- Put
ChatHistory.dllintoBepInEx/plugins/. - Open the chat box to read the history; scroll with the mouse wheel.
Notes
- Client side mod.
- How many entries are kept is set in the config file (200 by default).
- Font size and colours are adjustable in the config file.
ChatHistory(中文)
新消息以渐隐提示显示,聊天框里还能翻看历史记录,错过的消息不再丢失。
功能介绍
- 渐隐提示:新消息以原生风格小条显示在左下角,停留后自动渐隐。
- 可滚动历史:打开聊天框,同侧出现历史面板,滚轮上下翻看此前的消息,最新一条始终贴底。
- 整体上移:提示条与历史面板都比输入框高一截,打字不会被遮住。
- 互不覆盖:历史面板打开时提示条抬到面板上方,面板收起后回落原位。
- 显示发送者:每条记录都带发送者名字。
- 不影响输入:打字与发送的逻辑与原版完全一致。
使用方法
- 安装 BepInEx 5.4.x。
- 把
ChatHistory.dll放进BepInEx/plugins/。 - 打开聊天框查看历史,滚轮上下翻页。
P.S.
- 纯客户端模组。
- 保留条数可在配置文件里设置,默认 200 条。
- 字号与配色同样在配置文件里调整。
配置文件 / Configuration
BepInEx/config/com.Aartyns.chathistory.cfg,首次运行后生成。
| Section | Key | 默认值 | 说明 |
|---|---|---|---|
| General | Enabled |
true |
总开关 |
| Toast | Enabled |
true |
左侧渐隐提示开关 |
| Toast | Duration Seconds |
3 |
toast 停留秒数 |
| Toast | Fade Seconds |
1.5 |
toast 渐隐秒数 |
| History | Max Entries |
200 |
历史最大保留条数 |
| Style | Font Size |
16 |
toast/历史字号 |
| Style | Panel Alpha |
0.2 |
背景透明度 0-1 |
| Debug | Log Chat Events |
false |
输出聊天事件信息,排查问题时打开 |