> For the complete documentation index, see [llms.txt](https://docs.wise-scripts.vip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wise-scripts.vip/scripts/wise-info/installation.md).

# Installation

## Step 1: <mark style="color:red;">Check E-Mails</mark>

Check your E-Mails for a <mark style="color:red;">`Token`</mark> that you have received after buying the <mark style="color:red;">Wise Info</mark> Script.

***

## Step 2: <mark style="color:red;">Claim the Script</mark>

Join our [Discord](https://discord.gg/EBpXBf2zTW), in the [<mark style="color:red;">#bot-commands</mark>](https://discord.com/channels/935879131630018562/1026113323655249941) channel you can claim the Script with <mark style="color:red;">`/claim wise_info`</mark> and your <mark style="color:red;">Token</mark> and the Bot sends you the Script via DM.

{% hint style="warning" %}
Your Discord `Direct Messages` need to be open for you to receive the Script
{% endhint %}

***

## Step 3: <mark style="color:red;">Setup Discord Bot</mark>

Goto [Discord Developer Applications](https://discord.com/login?redirect_to=%2Fdevelopers%2Fapplications), click on <mark style="color:red;">`New Application`</mark> in the Top-Right, put in the Name of the Bot and click <mark style="color:red;">`Create`</mark> \
After that click in the left List on <mark style="color:red;">`Bot`</mark> and click <mark style="color:red;">`Add Bot`</mark>. \
Accept all <mark style="color:red;">`Priviliged Gateway Intents`</mark> => <mark style="color:red;">`Presence Intent`</mark> -> <mark style="color:red;">`Server Members Intent`</mark> -> <mark style="color:red;">`Message Content Intent`</mark> and <mark style="color:red;">`Save Changes`</mark>

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

***

## Step 4: <mark style="color:red;">Invite the Bot</mark>

Goto <mark style="color:red;">`OAuth2`</mark> -> <mark style="color:red;">`URL Generator`</mark> . Under <mark style="color:red;">`Scopes`</mark> select <mark style="color:red;">`bot`</mark> . Under <mark style="color:red;">`Permissions`</mark> select <mark style="color:red;">`Administrator`</mark> . After that you copy the URL at the bottom and paste in your browser search bar, select the server and confirm.

***

## Step 5: <mark style="color:red;">Put into Resources</mark>

Open the <mark style="color:red;">wise\_info.zip</mark> extract the <mark style="color:red;">`wise_info/`</mark> directory and move the directory into your <mark style="color:red;">`resources/`</mark> directory on your server

***

## Step 6: <mark style="color:red;">Setup Script Config</mark>

In the <mark style="color:red;">`config.json`</mark> in <mark style="color:red;">`DISCORD_ID`</mark> you put in your UserId of your Discord Account and for <mark style="color:red;">`GUILD_ID`</mark> you put in the Id of your Discord Server

```json
{
 "discordID": "DISCORD_ID",
 "dcserverID": "GUILD_ID"
}
```

***

## Step 7: <mark style="color:red;">Install Node</mark>

{% hint style="warning" %}
You dont need to do this if you have already installed `Node`, you can check if you have already installed it, by typing in the console <mark style="color:red;">`node -v`</mark> and check if the version is above <mark style="color:red;">`v16.x.x`</mark>
{% endhint %}

{% tabs %}
{% tab title="Windows" %}
Follow step by step

1. Goto [NodeJS](https://nodejs.org/en) and download the latest version.&#x20;
2. Press <mark style="color:red;">`Windows+R`</mark> type in <mark style="color:red;">`cmd`</mark> and click <mark style="color:red;">`OK`</mark>.&#x20;
3. In the open console you type in <mark style="color:red;">`node -v`</mark> and check if it installed the latest version.
4. Done!
   {% endtab %}

{% tab title="Linux" %}
Follow step by step

1. Open your Linux Server Console
2. Type/Copy <mark style="color:red;">`apt-get install curl`</mark> -> ENTER
3. Type/Copy <mark style="color:red;">`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash`</mark> -> ENTER
4. Type/Copy <mark style="color:red;">`export NVM_DIR="$HOME/.nvm"`</mark> -> ENTER
5. Type/Copy <mark style="color:red;">`[-s "SNVM DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"`</mark> -> ENTER
6. Type/Copy <mark style="color:red;">`Is "SNVM_DIR/bash_completion" ] && . "SNVM_DIR/bash_completion"`</mark> -> ENTER
7. Type/Copy <mark style="color:red;">`nvm install v16`</mark> -> ENTER
8. Type/Copy <mark style="color:red;">`apt-get install nodejs`</mark> -> ENTER
9. Done!
   {% endtab %}
   {% endtabs %}

***

## Step 8: <mark style="color:red;">Install NPM Modules</mark>

{% tabs %}
{% tab title="Windows" %}
Follow step by step

1. Open <mark style="color:red;">`wise_info/`</mark> directory
2. Click in the top-left on <mark style="color:red;">`File`</mark>
3. Click on <mark style="color:red;">`Open Windows Powershell`</mark>
4. In the Powershell Console you type <mark style="color:red;">`npm i`</mark> and press enter
5. Done!
   {% endtab %}

{% tab title="Linux" %}
Follow step by step

1. Open your Linux Server Console
2. Go to the `wise_info/` directory by using `cd {YOUR_PATH}/wise_info`, `YOUR_PATH` is just a placeholder, you need to put in your path to the wise\_info script
3. Now you type `npm i` and press enter
4. Done!
   {% endtab %}
   {% endtabs %}

***

## Step 9: <mark style="color:red;">Start Resource</mark>

{% hint style="warning" %}
Before starting the resource, you must <mark style="color:red;">stop</mark> the '<mark style="color:red;">yarn</mark>' resource.
{% endhint %}

Now implement the resource into the <mark style="color:red;">`server.cfg`</mark>  with `ensure wise_info`, restart your server and done.

***

## Step 10: <mark style="color:red;">Enjoy!</mark>

####
