External Announcements
Overview
External Announcements is designed for Minecraft modpack creators and provides a simple tool for displaying informational messages directly in the game chat. With this mod, you can easily inform players about pack updates, server news, or publish promotional announcements.
Features
- Reading text files and JSON documents from local storage
- Retrieving data from external URLs (supports .txt and JSON formats)
- Support for multiple announcements in a single file
- Configurable delay before the first message display
- Configurable interval for repeated notification display
File Formats
Text Format (.TXT)
Each line in the file should contain the following parameters:
- Simple message: {"Message text"}
- With delay: {"Message text", 10s}
- With delay and interval: {"Message text", 10s, 100s}
JSON Format
Example JSON file structure:
{
"messages": [{
"message": "Hello, this is a test message",
"delayTime": "10s",
"waitTime": "100s"
},
{
"message": "And this is a second test message",
"delayTime": "20s",
"waitTime": "100s"
}
]
}
The first time parameter determines the delay before the first message display (can be specified in seconds or minutes). The second parameter sets the interval before repeated display.
When multiple messages are present, they should be separated by commas. There are no limitations on the number of entries.
Configuration
The path to the announcement file is configured through the mod's configuration file. For local files, use the "FILE:" prefix; for remote sources, use "URL:".
Planned Features
Future versions will include:
- Enhanced color support
- Web link integration capability
- Special interfaces for formatted news
- HTML GUI with image support
- Pop-up overlays for displaying news during gameplay
- Persistent informational panels
- Server-side support for overriding existing news
- Announcement localization