All Projects → csgo-league → csgo-league-web

csgo-league / csgo-league-web

Licence: GPL-3.0 license
League web panel

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to csgo-league-web

MissedIT
Fully Featured hack Always Free As Feedom
Stars: ✭ 30 (-28.57%)
Mutual labels:  steam, csgo
SteamTracking-GDPR
📜 Tracking Valve's GDPR related pages
Stars: ✭ 21 (-50%)
Mutual labels:  steam, csgo
cozinha loader
An injector focused on undetectability that automatically injects a DLL into the target process with VAC3 bypass.
Stars: ✭ 53 (+26.19%)
Mutual labels:  steam, csgo
csgo-trader-extension
CSGO Trader Browser Extension to help with CS:GO item trading, marketing and much more
Stars: ✭ 86 (+104.76%)
Mutual labels:  steam, csgo
Vac Hooks
Hook WinAPI functions used by Valve Anti-Cheat. Log calls and intercept arguments & return values. DLL written in C.
Stars: ✭ 103 (+145.24%)
Mutual labels:  steam, csgo
OWReveal
CSGO Overwatch revealer by sniffing packets / Find The Suspect steam profile from overwatch
Stars: ✭ 23 (-45.24%)
Mutual labels:  steam, csgo
Node Csgo
A node-steam plugin for Counter-Strike: Global Offensive.
Stars: ✭ 367 (+773.81%)
Mutual labels:  steam, csgo
SteamBuff Market-WalletBalance
饰品筛选倒余额 比例自定义 已适配buff c5game igxe
Stars: ✭ 66 (+57.14%)
Mutual labels:  steam, csgo
Node Globaloffensive
A Node.js module to connect to and interact with the CS:GO game coordinator. Mostly used to get item data.
Stars: ✭ 96 (+128.57%)
Mutual labels:  steam, csgo
Spacehook
minecraft premium undeteck cheat!
Stars: ✭ 80 (+90.48%)
Mutual labels:  steam, csgo
csgo-cli
CS:GO Console shows your user account, stats and latest matches. It also uploads demo sharecodes to csgostats.gg.
Stars: ✭ 31 (-26.19%)
Mutual labels:  steam, csgo
Vac Bypass
Valve Anti-Cheat bypass written in C.
Stars: ✭ 241 (+473.81%)
Mutual labels:  steam, csgo
steam community market
Get item prices and volumes from the Steam Community Market using Python 3
Stars: ✭ 24 (-42.86%)
Mutual labels:  steam, csgo
SteamDepotDownloaderGUI
A simple GUI tool based on DepotDownloader for downloading Steam depots.
Stars: ✭ 26 (-38.1%)
Mutual labels:  steam, csgo
steam-hour-boost
🔧 Script for idling, boosting playtime in hours, for chosen game without using computer resources. CSGO test successfully.
Stars: ✭ 21 (-50%)
Mutual labels:  steam, csgo
Vac
Source code of Valve Anti-Cheat obtained from disassembly of compiled modules
Stars: ✭ 254 (+504.76%)
Mutual labels:  steam, csgo
valve-matchmaking-ip-ranges
Lists of locations & IP addresses of Valve servers
Stars: ✭ 69 (+64.29%)
Mutual labels:  steam, csgo
CallAdmin
CallAdmin is a multilingual sourcemod plugin which provides in-game report functionality
Stars: ✭ 52 (+23.81%)
Mutual labels:  steam, csgo
Steamspeak
Steam and TeamSpeak integration, done right!
Stars: ✭ 27 (-35.71%)
Mutual labels:  steam, csgo
Vac Bypass Loader
Loader for VAC Bypass written in C.
Stars: ✭ 204 (+385.71%)
Mutual labels:  steam, csgo

Maintenance GitHub release PRs Welcome Open Source Love svg3

CS:GO League Web

A web application for PUG statistics.

Our support discord can be found here.

Author

B3none - Developer / Maintainer

Watch for releases

So as to keep the latest version of the plugin I recommend watching the repository

Watch releases

Share the love

If you appreciate the project then please take the time to star our repository.

Star us

Recommendations

The steps below are all written with the presumption that you're using Ubuntu.

Installation

Prerequisites

  1. Apache2
  2. Composer
  3. NPM
  4. ~ PHP 7
  5. Gulp
  6. Node 10 or newer.
  7. Zip and Unzip
  8. MySQL 5.7 or MariaDB 10.4
  9. OpenSSL

Default Install

sudo apt install apache2 composer openssl php php-mysql php-json php-simplexml mysql-server zip unzip -y

Ubuntu 18.04 Install

sudo apt install apache2 composer openssl php7.2 php7.2-mysql php7.2-json php7.2-simplexml mariadb-server zip unzip -y

Debian 10.3 Install

sudo apt install apache2 composer openssl php7.3 php7.3-mysql php7.3-json php7.3-simplexml mariadb-server zip unzip -y

Installing NodeJS 10

  1. Download and install NodeJS repo: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
  2. Install NodeJS version 10: sudo apt-get install nodejs
  3. Check installed version: npm -v
  4. Check installed version: node -v

Installing NodeJS Version Manager (https://github.com/nvm-sh/nvm)

  1. Download and install NodeJS repo: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
  2. Install NodeJS version 10: nvm install 10.19
  3. Set NodeJS version to 10: nvm use 10.19
  4. Check installed version: npm -v
  5. Check installed version: node -v

Installing the Web Interface

  1. Change directory to web default cd /var/www/
  2. Remove the html directory with rm -rf html/
  3. Disable the default site sudo a2dissite 000-default.conf.
  4. Enable mod_rewrite sudo a2enmod rewrite.
  5. Clone repo: git clone https://github.com/csgo-league/csgo-league-web
  6. Change directory to repo: cd csgo-league-web/
  7. Install requirements: composer install
  8. Install NodeJS requirements: npm i
  9. Install gulp globally: sudo npm i -g gulp
  10. Build: gulp build

Database Setup

  1. We need to secure our MySQL installation, to do this run the command mysql_secure_installation.
  2. Follow the steps and make sure to disable remote root login and disable the default database.

Setting up our user

  1. Login to MYSQL with the command mysql -u root -p.
  2. Now we need to make our database and a user that can connect to it.
CREATE USER 'league'@'%' IDENTIFIED BY '{password}';
CREATE DATABASE panel CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON panel.* TO 'league'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;

Then edit your MYSQL Conf to allow external connections to the database. nano /etc/mysql/mysql.conf.d/mysqld.cnf and change the bind-address to 0.0.0.0

Now restart the MySQL service with sudo service mysql restart

Next we'll configure the web panel to use our database and communicate with the bot and game servers.

cd /var/www/csgo-league-web
cp env.example.php env.php
nano env.php

Fill out all of the fields with your information like MySQL, Servers, RCON, and Unique API Key. You can generate your API Key with the link provided in the env.php file.

Once finished Migrate your DB with ./vendor/bin/phpmig migrate

Server

  1. Point the league CNAME at your dedicated server.
  2. cd /etc/apache2/sites-available
  3. nano csgo-league-web.conf
  4. Use the following config:
<VirtualHost *:80>
    ServerName league.your.domain

    DocumentRoot /var/www/csgo-league-web/web

    <Directory /var/www/csgo-league-web/web>
        Options -Indexes
        AllowOverride All
        FallbackResource /index.php
    </Directory>
</VirtualHost>
  1. sudo a2ensite csgo-league-web.conf

Finally make sure to chown -R www-data:www-data app in the /csgo-league-web directory.

You should be all set!

429 (Too many requests) fix for projects with lots of website visits.

  1. Download https://github.com/Rob--W/cors-anywhere or git clone https://github.com/Rob--W/cors-anywhere.git
  2. Use screen or alternative to run this code in background
  3. Launch it
cd cors-anywhere
node server.js
  1. Edit /var/www/csgo-league-web/assets/scripts/listeners/steam-profile.js,
    change line 14 to
    axios.get(`http://{YOUR IP}:8080/https://steamcommunity.com/profiles/${steam}?xml=true`)
    Don't forget to change {YOUR IP} to IP of server.
  2. Build web side again
cd /var/www/csgo-league-web/
gulp build

P.S.: Don't forget to clean cache of your web browser.

Debugging

  1. if you get too many redirects error try change in env.php 'WEBSITE' => '/home' to 'WEBSITE' => ''
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].