From 1eacbd93b4afe8ccc104d65414cf21b19f2a3ccc Mon Sep 17 00:00:00 2001 From: Shobhit Pathak Date: Thu, 28 Sep 2023 11:19:46 +0530 Subject: [PATCH] Added readme --- app.js | 2 +- cfg/live_kancha.cfg | 70 --------------------------------------------- readme.md | 33 +++++++++++++++++++++ 3 files changed, 34 insertions(+), 71 deletions(-) delete mode 100644 cfg/live_kancha.cfg create mode 100644 readme.md diff --git a/app.js b/app.js index e2fd9cb..209b26e 100644 --- a/app.js +++ b/app.js @@ -7,7 +7,7 @@ const bodyParser = require('body-parser'); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: true })); app.use(session({ - secret: 'keyboard cat', + secret: 'cs2rconpanel', resave: false, saveUninitialized: true, })); diff --git a/cfg/live_kancha.cfg b/cfg/live_kancha.cfg deleted file mode 100644 index d49ce19..0000000 --- a/cfg/live_kancha.cfg +++ /dev/null @@ -1,70 +0,0 @@ -ammo_grenade_limit_default 1 -ammo_grenade_limit_flashbang 2 -ammo_grenade_limit_total 4 -bot_kick -bot_quota 0 -mp_afterroundmoney 0 -mp_autokick 0 -mp_autoteambalance 0 -mp_backup_restore_load_autopause 0 -mp_backup_round_auto 1 -mp_buytime 20 -mp_c4timer 40 -mp_ct_default_secondary "weapon_hkp2000" -mp_death_drop_gun 1 -mp_endmatch_votenextmap 0 -mp_free_armor 0 -mp_freezetime 17 -mp_give_player_c4 1 -mp_halftime_duration 15 -mp_halftime_pausetimer 0 -mp_ignore_round_win_conditions 0 -mp_limitteams 0 -mp_match_end_restart 1 -mp_maxmoney 16000 -mp_maxrounds 24 -mp_overtime_enable 1 -mp_overtime_halftime_pausetimer 0 -mp_overtime_maxrounds 6 -mp_overtime_startmoney 10000 -mp_respawn_immunitytime 0 -mp_respawn_on_death_ct 0 -mp_respawn_on_death_t 0 -mp_round_restart_delay 5 -mp_roundtime 1.92 -mp_roundtime_defuse 1.92 -mp_roundtime_hostage 1.92 -mp_solid_teammates 1 -mp_starting_losses 1 -mp_startmoney 800 -mp_t_default_secondary "weapon_glock" -mp_timelimit 0 -spec_freeze_deathanim_time 0 -spec_freeze_panel_extended_time 0 -spec_freeze_time 2 -spec_freeze_time_lock 2 -mp_weapons_allow_typecount 5 -cash_team_bonus_shorthanded 0 -cash_team_loser_bonus_shorthanded 0 -sv_allow_votes 0 -sv_auto_full_alltalk_during_warmup_half_end 0 -sv_coaching_enabled 1 -sv_competitive_official_5v5 1 -sv_damage_print_enable 0 -sv_deadtalk 1 -sv_hibernate_postgame_delay 300 -sv_holiday_mode 0 -sv_talk_enemy_dead 0 -sv_talk_enemy_living 0 -sv_voiceenable 1 -tv_relayvoice 1 -mp_friendlyfire 1 -sv_coach_comm_unrestricted 1 - -say Match is live!! -say Match is live!! -say Match is live!! -say Match is live!! -say Match is live!! -say Match is live!! -say Match is live!! \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..3f022ac --- /dev/null +++ b/readme.md @@ -0,0 +1,33 @@ +# CS2 RCON Web Panel + +A simple web panel to control CS2 servers via RCON + +## Usage +- Install NodeJS 18.0 or higher +- Run `npm install` in the root project folder +- Run `nodemon app.js` in the root project folder +- Default login credentials can be changed from db.js + +## Abilities + +- Setup Competitive/Wingman gamemodes +- Pause/Unpause/Restart match +- List and restore round backups +- Start Knife/Warmup/Live rounds (CFGs are in cfg folder, sent via RCON) +- Send RCON Commands to the server + +## Todo + +- Add teams and players +- Add password option while setting up the server +- Improve UX/UI +- Improve/clean code +- Create executable + +## Limitations + +- Cannot get logs, feeds (log_address is not present in CS2 as of now) + +## License + +MIT \ No newline at end of file