Announces
Last updated
Was this helpful?
Last updated
Was this helpful?
Announcements are used to communicate important messages to players, such as server updates, events, or general announcements. The announce system can include text, headers, dates, and optionally images to make your messages more engaging.
Announces.json
The announcements are defined in the Announces.json
file. Each announcement includes several key elements:
text
String
The main content of the announcement
date
String
Date when the announcement was created (format: DD.MM.YYYY)
header
String
Title/header of the announcement
photo
String
Optional image URL for the announcement
Note: If you don't want to include an image, leave the photo
field as an empty string ""
.
There are two ways to add new announcements to your server:
To add a new announce using the in-game command:
Example:
Open the Announces.json
file
Copy an existing announcement object
Modify the text
, date
, header
and photo
fields as needed:
You can customize the announce command in the Customize.lua
file:
Permission
Authorization level required to use the command (e.g., admin
, moderator
)
Command
The actual command name (default: addAnnounce
)
Text
Description text for the command
Description
Command syntax helper with parameter descriptions
You can add multiple announcements by creating additional objects in the JSON array:
Pro Tip: You can update announcements instantly using in-game commands or by editing the Announces.json
file directly!