# Add Pixel Bot to Server

## **Installation Steps**

### 1. Install Pixel Bot

Click the link below to add Pixel Bot to your server:

:globe\_with\_meridians: [**Install Pixel Bot**](https://discord.com/api/oauth2/authorize?client_id=977303266763362314\&permissions=208574663760\&scope=applications.commands%20bot)

### 2. Create Channels

Create one or more channels for Pixel War in your server, possibly in a separate category.

![](https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FtO7WIyqTZAWH4Mtpwtis%2Fimage.png?alt=media\&token=a46bfb6e-6740-4829-979d-cca0eef20f71)

### 3. Configure Permissions

* <mark style="background-color:red;">Please make sure that the</mark> <mark style="background-color:red;"></mark><mark style="background-color:red;">**default role (@everyone)**</mark> <mark style="background-color:red;"></mark><mark style="background-color:red;">role has permission to</mark> <mark style="background-color:red;"></mark><mark style="background-color:red;">**use external emojis.**</mark>

![](https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FveKr8FQdddmlqQ1L93OP%2Fimage.png?alt=media\&token=6d4ddbf6-b844-4730-b6f2-a9c8364cc37d)

* If your Pixel War channels are private, add the Pixel Bot role to your channels' permissions.

![](https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2F24wh32NV5KQTvnJDZbzg%2Fimage.png?alt=media\&token=25e9803d-594f-4001-8464-4b23833eb520)

* Enable the following permissions:

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FNEksg7UxKto5iTPizJaG%2Fimage.png?alt=media&#x26;token=2376db27-0b6c-44d4-bc30-563fd57f2c13" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2F07fPAOmLdTAQvGMeSMA9%2Fimage.png?alt=media&#x26;token=563fd33a-838b-4b94-a111-8da8dd78d145" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FzCyBQVfEeX9OrZORkCeB%2Fimage.png?alt=media&#x26;token=9111b5f5-c2b5-4898-8860-2ae06eba0d85" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FbudZSJ5NQnAj9l4BcORB%2Fimage.png?alt=media&#x26;token=cdef831a-3d9f-458b-ac8f-2193b7cbf10e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FjNoKgt6SwARzWNO34RVg%2Fimage.png?alt=media&#x26;token=3dbd972f-e387-4453-81ac-9544fb22f65a" alt=""><figcaption></figcaption></figure>

### 4. Create Royale Role

Create a decorative role called `Royale` and assign it to members who are going to schedule Battle Royales. This role doesn't require any permissions.

![](https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FMyCeueakUs4Eb0zpLJe7%2Fimage.png?alt=media\&token=98bb9f5e-82a7-4d32-af19-82a1c3067813)

### 5. Set up Channel for Cross-Server Battle Royales

Pixel War has cross-server battle royales, called global-royales. Players from many servers can join the same battle royale game, and their server name and icon will be featured in the UI.

To set up global-royales, create a channel for it, then run the command:

&#x20;`/royale set_global_channel`

### 6. Alert role for Global Royales

If you want players to be notified whenever a global royale starts, you can assign them a role called '**Royale-Alerts**'. This role will be tagged whenever a global royale is starting.

### 7. Restrict Members/Channels

&#x20;Optionally, go to integrations -> Pixel Bot, and restrict channels and/or roles that can access the bot commands.

![](https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FH6KIRkO41cV4Q6NWnVlr%2Fimage.png?alt=media\&token=1ce6486d-e0a2-4d8f-9339-52a0c4aff1b4)

### 8. Subscribe to the Updates Channel

To get Pixel War update notifications and alerts, follow the \[**#**��**・pw-beta-announce**] channel in the Pixel War Discord.

<figure><img src="https://1690486595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GyQl2lKNUnBqXjjh28l%2Fuploads%2FYHeGBfeTayNQqpRo06Uv%2Fimage.png?alt=media&#x26;token=94c12ab1-9bba-4861-9ed9-61cfac89d706" alt=""><figcaption></figcaption></figure>
