Advanced Stats | WebUI Installation
How to setup AdvancedStats Web User InterfaceYou must own AdvancedStats to use this addon.
Instructions
- Download the Resource from MC-Market.org/resources/18881/
- Extract the zip file to your Desktop.
- Upload AdvancedStats-Web.js to your CoreBot Addons folder. (Go to your installation then ./addons/ folder.)
- Restart your bot.
- Go to ./addon_configs/ and open AdvancedStats-Hosted.yml
- 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.
- Go to [your-server-ip]:[port]
- 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]
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>
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