Skip to content

Announcement endpoint #38

Description

@ASpoonPlaysGames

Similar to /client/mainmenupromos, we should have an endpoint for general northstar announcements that show in the multiplayer lobby on clients.

Current NorthstarMods PR:

R2Northstar/NorthstarMods#699

This PR currently attempts to fetch the data from /client/announcement. It currently expects the response body to be JSON in the following format. All of this is easily able to be changed.

{
    "announcement": "Hello, this is an announcement",
    "announcementVersion": "3"
}

When making a new announcement, announcementVersion must be incremented. Not a lot I can do to get around this, since that's how the vanilla game detects new announcements to display.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions