A lightweight server-side Minecraft mod that helps server administrators manage login announcements and rules through simple in-game commands.
Login Announcements (MOTD)
/announcementsServer Rules
/rules.jar file in your server's mods folder/announcements or /announcement - View the server announcements/rules - View the server rulesAnnouncements:
/announcement list - View all announcements with line numbers/announcement add <message> - Add announcement to the end/announcement <line> add <message> - Insert at specific line/announcement <line> replace <message> - Replace a line/announcement <line> remove - Delete a line/announcement broadcast - Send announcements to all online players/announcement clear - Clear all (requires confirmation)/announcement reload - Reload from diskRules:
/rules list - View all rules with line numbers/rules add <message> - Add rule to the end/rules <line> add <message> - Insert at specific line/rules <line> replace <message> - Replace a rule/rules <line> remove - Delete a rule/rules clear - Clear all (requires confirmation)/rules reload - Reload from diskThe mod stores data in JSON files located at config/serverannouncements/:
announcements.json - Login messages (max 10 lines)rules.json - Server rules (max 15 rules)You can edit these files directly or use in-game commands. Changes made in-game are saved automatically.
Adding a colorful welcome message:
/announcement add §6§l════════════════════════════
/announcement add §a§lWelcome to Our Server!
/announcement add §eType §b/rules§e to get started
/announcement add §6§l════════════════════════════
Setting up server rules:
/rules add §e§lServer Rules:
/rules add §a1. §fBe respectful to all players
/rules add §a2. §fNo griefing or stealing
/rules add §a3. §fNo cheating or hacking
git clone https://github.com/ckoval7/serverannouncements.git
cd serverannouncements
./gradlew build
The compiled mod will be in build/libs/.
This project is licensed under GPLv3. See the LICENSE file for details.
For bug reports and feature requests, please use the Issues page on GitHub.
Author: Corey Koval