All Downloads are FREE. Search and download functionalities are using the official Maven repository.

defaults.data.GameAnnouncement.json Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
{
  "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

ParameterDescription
ann_idUnique ID
titleTitle shown at the top of the content
subtitleShort title shown on the left
bannerImage to display between content and title
contentContent body in HTML
langLanguage 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 }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy