Sync Sign Notice
作者:BaicaiBear
A Minecraft Fabric mod that synchronizes sign content with a database and displays news items.
介绍
中文介绍正在准备中,下面暂时显示原文。
Sync Sign Notice Mod
A Minecraft Fabric mod that synchronizes sign content with a database and displays news items.
THIS IS A CLIENT ONLY MOD.
Usage
- Start Minecraft with Fabric Loader
- The mod will automatically connect to the configured database
- Signs with this format will display synchronized news items
Configuration
Edit the config file at run/config/sync-sign-notice/config.json:
{
"db_host": "example.com", // Database host address
"db_user": "ExampleUser", // Database username
"db_password": "ExamplePassword", // Database password
"db_database": "example_db", // Database name
"db_port": 3306, // Database port (default: 3306)
"maxNewsCount": 5, // Maximum number of news items to display
"autoRefreshInterval": 300 // Auto-refresh interval in seconds (default: 300)
}
Sign Setup
To create a synchronized notice sign in your Minecraft world:
- Place a sign (any wood type)
- Edit the sign text as follows:
- Line 1:
[Notice](exactly like this) - Line 2: News item number (from the newest item to the oldest, starting from 1, no more than
maxNewsCount) - Line 3: (Leave blank or put custom text)
- Line 4:
SyncSign(exactly like this)
Example sign text:
[Notice]
1
Welcome!
SyncSign
For more setting up instruction and trouble shooting, please visit Github Repositry.
常见问题
Sync Sign Notice 支持哪些 Minecraft 版本?
Sync Sign Notice 支持 Minecraft Java 版 1.21–1.21.4,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Sync Sign Notice 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分