# Show your News or Changelog

{% hint style="warning" %}
**This tutorial requires**

Open *<mark style="color:purple;">**GameLauncher.sln**</mark>* in Visual Studio / Or your Launcher executable

Open your *<mark style="color:yellow;">**Game Launcher/News/Release**</mark>**&#x20;\*\*\*\*folder in your Host to update the content of a .txt file***

Open your **Unity Project**
{% endhint %}

{% hint style="info" %}
[**Remember to use the new Game Launcher Manager to create the news**](/documentation/game-launcher/patch-manager-app.md)
{% endhint %}

{% hint style="info" %}

#### The news are loaded from your Host. Do not change in the Launcher.

{% endhint %}

<figure><img src="/files/V33btG8H6zF9kNhDZs5n" alt=""><figcaption><p>Game Launcher Window Features</p></figcaption></figure>

## You need to know

{% hint style="info" %}

#### Every News content has it's own *Language* in the *environments*

It starts with the name denomination like *<mark style="color:red;">**en\_US (English - United States)**</mark>*

Also they are divided by his environment *<mark style="color:blue;">**Release**</mark>* or *<mark style="color:purple;">**Beta**</mark>*.

The file names of the News are *<mark style="color:green;">**en\_US\_Release\_News.txt**</mark>*

This refers that file is from *<mark style="color:red;">**en\_US**</mark>* language in the *<mark style="color:blue;">**Release**</mark>* environment
{% endhint %}

#### JSON Content

The content of the News files like *<mark style="color:green;">**en\_US\_Release\_News.txt**</mark>* is JSON.&#x20;

**These files are stored in your Host:**

**Example:** [***https://game-launcher.net/GameLauncher/News/Release/***](https://game-launcher.net/GameLauncher/News/Release/)

**Game Launcher will download this file to display the news in the Launcher Window**

{% code title="en\_US\_Release\_News.txt" %}

```json
{
  "ProjectName": "Game Launcher",
  "Language": "en_US",
  "Environment": "Release",
  "Region": "Any",
  "ServerStatus": "Online",
  "ReportBugURL": "https://game-launcher.net/",
 }
```

{% endcode %}

## NEWS CONTENT

### Main Data

These are the links of the buttons in the Launcher.&#x20;

*Leave empty if you don't need this information*

<figure><img src="/files/sF546B7PYEPmDceOqSEQ" alt=""><figcaption><p>News JSON Creator - Main Data section</p></figcaption></figure>

Change the **Language** to your desired Language like *en\_US*

If this news are for **Release** or **Beta** environment change the **Environment**

### Alerts

Use the alerts to inform your players the state of your server, or very important info about your game.

The alerts are the alert that are show in the topside of the Launcher.

If Show after date is activated, then your alert will be shown after only after the specified date.

<figure><img src="/files/mMzX024MZR5z38l4HKSf" alt=""><figcaption><p>Game Launcher UI - Alerts section</p></figcaption></figure>

<figure><img src="/files/fpYpTCIMW7pDEq1wrpD1" alt=""><figcaption><p>News JSON Creator - Alerts section</p></figcaption></figure>

### News

Set your news data in this section, you can add various of them

{% hint style="info" %}
The Image URL need to be stored in your Host or be public available in the internet.

The Video URL can be a youtube link or a video in your host.

**Example:**

Image URL: <https://game-launcher.net/wp-content/uploads/2022/09/Game-Launcher-Photo-1-1024x576.png>

Video URL: <https://www.youtube.com/watch?v=FhiilefzooU>
{% endhint %}

{% hint style="success" %}
We recommend to store your images in your **Host**

And the videos use **Youtube**
{% endhint %}

<figure><img src="/files/H72WJbVGSUwC7Xnpy44C" alt=""><figcaption><p>Game Launcher News</p></figcaption></figure>

<figure><img src="/files/Sm8MxS1RElfsw91ykch8" alt=""><figcaption><p>News JSON Creator - News section</p></figcaption></figure>

### SubNews

The subnews are used to display more relevant info about your app/game. Like tourneys, communities, documentation, or other useful links.

<figure><img src="/files/3JQy0h4nMcROoxCTDXKS" alt=""><figcaption><p>Game Launcher Window - SubNews</p></figcaption></figure>

<figure><img src="/files/yfbEwXlWSvMBz9f3Uc2t" alt=""><figcaption><p>News JSON Creator - SubNews section</p></figcaption></figure>

## Changing the News Content

{% hint style="info" %}
Example: Changing the News content of *<mark style="color:red;">**en\_US**</mark>* language in the *<mark style="color:blue;">**Release**</mark>* environment
{% endhint %}

1. In Unity menus, Open News JSON Creator

**Tools -> Game Launcher -> News JSON Creator**

<figure><img src="/files/YlMwFvQ3yxCqsC3yrfsE" alt=""><figcaption><p>Opening News JSON Creator</p></figcaption></figure>

2\. *Set the data of your news as your preference*

3\. **Copy** the **Generated JSON**

<figure><img src="/files/J7xoOIgYpkp73CLO2XUX" alt=""><figcaption></figcaption></figure>

***4.*****&#x20;Locate your** file ***(Example:\*\*\*\*&#x20;**<mark style="color:green;">**en\_US\_Release\_News.txt**</mark>**&#x20;****in****&#x20;**<mark style="color:yellow;">**Game Launcher/News/Release**</mark>**&#x20;\*\*\*\*folder)***

5\. Paste the JSON Content in the file

**And that's all!**

{% hint style="success" %}
**Game Launcher will automatically download the text from the file.**

Try it reloading your news in the Launcher!
{% endhint %}

<figure><img src="/files/zcF626AZdnb13FKY6x6K" alt=""><figcaption><p>Game Launcher news example</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gamelauncher.gitbook.io/documentation/how-to-show-news-and-alerts/show-your-news-or-changelog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
