GithubHelp home page GithubHelp logo

shobhit-pathak / cs2-rcon-panel Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 15.0 509 KB

A simple web panel to control CS2 servers using RCON

License: MIT License

JavaScript 53.47% CSS 0.68% EJS 45.28% Dockerfile 0.57%
counter-strike counter-strike-2 cs2 cs2-rcon cs2-server cs2rcon rcon

cs2-rcon-panel's People

Contributors

borzaka avatar rpkaul avatar shobhit-pathak avatar soren90 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

Watchers

 avatar  avatar  avatar  avatar  avatar

cs2-rcon-panel's Issues

Questions with round knife

After finishing the round, the winning team was able to choose the team that will play? Or it would just be a knife round and then the match starts normally, everyone on the same team?

Feature request: user management

Hello.

I really like this project, but I'm missing the feature of creating new users and giving them permission to different servers. Would that be something that's possible to implement?

Feature Request: Deathmatch

Love the idea of this web panel, was hoping you could look at implementing Deathmatch to the Gamemodes. Great work!

Error with Pterodactyl

Good evening,

I tried to install the script with Pterodactyl. Installation and login work without problems, but the created container can not connect to the game server:

All servers in DB: [
{
id: 1,
serverIP: '193.142.41.162',
serverPort: 26505,
rconPassword: 'hidden'
}
]
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Connection issue detected, reconnecting to the server: 1
starting disconnect 1
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Unable to establish connection to the server id: 1, cannot execute command: hostname
TypeError: Cannot read properties of undefined (reading 'trim')
at /home/container/routes/server.js:83:65
at processTicksAndRejections (node:internal/process/task_queues:95:5)

But the game server is online and the rcon_password works. Someone got an idea?

Server crashes when Rcon pw is wrong

Server Crashes when you type in a wrong rcon. Output got generated in loops and Pannel would be banned by console. Also the heartbeat Timer can be set to 10-15 secs. It doesnt need to be every second

panel keeps crashing in docker

Hi Shobhit,

While testing your panel docker container keeps crashing/exiting after creating a match.

Below are the docker compose logs.

/usr/src/app/node_modules/rcon-srcds/dist/rcon.js:127
cs2-rcon-panel-cs2rcon-1 | reject(Error('Unable to write to socket'));
cs2-rcon-panel-cs2rcon-1 | ^
cs2-rcon-panel-cs2rcon-1 |
cs2-rcon-panel-cs2rcon-1 | Error: Unable to write to socket
cs2-rcon-panel-cs2rcon-1 | at /usr/src/app/node_modules/rcon-srcds/dist/rcon.js:127:24
cs2-rcon-panel-cs2rcon-1 | at new Promise ()
cs2-rcon-panel-cs2rcon-1 | at RCON.execute (/usr/src/app/node_modules/rcon-srcds/dist/rcon.js:120:16)
cs2-rcon-panel-cs2rcon-1 | at Interface. (/usr/src/app/routes/game.js:246:35)
cs2-rcon-panel-cs2rcon-1 | at Interface.emit (node:events:517:28)
cs2-rcon-panel-cs2rcon-1 | at [_onLine] [as _onLine] (node:internal/readline/interface:423:12)
cs2-rcon-panel-cs2rcon-1 | at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:617:22)
cs2-rcon-panel-cs2rcon-1 | at ReadStream.ondata (node:internal/readline/interface:250:23)
cs2-rcon-panel-cs2rcon-1 | at ReadStream.emit (node:events:517:28)
cs2-rcon-panel-cs2rcon-1 | at addChunk (node:internal/streams/readable:335:12)

Feature request: Kick/Ban Players on server + map vote

Hey there,

First of all I would like to thank you for an amazing job u have done so far.
Everything works like a charm for me and we are using your panel with a big pleasure.

I would like to ask you if it's possible to add 2 options:

  1. Button named "Players" after clicking there will be a popup with list of all users currently connected to the server and next to their nicknames 2 buttons | KICK | BAN |
  2. Possibility of initiating some voting possibility on server side for next map where players can vote which map they prefer

Waiting for hearing from you.

Cheers! ;)

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.