Welcome to CoreMart!

By registering with us, you'll be able to discuss, share, download resources and private message with other members of our community.

Sign-Up Now!

Advanced Stats | Installation Guide

Status

Advanced Stats | WebUI Installation​

How to setup AdvancedStats Web User Interface

You must own AdvancedStats to use this addon.

Instructions​

  1. Download the Resource from MC-Market.org/resources/18881/
  2. Extract the zip file to your Desktop.
  3. Upload AdvancedStats-Web.js to your CoreBot Addons folder. (Go to your installation then ./addons/ folder.)
  4. Restart your bot.
  5. Go to ./addon_configs/ and open AdvancedStats-Hosted.yml
  6. Configure the port to your needs.

Pterodactyl Installation:
- Set the port: to your Pterodactyl Server Port.
- Make sure the Pterodactyl Port is open.
- The Pterodactyl Server IP Address should be the server ip not. 127.0.0.1 or 0.0.0.0


Linux Server Installation:
- Set to the port to anything that isn't being used. Example: 3282
- Make sure the port is open with your firewall. (Few Firewalls: UFW, FireWallD, IPTables). If you don't think you have a firewall ignore this and if the website doesn't load. Please contact your System Admin


Windows Server Installation:
- Set to the port to anything that isn't being used. Example: 3282
- Make sure the port is open with your friewall.
  1. Go to [your-server-ip]:[port]
  2. Tada you have setup the CoreBot Addon.



How to get rid of the website port?

If you have a VPS / Dedicated Server I will do this for you for $2.50, Just open a ticket in Lloyd's Support Lounge.
  • You can remove the website port by using ReverseProxy.
  • How to gen a SSL Cert? (I recommend using certbot)
    Linux Command:
Code:
apt-get install certbot -ycertbot certonly -d [domain]
Example Apaceh2 Config.
Apache config:
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        Redirect permanent / https://docs.corebotaddons.com
        ServerName docs.corebotaddons.com
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        ServerName docs.corebotaddons.com
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
    ProxyPreserveHost On
    ProxyPass / http://{serverip}:3000/
    ProxyPassReverse / http://{serverip}:3000/
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/docs.corebotaddons.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/docs.corebotaddons.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/docs.corebotaddons.com/fullchain.pem

</VirtualHost>
Example of NGINX Config
NGINX:
server {
        listen 80;
        root /var/www/;
        index index.html index.htm index.nginx-debian.html;
        server_name stats.59l.dev;
        location / {
    proxy_pass http://{yourop}:33;
        }
}
server {
        listen 443 ssl http2;
        server_name stats.59l.dev;
        ssl_certificate     /etc/letsencrypt/live/stats.59l.dev/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/stats.59l.dev/privkey.pem;
        root /var/www/stats;
        index index.html index.php index.htm index.nginx-debian.html;

        location / {
    proxy_pass http://{yourip}:33;
        }
}
Remember, if you have any issues, please join our support server and create a ticket!

You are required to know basic Linux
 
Status
Top