Hyperz Documentation > Products > Ban Database > Installation

Installation

Hyperz

Dependencies


Windows

Once you have filled out the configuration file you can now go ahead and open the CLIENT.bat file. If it is the first time you have ran the bot, make sure to install the dependencies before starting the bot, otherwise it will just keep crashing.

Otherwise, if you have installed the modules, and the prompt has closed, AND you see a folder called node_modules and a package-lock.json file, then they are installed.

Now you can re-open the CLIENT.bat file and choose the option to "start" or "run" which will open up a session that boots the bot online and begins it's event listeners.


Linux

Use this installation guide if it is a fresh Linux VPS with pretty much no bulkware! This is designed for you to just copy the commands and run them!

Firstly, let's fill out your config.js file. Make sure to use all the correct information.
If you need help, check out the little list below!

Where to find things:

Now, simply just follow the below commands!

sudo apt update
sudo apt install mysql-server

Press Y if it asks for confirmation!

sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'SETYOURPASSWORDHERE';
FLUSH PRIVILEGES;
source /home/darkbot/install.sql;
exit

Press Y if it asks for confirmation!

sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Then disconnect from your VPS and reconnect to it! This can be done by simply closing the SSH session and re-opening it!

Then, run the below commands!

nvm install 16.13.2
nvm use node

Next, let's get your bot started up!

screen -S bandb
cd /home/bandb
npm i
node .

It should now give you an invite link to invite the bot to your server! MAKE SURE YOU USE THAT INVITE LINK!!!


Was this article helpful?

104 out of 204 found this helpful