Simple Card Memo
在 Minecraft 游戏中随时随地预览文本。
Simple Card Memo 是一个 Minecraft Java 模组,它为 Minecraft 添加了备忘录卡片。更具体地说,它引入了一个文本预览系统。
支持 Markdown!使用了来自 MineMark 的 Markdown Text Render System(Markdown 文本渲染系统)。
如果您从早期版本更新到 1.2.0,则需要刷新所有备忘录,因为 NBT 标签已更改!
文本文件管理
所有备忘录都包含详细信息,这些信息存储在 simplecardmemo-memo.json 中。
{
"memos": [
{
"name": "test1",
"path": "test1.md",
"author": "RunicDolphin806",
"isExternal": true,
"lastModified": 1785595410237
},
{
"name": "test2",
"path": "https://example.com/test2.md",
"author": "Steve",
"isExternal": true,
"lastModified": 1785595410238
}
]
}
显然,有两个文本来源:外部和内置资源。
外部
对于 isExternal 为 true 的外部文本,请将它们全部放入文件夹 ./data/simple_card_memo/ 中。
{版本文件夹}
├── config
│ ├── simplecardmemo-client.toml # 客户端配置
│ └── simplecardmemo-common.toml # 通用配置
│ └── simplecardmemo-memo.json # 备忘录配置
│
├── data/simple_card_memo # 存储备忘录文件
│ ├── test1.md
│ ├── test2.md
│ ├── temp.md
│ └── ...
│
└── ...
您还可以预览来自互联网的文本。但是,根据网络连接状况,加载它们可能需要更多时间。在这种情况下,您可以将 PreloadFiles 设置为 true 以使其运行更快。
目前,最好将所有外部文件的名称命名为字符 [a-zA-Z0-9\-_.]。
内置资源
资源文件是内置的,存储在模组或资源包中。
当然,它们的 isExternal 为 false。
用法
常规
| 项目 |
使用方法 |
| New Memo |
此物品允许您查看上次打开的备忘录。 |
| Memo Editor |
在游戏中编辑新的备忘录卡片。点击“导出”按钮,一个新的备忘录卡片就会可用。 |
| Memo Manager |
如果丢失了备忘录,不要担心,您可以通过 Memo Manager 再次获取它,但需要消耗一个新的查看器。 |
| Memo Mail |
您可以使用它向其他玩家发送备忘录。 |
Memo Editor 仍在开发中。建议使用代码编辑器编辑您的 Memos。
服务器与客户端
自 1.2.0 起,有三种备忘录源可用:客户端、服务器和内置,可以在 Memo Manager 中选择。
这意味着您可以通过 Memo Manger 获取存储在服务器的 simplecardmemo-memo.json 中的备忘录。显然,您不允许通过 Memo Manager 编辑或删除它们。
命令
| 命令 |
功能 |
/simplecardmemo mail info |
显示服务器的邮件 |
/simplecardmemo mail clear |
清除服务器的邮件 |
/simplecardmemo client cache info |
显示本地内容缓存 |
/simplecardmemo client cache clear |
清除本地内容缓存 |
/simplecardmemo server cache info |
显示服务器内容缓存 |
/simplecardmemo server cache clear |
清除服务器内容缓存 |
/simplecardmemo server reload |
重新加载服务器上的备忘录 |
Simple Card Memo
Preview texts anytime and anywhere in the Minecraft game.
Simple Card Memo is a Minecraft Java mod which adds memo cards to Minecraft. More specifically, it introduces a text preview system to the game.
Markdown is supported! Using a Markdown Text Render System from MineMark.
If you update from earlier version to 1.2.0, you need to refresh all the memos as the NBT tags has been changed!
Text File Manage
All the memos have detailed information which is stored in simplecardmemo-memo.json.
{
"memos": [
{
"name": "test1",
"path": "test1.md",
"author": "RunicDolphin806",
"isExternal": true,
"lastModified": 1785595410237
},
{
"name": "test2",
"path": "https://example.com/test2.md",
"author": "Steve",
"isExternal": true,
"lastModified": 1785595410238
}
]
}
Obviously, There are two text sources: External and Resource.
External
For External text, whose isExternal is true, please put all of them in the folder ./data/simple_card_memo/.
{version folder}
├── config
│ ├── simplecardmemo-client.toml # Client config
│ └── simplecardmemo-common.toml # Common config
│ └── simplecardmemo-memo.json # Memo config
│
├── data/simple_card_memo # Store memo files
│ ├── test1.md
│ ├── test2.md
│ ├── temp.md
│ └── ...
│
└── ...
You can also preview texts which come from the Internet. However, it may take more time to load them into the game depending on your network connection status. In this case, you can set PreloadFiles to true to make it runs faster.
Currently, you have better to name all your external files with characters [a-zA-Z0-9\-_.].
Resource
Resource files are built-in ones which are stored in mods or resource packs.
Of course, their isExternal is false.
Usage
General
| Item |
How to use |
| New Memo |
This item allows you to view the last memo you've opened. |
| Memo Editor |
Edit a new memo card in the game. Click the "export" button and a new memo card will be available. |
| Memo Manager |
Don't worry if you lost a memo, you can get it again by the Memo Manager while consuming a new viewer. |
| Memo Mail |
You can send a memo to other players by using it. |
Memo Editor is still under development. It's recommended to edit your Memos with a code editor.
Server & Client Side
Since 1.2.0, there are three memo sources available: client, server and built-in, which can be selected in Memo Manager.
That means you can get memos stored in the server's simplecardmemo-memo.json through the Memo Manger. Obviously, you are not allowed to edit or delete them through a Memo Manager.
Commands
| Commands |
Function |
/simplecardmemo mail info |
Show server's mails |
/simplecardmemo mail clear |
Clear server's mails |
/simplecardmemo client cache info |
Show local content cache |
/simplecardmemo client cache clear |
Clear local content cache |
/simplecardmemo server cache info |
Show server content cache |
/simplecardmemo server cache clear |
Clear server content cache |
/simplecardmemo server reload |
Reload memos on the sever |
评论 0
登录后参与评分
还没有评论,来抢沙发吧