Added readme
This commit is contained in:
		
							parent
							
								
									78d9792a03
								
							
						
					
					
						commit
						1eacbd93b4
					
				
							
								
								
									
										2
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.js
									
									
									
									
									
								
							@ -7,7 +7,7 @@ const bodyParser = require('body-parser');
 | 
				
			|||||||
app.use(bodyParser.json());
 | 
					app.use(bodyParser.json());
 | 
				
			||||||
app.use(bodyParser.urlencoded({ extended: true }));
 | 
					app.use(bodyParser.urlencoded({ extended: true }));
 | 
				
			||||||
app.use(session({
 | 
					app.use(session({
 | 
				
			||||||
    secret: 'keyboard cat',
 | 
					    secret: 'cs2rconpanel',
 | 
				
			||||||
    resave: false,
 | 
					    resave: false,
 | 
				
			||||||
    saveUninitialized: true,
 | 
					    saveUninitialized: true,
 | 
				
			||||||
}));
 | 
					}));
 | 
				
			||||||
 | 
				
			|||||||
@ -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!!
 | 
					 | 
				
			||||||
							
								
								
									
										33
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							@ -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
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user