# Show an Alert

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

Open your **Server Host Files**

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

The information displayed in the Launcher is divided the environment and the language/

**Release and Beta**

If you want to change an <mark style="color:yellow;">**Alert**</mark> of the **Release Environment** in *<mark style="color:blue;">**en\_US**</mark>* language, locate the file inside your Host it should be in:

> .../News/Release/en\_*US\_Release\_News.txt*

## Modify the News Content

{% hint style="info" %}
Open the **News JSON Creator** in Unity

***Tools/Game Launcher/News JSON Creator***

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FAEqghUbuaxYOKWGJsJbd%2FOpen%20News%20JSON%20Creator.gif?alt=media\&token=a47ad57f-789f-4eec-bdc4-4536cb8a6e13)
{% endhint %}

1. **Copy** your actual news file content *(Example: .../News/Release/en\_US\_Release\_News.txt)*
2. **Paste the content** inside the *Load JSON* section

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FvHDbTiq4zbhqVPjDMUL4%2FLoad%20JSON.gif?alt=media&#x26;token=75e335d3-c765-46a7-9191-b9f6a41bf2e3" alt=""><figcaption><p>Paste my actual news file content</p></figcaption></figure>

3\. Creating an alert

{% hint style="info" %}
**Alert Type:** The color of the alert.

**Date:** The alert date.

**Message:** The message to show.

**Show after date?:** if true, the message will be shown after the specified date.

**Interaction URL**: If the alert is clicked the user will be redirected to this URL.
{% endhint %}

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2F2xiyv3xXO137znF3xmqP%2FCreating%20my%20alert.gif?alt=media&#x26;token=5fe17ede-1cd8-4027-8fed-872750dab12a" alt=""><figcaption><p>Creating my alert</p></figcaption></figure>

4\. **Copy** the **Generated JSON**

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FDm8Vj1vb1xeRBvgGyWJG%2Fimage.png?alt=media\&token=75c42c44-7376-4aca-9078-e213cd2b6036)

5\. Replace the content of your actual news file&#x20;

*(Example: .../News/Release/en\_US\_Release\_News.txt)*

**That's all!**

Your alert must be showed in the topside of your Launcher!

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2Fwdsh8p0RJk38Vd6TQPrd%2Fimage.png?alt=media&#x26;token=fdbf904f-ec88-46c4-b1d6-8351a0e1323c" alt=""><figcaption></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-an-alert.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.
