# Getting Started

## 01. Downloading & Installing Plugin

#### 01. Download the plugin jar from buildbybit

Product Link : <https://builtbybit.com/resources/discord-leaderboards-premium.39497/>

<figure><img src="/files/T41BZbEMI0FUGVwXjSNh" alt=""><figcaption><p>once you purchase the plugin you will be able to see this download button link.</p></figcaption></figure>

#### 02. Upload the plugin jar to your server

Upload the `DLP.jar` file to your minecraft server's `plugins` folder <br>

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

#### 03. Restart your server

Restart your server using your hosting panel

<figure><img src="/files/3fPUNgGN1tmAeMlo6pqm" alt=""><figcaption></figcaption></figure>

## 02. Getting a license key

#### 01. Visit support channel in our discord server (Sundevs)

{% embed url="<https://dsc.gg/sundevs>" %}
click to join
{% endembed %}

#### 02. Create a license ticket

<div align="right"><figure><img src="/files/QCs6PHYHAndvZcOumkAK" alt=""><figcaption><p>you can create a ticket by clicking this button</p></figcaption></figure></div>

<figure><img src="/files/AMVO4URPDvCuKV2oLFSX" alt=""><figcaption><p>enter product name and your builtbubit name and click submit button. then ticket will be created an you will be recievd a license key shortly</p></figcaption></figure>

#### 03. Copy the license key

<figure><img src="/files/fcdTnFljCYXrE9ahGL4n" alt=""><figcaption><p>You will be received this type of message to your discord dms shortly. copy the license key from there </p></figcaption></figure>

{% hint style="info" %}
Giving a license key is a manual process, You have to wait until developer arrived. thanks for being patent
{% endhint %}

#### 04. Add licese key to license.txt file

Goto your plugin's folder **`plugins\discordleaderboardspremium`**&#x61;nd copy that license key to **`License.txt`** file  then save it and restart the server.\ <br>

<figure><img src="/files/mYgvBAN3K0Aj0AI9l4Kh" alt=""><figcaption><p>paste license key to license.txt in plugin's folder and restart the server</p></figcaption></figure>

{% hint style="warning" %}
Server hast to be restarted at least once before this process to generate plugin's folder and license.txt
{% endhint %}

## 03. Setting up Discord Bot

#### 01. Visit Discord Devloper Portal

{% embed url="<https://discord.com/developers/applications>" %}
Click to visit
{% endembed %}

#### 02. Create new Application

<figure><img src="/files/zpI4AkCenFeZidyybHro" alt=""><figcaption><p>You may have to sign up with your discord account if you're visitng for first time</p></figcaption></figure>

<figure><img src="/files/csOFennOr6FIr5GfGYYv" alt=""><figcaption><p>enter a name for the application</p></figcaption></figure>

#### 03. Enable Privileged Gateway Intent

<figure><img src="/files/mzvt5v65jTA3IjhaHq0d" alt=""><figcaption><p>Visit bot tab and enable all of these 3 things</p></figcaption></figure>

#### 04. Reset and Copy your Discord Bot Token (Keep It in a safe place, we need that later)

<figure><img src="/files/y2BXlt6wBVN95f9cdV1i" alt=""><figcaption><p>Click Reset Token Button - after few steps you will be given a long string copy that and save it in a safe place</p></figcaption></figure>

{% hint style="danger" %}
Anyone can access your discord bot thro that discord token so please be careful and avoid sharing it
{% endhint %}

#### 05. Give Permissions & Invite The bot to your Discord Server

<figure><img src="/files/JOX8Bdl3ro94S6z8bQLq" alt=""><figcaption><p>goto oAuth2 > Url Generator tab and check following permissions</p></figcaption></figure>

**Scops :**&#x20;

* `applications.commands` - Required
* `bot` - Required

**Bot Permission**&#x20;

* `Administrator` - Recommended&#x20;

<figure><img src="/files/Y2vaUygA89j8mUvADqQy" alt=""><figcaption><p>click copy button and past it in your browser, then you will be able to add that bot to your discord server</p></figcaption></figure>

#### 06. Add that bot token to config.yml & Restart Your Minecraft Server

Goto your plugin's folder **`plugins\discordleaderboardspremium`**&#x61;nd copy that bot token to **`Config.yml`** file  then save it and restart the server.

<figure><img src="/files/ose4EYonmUOfNSrxCrPV" alt=""><figcaption><p>paste your bot token inside " " infrontof token : text then save the file and restart your minecraft server</p></figcaption></figure>

{% hint style="success" %}
Now You will be able to Successfully Start the Plugin, Also Discord Bot gonna be online at the same time. If you are facing further issues please contact the developer by creating a ticket or support channel.
{% endhint %}


---

# 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://dlp.hapangama.com/general-guide/getting-started.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.
