# How to create new server banner?

### There are 2 types of bannners:

* **Custom** - is banner created from image URL
* **YTD** - is banned created from image defined in ytd file (texture dictionary).

**General info**

Supported image formats:

* **JPEG**
* **PNG**
* **GIF**

### Custom banner

1. Make sure before accessing that you have permissions to access dashboard banner creation.

   ```lua
   APP_PERMS.ACCESS_CUSTOM_BANNER
   ```
2. Open ./banners there should be option Custom banner, you should see same as the image below.

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-dbcba2a28e92eb9a9a427e29e2cf00f835df346c%2FbannersCustomFirstStep.png?alt=media" alt=""><figcaption><p>Custom banner, if you have permissions - there should be this option visible.</p></figcaption></figure>

3. Now select your banner type, when doing custom, select Custom banner option.
4. Banner name should be name of the banner which will hold specific banner.
5. Your banner should be the image url of the banner under which banner name is defined.
6. When you have filled all informations, should look like this:

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-e3b99fc07a66b185135811e881a2e739bcf1ddc6%2FbannersCustomSecondStep.png?alt=media" alt=""><figcaption><p>Filled informations for new banner.</p></figcaption></figure>

7. Now click on Save banner, you should see this confirmation pop-up:

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-71f68ea8f11f4c24d2657d78abf2356687679e14%2FbannersCustomThirdStep.png?alt=media" alt=""><figcaption><p>Confirmation menu if you want to add this banner to server or exit.</p></figcaption></figure>

8. When you click on Save, the banner should be added to server, anybody will be able to use it!

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-de64d3c8824b9075297d2802d93a936ae28455a9%2FbannersCustom.png?alt=media" alt=""><figcaption><p>When banner is sucessfully added, you get redirect to homepage + get success notification.</p></figcaption></figure>

### YTD banner

1. Add the image to `rcore_banners/stream/rcore_banners.ytd` with OpenIV
2. Now load in-game and open./banners there should be option Dictionary banner, you should see same as the image below.

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-909935afa15b8ac6567385d285b2c8a2d9f927a3%2FbannersDictionaryFirst.png?alt=media" alt=""><figcaption><p>In navbar Custom banner should be visible.</p></figcaption></figure>

3. When you click on Custom banner, now you should see this banner creation form.\\

   <figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-fc6725f67af56ebd949dbd7305b96342fc90cfab%2FbannersDictionarySecond.png?alt=media" alt=""><figcaption><p>When you havid valid banners, then you will be able to save it.</p></figcaption></figure>
4. When you click on save you should be redirect to homepage and your new ytd banner should be visible for all users.

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-de64d3c8824b9075297d2802d93a936ae28455a9%2FbannersCustom.png?alt=media" alt=""><figcaption><p>New YTD banner named god was added, enjoy!</p></figcaption></figure>
