defaults.data.GameAnnouncement.json Maven / Gradle / Ivy
{
"t": "{{SYSTEM_TIME}}",
"list": [
{
"ann_id": 1,
"title": "Welcome to Grasscutter!",
"subtitle": "Welcome!",
"banner": "{{DISPATCH_PUBLIC}}/hk4e/announcement/assets/banner/1.jpg",
"content": "Hi there!
First of all, welcome to Grasscutter. If you have any issues, please let us know so that Lawnmower can help you!
〓Discord〓
https://discord.gg/T5vZU6UyeG
〓GitHub〓https://github.com/Grasscutters/Grasscutter",
"lang": "en-US"
},
{
"ann_id": 2,
"title": "How to use announcements",
"subtitle": "How to use announcements",
"banner": "{{DISPATCH_PUBLIC}}/hk4e/announcement/assets/banner/2.jpg",
"content": "
Announcement content uses HTML. The specific content of the announcement is stored in the program directory GameAnnouncement.json
, while GameAnnouncementList.json
stores the announcement list data.
GameAnnouncement
Parameter Description ann_id Unique ID title Title shown at the top of the content subtitle Short title shown on the left banner Image to display between content and title content Content body in HTML lang Language code for this entry
GameAnnouncementList
If you want to add an announcement, please add the list data in the announcement type corresponding to GameAnnouncementList
, and finally add the announcement content in GameAnnouncement
.
",
"lang": "en-US"
}
],
"total": 2
}