RoGuardian Setup
RoGuardian Installation & Setup
Follow this guide to install RoGuardian on an Ubuntu VPS, configure Roblox authentication, and keep your bot running reliably.
You will need an Ubuntu VPS with SSH access, your RoGuardian files, and access to the Roblox account used by RoGuardian.
1. Upload the RoGuardian Files
The easiest way to upload your RoGuardian files to your VPS is by using an SFTP client such as FileZilla or WinSCP.
Using FileZilla
- Open FileZilla and select File → Site Manager → New Site.
- Set the protocol to SFTP, SSH File Transfer Protocol.
- Enter your VPS IP address as the host.
- Set the port to
22. - Set the logon type to Normal.
- Enter
rootas the username and enter your VPS root password. - Click Connect.
- Locate your RoGuardian folder on your computer.
- Upload the folder to
/roguardianon your VPS.
/roguardian
2. Configure Roblox Authentication
RoGuardian requires Roblox authentication credentials to connect to the Roblox account.
Step 1, Connect to your VPS
Step 2, Create the environment file
Navigate to your RoGuardian installation directory:
Create your .env file:
Replace your_cookie_here
with the required authentication value.
Protect the environment file:
3. Install Node.js and npm
Update the Ubuntu package lists and install Node.js and npm:
You can verify the installation with:
4. Install RoGuardian Dependencies
Navigate to the RoGuardian directory and install the required Node.js packages:
5. Test RoGuardian
Start RoGuardian manually to confirm that everything is configured correctly:
Check the terminal for errors and confirm that RoGuardian starts successfully. Once you have confirmed that it works, stop the bot using Ctrl + C.
6. Keep RoGuardian Running
We recommend using PM2 to keep RoGuardian running in the background and automatically restart it if the process stops.
Install PM2
Start RoGuardian
Save the PM2 configuration
Enable automatic startup
PM2 will provide an additional command after running the startup command. Copy and run that command as instructed by PM2.
7. View RoGuardian Logs
View the live RoGuardian logs with:
Check the current PM2 status with:
8. Restart RoGuardian
If you make changes to RoGuardian or its configuration, restart the bot with:
9. Useful PM2 Commands
Need help?
If you encounter an issue during installation or need assistance with your RoGuardian licence, contact ClassTech Development through our Discord server.
Join ClassTech Discord