Giter Site home page Giter Site logo

summer-16 / csgo-vmpanel Goto Github PK

View Code? Open in Web Editor NEW
86.0 9.0 18.0 13.62 MB

A Fully automated VIP Management panel for CSGO Community servers

License: GNU General Public License v3.0

Shell 0.41% JavaScript 64.54% SourcePawn 4.18% EJS 30.87%
vip-management csgo-server csgo hacktoberfest hacktoberfest2020

csgo-vmpanel's Introduction

Hi ๐Ÿ‘‹, I'm Shivam Parashar aka SummerSolder

A passionate Software/IoT Engineer and a Video Games lover from India. Always Excited to create new stuff or learn something new.

  • ๐ŸŒฑ Iโ€™m currently learning NextJs and TS

  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on any opensource project which can utilize my skills. Always happy to help :)

  • ๐Ÿค Found something interesting on my profile and want to help. Just send a PR

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at: you are looking at it, ofcource git.

  • ๐Ÿ’ฌ Ask me about Anything from my stack

  • ๐Ÿ“ซ How to reach me [email protected]

  • ๐Ÿ“„ Know about my experiences https://www.linkedin.com/in/shivam-parashar16/

  • summer-16

Connect with me:

LinkedIn

๐Ÿ’ป Tech Stack:

JavaScript C C# TypeScript HTML5 CSS3 Markdown PHP Shell Script

NodeJS React React Native Electron.js Redux Express.js JWT Socket.io NPM Yarn Bootstrap Ant-Design Chart.js React Router jQuery MUI SASS Webpack

MongoDB MySQL MicrosoftSQLServer MariaDB SQLite ElasticSearch Redis

AWS Azure DigitalOcean Google Cloud Apache Nginx Jenkins

LINUX ESLint Jira Postman Prometheus Grafana Swagger Adobe XD Sketch CMake Docker Arduino Raspberry Pi PayPal

๐Ÿ“Š GitHub Stats:



๐Ÿ† GitHub Trophies

๐Ÿ” Top Contributed Repo

๐Ÿ˜‚ Random Dev Meme

csgo-vmpanel's People

Contributors

dependabot[bot] avatar jastisriradheshyam avatar nileshpandit009 avatar shaikhnedab avatar skyycodes avatar summer-16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csgo-vmpanel's Issues

server table name

Hi ...
i have a problem
i dont understand why!!! when i add the server on VMPanel it shows me this message:
Server/table not found, Please add vmpanel plugin in your server then add here., Please try again

and the plugin is working on my server called: "SM VMPanel " (2.1 beta) by Summer Soldier

what i have to add here > sm_vmpServerTable "sv_table" !!
which table u are talking !!
Thanks!!

Configuration "vmpanel" not found

Im getting this error, could you help me?

] rcon sm_vmprefresh
[VMP] Executing manual refresh on user command
***[VMP] Error connecting to database==> Configuration "vmpanel" not found
L 06/03/2020 - 00:06:39: [vmpanel.smx] ***[VMP] Error connecting to database==> Configuration "vmpanel" not found
[VMP] Reloading Admins in server Now
L 06/03/2020 - 00:06:39: [basecommands.smx] "Console<0>" refreshed the admin cache.
[SM] Admin cache has been refreshed.

Webpanel URL

what is the url for webpanel?
sorry if it's a noob question.

App Logger || panelServer

Problem

Currently basic logger (console.log) is used through out the panelServer app. In this case one my know the error but not able to deduce the location of the error easily. From technical standpoint console.log is a synchronous function which further causes performance issues if used excessively.

Solution

Add a logger module with multiple log level and trace info, by this approach log can be classified based on the severity of log level corresponding to individual log, and with trace info developer can pin point the error based upon log provided.

How a log will look like:

[0063d66abade48252c98dc1abb053b01] [2020-08-22T02:09:02.185] [INFO] <Server> {panelServer/server.js:136} => Server is running on port 3535.

INFO

  • This issue is specific to back-end side of the application

Problem behind problem ... on this tutorial

i surrender... my brain is dead, i stay on my computer a whole time ..
everytime facing problems on this panel i very waste my time ...sorry


problem:
Server/table not found, Please add vmpanel plugin in your server then add here., Please try again


i did all what u said and what u told me... so i think there is something fake here .... i don't know the tutorial is bad ....

Payment Failed Error

Describe the bug
The Bug Is that even when someone new is trying to login to the website, they're seeing a payment failed error and hence not able to buy the bundle offer from the website.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
It should show the individual the payment button to make the purchase for the bundle.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 20.04
  • Browser [e.g. chrome, safari] FireFox
  • Version [e.g. 22] 94.0.1

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

there is no use group for manage admin

hi first of all

thanks for this great script, its working like a charm !

manage vip side working very well I use for all vip and admins groups and there is "use group" section in manage vip side.

but there is no use group on manage admin. could u add there. cause I "use group" admin_groups.cfg for admins..

thank you.

Public IP not getting properly by Plugin

Describe the bug
When using new Plugin , the Server is automatically added but the IP address it takes is not of Public IP but taking Internal IP of the Network. This happens with all major Hosting like Amazon AWS, DigitalOcean and other providers.

To Reproduce
Steps to reproduce the behavior:

  1. Install New Plugin on Server and connect it to Database
  2. Open Panel and check the new server has been added to the list.
  3. Go to Modify Server Information and check the IP address displayed.

Expected behavior
Should return proper Public IP address otherwise RCON wont work.

Enhancement ideas for better version.

  • users can login via steam to buy VIP or check days left for renewal if they want.
  • integrate with sourcebans++ ( including admin groups, flags, server groups, etc...)
  • automatic vip/admin payment through pay gates like Paypal, skrill and more (including automatic monthly renew)
    • users can choose server groups to register for VIP/Admin subscribe
    • or users can choose single server to subscribe
  • vip/admin listing/manage for each server/subscribe package (oh wait you already got this!)
  • VIP/ admins add/expire log?
  • Users expire / days left alert?
  • log server kick/ban/gag/mute for admins
  • coupon codes / discount codes ?
  • Servers remote console for admins?

I'm using Donation control , maybe you can take a look and make your more powerful.
Here is mine VIP reg through Paypal page by Donation control

Support for VIP Core

I would like to know if you could, if you are thinking of putting support with VIP Core plugin?

Asked why I currently use it on my servers and modules, I would like to use MVP and keep VIP Core to leave privileges.

Would something like this be possible?

Force HTTPS protocol for whole panel

Is your feature request related to a problem? Please describe.
Well currently the panel indirectly runs on http protocol would recommend it to force to SSL HTTPS method.

Describe the solution you'd like
Integrate it HTTPS SSL support directly inside nodejs panel server

Can't connect to SQL server.

***[VMP] Database connection is null in , Making a new Connection Now
***[VMP] Making a Database Connection
***[VMP] SQL Connection created succesfully
***[VMP] Can't connect to SQL server. Error: Could not find driver "mysql"
L 06/27/2021 - 10:58:38: [vmpanel.smx] [VMP] Can't connect to SQL server. Error: Could not find driver "mysql"

Can't connect, what's the problem? I googled it and they said that pdo_mysql was not installed. Is this problem caused?

serverScript mysql error

getting following error while starting shell script for gameserver.

root@ubuntu:/mnt/actdm# ./vipLive.sh
1587945600
./vipLive.sh: 13: ./vipLive.sh: mysql: not found

Sending vip update notif

although i am getting notification on discord.

also while extending days in webpanel i am getting following error even after entering secret key.

ReferenceError: secretkey is not defined

VMPanel plugin unable to connect to database

I recently installed VMPanel, But the plugin on the server doesn't connect to my database. I can connect to database using MySql Worbench but the plugin wont.

The following gets printed in the console:-

***[VMP] Database connection is null in , Making a new Connection Now
***[VMP] Making a Database Connection
***[VMP] Error Whike Making a Database Connection, Plugin config missing from databases.cfg file

L 05/05/2021 - 07:51:36: [vmpanel.smx] [VMP] Startup failed. Error: "vmpanel" is not a specified entry in databases.cfg.

InkedEB64eeO0__LI

cPanel Hosting

Hello there,
Can this panel b installed over cPanel and in a sub-directory if yes can you tell me a bit about it

Features requests and Suggestions

Add a checkbox menu to add VIP on multiple server at once like adding admins using sourceban webpanel.
Right now we have to repeat the vip adding procedure if we want to add one vip to multiple server.

login timeout

how do I prevent login timeout everytime i close browser and reopen it requires admin login again.
can you update so it doesnt expire on browser close.

Facing an error with VM panel

After trying it many times i'm getting same error.
i.e-Server/table not found, Please add vmpanel plugin in your server then add here., Please try again.

please help with this As soon as possible
if possible contact me on my discord
S1ncer3ly#4546
regards
thanks

Payment Method Glitch

Describe the bug
A clear and concise description of what the bug is.

The Payment Method Is Being Shown Together of All The Servers.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
I expected the payment gateways to be allocated below the server as they're being presented to the customer.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 20.04
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] 92.06

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

I'm getting this error, can someone help me?

10ac74c4468cb5f8da55e81921e69556] [2022-09-05T04:53:56.643] [ERROR] {models/userModel.js:82} => error in createTheTableIfNotExists-> Error: connect ETIMEDOUT
at PromisePool.query (/home/zespama/CSGO-VMP/Panel_Server/node_modules/mysql2/promise.js:341:22)
at Object.query (/home/zespama/CSGO-VMP/Panel_Server/app/db/db_bridge.js:32:34)
at /home/zespama/CSGO-VMP/Panel_Server/app/models/userModel.js:48:33
at new Promise ()
at Object.createTheTableIfNotExists (/home/zespama/CSGO-VMP/Panel_Server/app/models/userModel.js:37:12)
at bootstrap (/home/zespama/CSGO-VMP/Panel_Server/app/db/bootstrap.js:33:21)
at Object. (/home/zespama/CSGO-VMP/Panel_Server/server.js:126:1)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32) {
code: 'ETIMEDOUT',
errno: undefined,
sql: undefined,
sqlState: undefined,
sqlMessage: undefined
}
[c38d0d3d81b597479430fb55c246d164] [2022-09-05T04:53:56.646] [ERROR] {Panel_Server/server.js:133} => Error while doing database bootstrapping Error: Error: connect ETIMEDOUT
at PromisePool.query (/home/zespama/CSGO-VMP/Panel_Server/node_modules/mysql2/promise.js:341:22)
at Object.query (/home/zespama/CSGO-VMP/Panel_Server/app/db/db_bridge.js:32:34)
at /home/zespama/CSGO-VMP/Panel_Server/app/models/userModel.js:48:33
at new Promise ()
at Object.createTheTableIfNotExists (/home/zespama/CSGO-VMP/Panel_Server/app/models/userModel.js:37:12)
at bootstrap (/home/zespama/CSGO-VMP/Panel_Server/app/db/bootstrap.js:33:21)
at Object. (/home/zespama/CSGO-VMP/Panel_Server/server.js:126:1)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32) {
code: 'ETIMEDOUT',
errno: undefined,
sql: undefined,
sqlState: undefined,
sqlMessage: undefined
}

About "URL of the steam profile"

When I look up the URL of the steam profile, it prompts me with an error, "TypeError: Cannot read property'children' of undefined" (appears when using the management VIP and the management Admin). How did this happen and how can I solve it? ?

is it possible to work on cs2 ?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Discord Error

getting following error when script tries to cron run sendDisordMesaage.

Cron running-->
error in sendMessageOnDiscord-> TypeError: Cannot read property 'toUpperCase' of undefined    at /home/vipsystem/panelServer/app/controllers/sendMessageOnDiscord.js:31:62
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Unhandled Rejection at: TypeError: Cannot read property 'toUpperCase' of undefined
    at /home/vipsystem/panelServer/app/controllers/sendMessageOnDiscord.js:31:62
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Also what is Admin List?

``node server.js`` error

Dear Coder,
I have followed you wili but at the step node server.js this happens.
image

I am using Centos 7 and Node.js v10.23.1

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.