Giter Club home page Giter Club logo

csgo-vmpanel's Introduction

CSGO Vip Management Panel

Donate Donate Donate Discord

Single solution to mange VIPs and Admins in your CSGO servers.

Panel Features v1.6 (Changelogs)

  • PayU Money payment gateway added (PayU Payment gateway is for Indian Users only as it do transactions in rupee)
  • Some bugs fixed for login screen
  • Panel logs added
  • Pagination added for large data
  • Server data load and autofill added for server update form

Only enable both paymnet gateways if you are doing transactions in INR , if you are doing transactions is USD do not enable PayU

Panel Features v1.5

  • Add VIP or Admin to servers.
  • While adding VIP subscription days are entered and once subscription days finished panel will automatically delete that VIP and remove it from the CSGO server too.
  • You can also manually delete the VIP and Admins from the panel.
  • A user data fetch tool to make it easy to add VIP and Admins just enter the user steam profile URL and panel will fetch all the info for you (no more using steam id finders)
  • Automatic deletion of VIPs whose subscription days are ended.
  • Daily notification on your discord server with the latest Listing for all servers.
  • A handy dashboard to see all at a glance
  • You can create, delete sub-users and super users in panel handy in case you want multiple admins for panel multiple admins.
  • Don't like the default red, don't worry I got you covered, you can change theme color in panel settings.
  • CSGO server plugin is available which syncs all the entries from your panel database to the CSGO server.
  • A shell script is also available. (used to do plugin work in old versions, but it still works so it's there)
  • Note (I recommend using plugin until and unless u r trying to do custom solutions with a shell script. If you are using shell script you will have to manually create server tables in the database.)
  • Added RCON feature therefore now as soon as you add any admin or VIP it gets updated in respective CSGO server through RCON by the panel's plugin
  • Added Steam login for Users
  • Added Paypal for VIP buy and renew feature
  • User can log in through steam and then he can see the status of his VIP subscription in all servers, can buy new VIP and Renew old VIP through PayPal
  • Sales record for Admin
  • New Features at Dashboard like (Server list with connecting feature and other stats for Admin)

Webpanel Screenshots

ScreenShot View All ScreenShots

Step-by-Step install Instructions for New Installation

(these instructions apply to current dev code if you are installing v1.4 then follow the instructions given in its zip)

Always install the latest released version and follow the instructions available inside the readme of downloaded release. I don't recommend installing under-development builds as they may have errors.

Setting Up the node server

  • Install nodejs first if not installed https://nodejs.org/en/download/
  • Inside your preferred directory open the Linux terminal.
  • run the following commands
git clone https://github.com/Summer-16/CSGO-VMP.git
cd CSGO-VMP/panelServer/
npm i
cd app/config/
mv example_config.json config.json
vim config.json
  • Now inside config file add your database details in DB object
  • Your Steam API key for Steam login to work (get key here https://steamcommunity.com/dev)
  • Your Paypal client Id for automatic VIP buy and renew to work (instructions to get key here https://developer.paypal.com/docs/archive/checkout/integrate/#5-go-live)
  • and a secure key for jwt (remember to add a strong key)
  • Like same you can enable PayU payment gateway (set enaled:true, environment 'live' for live payments 'test' for testing)
  • and you PayU merchant Key and Salt which is available in your PayU Dashboard.
  • save the file and get back to panelServer directory
cd ..
cd ..
node server.js
  • At this point, your server will be running and you can use it but it will stop if u terminate the server or system restart so we need to add it into the service
  • to add your server into the service run the following commands in panelServer directory
npm install -g forever
npm install -g forever-service
sudo forever-service install vmpService --script server.js
sudo service vmpService start
  • Now your server is running and your default username: admin and password: password, use these creds to login to the Panel, go to panel setting create your own superuser, switch to your user, and delete the default user.
  • At this point, you are good to go and install the plugin in all your servers.
  • After installing the plugin in the server go to panel settings and add your server in the panel.

Install plugin in CSGO server

  • go to gameServer folder inside the plugin folder copy the addon and cfg folder
  • paste into your CSGO server's CSGO folder now go to cfg/sourcemod/vmpanel.cfg
  • open the cfg file add a table name for your server something like sv_servername
  • now add an entry named vmpanel in your database,cfg and add the database cred for the same database used for panel
  • Command for plugin "sm_vmprefresh"

Adding bash file in servers (old method)

  • Copy the script from serverScript folder add into your CSGO server
  • Update your DB cred and admins_simple.ini path in the script and add the script into cron

Updating from v1.5 to v1.6

  • Stop your panel service while updating
  • Add files from v1.6 to yours installed directory
  • Go to panelServer folder , open your linux terminal and run npm i
  • Go to your config and update the following details from example config
  • PayU Payment gateway is for Indian Users only as it do transactions in rupee
  • execute below query in your database
ALTER TABLE `tbl_sales` CHANGE `payer_surname` `payer_surname` VARCHAR(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `tbl_sales`  ADD `payment_gateway` VARCHAR(20) NOT NULL  AFTER `id`;
ALTER TABLE `tbl_users` CHANGE `password` `password` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
TRUNCATE `tbl_users`;
  • Now restart your server and you are good to go

csgo-vmpanel's People

Contributors

summer-16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.