Skip to content

Cr3am/Reliactyl-2.0

 
 

Repository files navigation

Reliactyl 2.0

Reliactyl

Features

- Allows users to split resources throughout multiple servers on the Pterodactyl Panel, and uses a Discord OAuth2 as a login system(updated).
- Coins (AFK Page earning)
- Coupons (Gives resources & coins to a user)
- Servers (create, view, edit servers)
- Store (buy resources with coins)
- User System (auth, regen password, profile)
- Join for Resources (join discord servers for resources)
- API (for bots & other things)
- Anti-ADBlock (BlockADBlock)
- Multi-Lang Support(Soon)

Installination-Setup

Installing Dependencies

sudo apt update && sudo apt upgrade
sudo apt install git
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt install nodejs
sudo apt install mariadb-server
sudo mysql_secure_installation
npm -v
git clone https://github.com/Reliactyl/Reliactyl.git
cd Reliactyl
cp settings-template.yml settings.yml
sudo nano settings.yml and type all require settings
sudo npm install
sudo apt install nginx
sudo apt install certbot
sudo apt install -y python3-certbot-nginx

Database Setup

mysql -u root -p

# After you've got that setup, let's go into the next step. Remember to change 'YourPasswordHere' with a secure password.

CREATE USER 'dashboard'@'%' IDENTIFIED BY 'YourPasswordHere';
CREATE DATABASE reliactyl;
GRANT ALL PRIVILEGES ON dashactyl.\* TO 'dashboard'@'%' WITH GRANT OPTION;
quit;

Webserver Config

systemctl start nginx
certbot certonly --nginx -d your.domain
sudo nano /etc/nginx/sites-enabled/reliactyl.conf
# In reliactyl, paste this config and change the varible

server {
  listen 80;
  server_name <domain_name>;
  return 301 https://$server_name$request_uri;
}
server {
  listen 443 ssl http2;

  server_name <domain_name>;
  ssl_certificate /etc/letsencrypt/live/<domain_name>/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/<domain_name>/privkey.pem;
  ssl_session_cache shared:SSL:10m;
  ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers  HIGH:!aNULL:!MD5;
  ssl_prefer_server_ciphers on;

  location /afkwspath {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_pass "http://localhost:<port>/afkwspath";
  }

  location / {
    proxy_pass http://localhost:<port>/;
    proxy_buffering off;
    proxy_set_header X-Real-IP $remote_addr;
  }

  location = /arc-sw.js {
        proxy_pass https://arc.io;
        proxy_ssl_server_name on;
    }
}

Starting Reliactyl 2.0

  1. Testing
    cd path/to/the/reliactyl
    node index.js

  2. Production
    cd path/to/the/reliactyl
    npm install pm2 -g
    pm2 start index.js
    pm2 save

Join our Reliactyl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.9%
  • CSS 26.1%
  • SCSS 14.7%
  • EJS 1.6%
  • Less 0.7%