-
Configuration File Changes:
- All configuration management is now centralized in
/config
. - Any changes made to these config files will be applied correctly when the server restarts.
- All configuration management is now centralized in
-
Language Support:
- Introduced a new
Lang
class for easier language management. - Language selection can now be customized through the main config file.
- Available languages: English (
en
), Czech (cs
), and Russian (ru
).
- Introduced a new
-
Language File Enhancements:
- Both standard color codes and hex colors can now be used in language JSON files for greater flexibility in text formatting.
-
MOTD:
- The MOTD configuration format has been updated to
JSON
for easie configuration
- The MOTD configuration format has been updated to
-
Other Changes:
- The FTBRanks permission check is included.
- Integrated tag handling directly within the MessageParser class (former ColorUtils)
- Fixed error about sound string in Restart class
- Dynamic custom permissions register for ForgeEssentials and LuckPerms mod
-
New Custom Command Feature:
- Added the ability to define custom commands through the configuration file.
- Supported actions: message, run_console, run_command, teleport
New Chat Module
- Chat config
StaffChat Feature
- Command /sc <text> to write to the staff chat
- Command /sc toggle
- Permission:
forgeannouncements.staff
Full Changelog: https://github.com/Avalanche7CZ/ForgeAnnouncements/compare/18.0.2b5...18.0.2b6
Restart Scheduling Update
- Configurable Restart Scheduling
- Boss Bar Notifications
- Chat Notifications
- Sound Notifications
- Title Notifications
Code Changes
- ColorUtils Class
- DebugLogger Class
- New "Main" Config: Option to enable/disable each feature
- ForgeEssentials support
Full Changelog: https://github.com/Avalanche7CZ/ForgeAnnouncements/compare/12.0.2...12.0.3
18.0.2b5 [1.18.2] Restart Scheduling Update - BETA
-
Configurable Restart Scheduling:
restartType
: Select between "Fixed", "Realtime", or "None" for automatic restarts. Default:"Realtime"
.restartInterval
: Set fixed restart interval in hours. Default:6.0
.realTimeInterval
: Define specific times for real-time restarts in 24-hour format. Default:["00:00", "06:00", "12:00", "18:00"]
.
-
Boss Bar Notifications:
bossbarEnabled
: Option to enable or disable boss bar notifications for restart countdowns. Default:false
.bossBarMessage
: Customizable boss bar message with placeholders{minutes}
and{seconds}
. Default:"The server will be restarting in {minutes}:{seconds}"
.
-
Chat Notifications:
timerUseChat
: Enable or disable broadcast of restart warnings in chat. Default:true
.BroadcastMessage
: Customizable chat message for restart warnings. Default:"The server will be restarting in {minutes}:{seconds}"
.
-
Sound Notifications:
playSoundEnabled
: Toggle notification sound for restart warnings. Default:true
.playSoundString
: Sound to play for restart warnings. Default:"NOTE_BLOCK_PLING"
.playSoundFirstTime
: When to start playing the notification sound, matching one of the broadcast timer values. Default:600.0
.
-
Title Notifications:
titleEnabled
: Enable or disable title message for restart warnings. Default:true
.titleStayTime
: Duration of title message display in seconds. Default:2
.titleMessage
: Customizable title message with placeholders{minutes}
and{seconds}
. Default:"The server will be restarting in {minutes}:{seconds}"
.
Mentions & Permissions
- Added mention system usage:
@everyone
;@PlayerName
Permissions:
- command.forgeannouncements.actionbar
- command.forgeannouncements.bossbar
- command.forgeannouncements.broadcast
- command.forgeannouncements.title
- forgeannouncements.mention.player
- forgeannouncements.mention.everyone
Mentions & Permissions [BETA]
- Added mention system usage:
@everyone
;@PlayerName
Permissions:
- command.forgeannouncements.actionbar
- command.forgeannouncements.bossbar
- command.forgeannouncements.broadcast
- command.forgeannouncements.title
- forgeannouncements.mention.player
- forgeannouncements.mention.everyone
- Support for LuckPerms-Forge
Full Changelog: https://github.com/Avalanche7CZ/ForgeAnnouncements/compare/18.0.2b2...18.0.2b3
MOTD and Command update
- Changelog: GitHub
Overview
The MOTD tag system processes a message of the day formatted with special tags to enhance display in Minecraft chat. Each tag triggers specific actions such as opening links, executing commands, showing hover text, or setting title/subtitle.
Tags Implemented
-
Link Tag
- Format:
[link=<URL>]
- Functionality: Displays clickable links in the chat message.
- Format:
-
Command Tag
- Format:
[command=<command>]
- Functionality: Executes commands when clicked in the chat message.
- Format:
-
Hover Tag
- Format:
[hover=<hover text>]
- Functionality: Displays additional information when hovering over text in the chat message.
- Format:
-
Divider Tag
- Format:
[divider]
- Functionality: Inserts a visual divider line (
--------------------
) in the chat message.
- Format:
-
Title Tag
- Format:
[title=<title text>]
- Functionality: Displays a title.
- Format:
-
Subtitle Tag
- Format:
[subtitle=<subtitle text>]
- Functionality: Displays subtitle.
- Format:
Notes
- Each tag is enclosed within square brackets
[...]
with specific attributes or text following the tag identifier. - Tags are parsed and displayed in the order they appear in the input text, enhancing the readability and interactive features of the MOTD.
- Customization of tags and additional functionalities can be added later
Download links
You can change the color of text with "&"
All these functions are in BETA
- /forgeannouncements broadcast true/false <message>
- /forgeannouncements actionbar <message>
- /forgeannouncements title <message>
- /forgeannouncements bossbar <color> <interval> <message>
Please report any issues on github or discord
Full Changelog: https://github.com/Avalanche7CZ/ForgeAnnouncements/compare/18.0.1...18.0.2b
Forge Announcements v18.0.1 [1.18.2]
Changelog:
- Update Checker
- Boss bar support
- Action Bar support
- Title message support
Full Changelog: https://github.com/Avalanche7CZ/ForgeAnnoucements/compare/1.0.0...1.0.1