Raised This Month: $51 Target: $400
 12% 

[CSGO] Server - manage from linux terminal


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Caishen
New Member
Join Date: Oct 2020
Old 10-26-2020 , 10:40   [CSGO] Server - manage from linux terminal
Reply With Quote #1

Hello
I've made local csgo server on Linux machine. How can I issue rcon commands from linux server?
Is exist something like admin console?

Sincerely,
Caishen
Caishen is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-26-2020 , 14:01   Re: [CSGO] Server - manage from linux terminal
Reply With Quote #2

How are you managing the console window (tmux/screen)?
You can use rcon or issue the commands directly in the console.
Maxximou5 is offline
Caishen
New Member
Join Date: Oct 2020
Old 10-26-2020 , 18:21   Re: [CSGO] Server - manage from linux terminal
Reply With Quote #3

I realised what I do wrong.

I use cm2network/csgo docker image.
There is a script which start server. When I try enter to docker image I do it by docker exec -it name /bin/bash so I don't have access to console.

Is any way to summon server console?
Is a way to connect to server and issue rcon commands without use csgo client?

Here is a sh script:
Code:
bash "${STEAMAPPDIR}/srcds_run" -game "${STEAMAPP}" -console -autoupdate \
			-steam_dir "${STEAMCMDDIR}" \
			-steamcmd_script "${HOMEDIR}/${STEAMAPP}_update.txt" \
			-usercon \
			+fps_max "${SRCDS_FPSMAX}" \
			-tickrate "${SRCDS_TICKRATE}" \
			-port "${SRCDS_PORT}" \
			+tv_port "${SRCDS_TV_PORT}" \
			+clientport "${SRCDS_CLIENT_PORT}" \
			-maxplayers_override "${SRCDS_MAXPLAYERS}" \
			+game_type "${SRCDS_GAMETYPE}" \
			+game_mode "${SRCDS_GAMEMODE}" \
			+mapgroup "${SRCDS_MAPGROUP}" \
			+map "${SRCDS_STARTMAP}" \
			+sv_setsteamaccount "${SRCDS_TOKEN}" \
			+rcon_password "${SRCDS_RCONPW}" \
			+sv_password "${SRCDS_PW}" \
			+sv_region "${SRCDS_REGION}" \
			+net_public_adr "${SRCDS_NET_PUBLIC_ADDRESS}" \
			-ip "${SRCDS_IP}" \
			+host_workshop_collection "${SRCDS_HOST_WORKSHOP_COLLECTION}" \
			+workshop_start_map "${SRCDS_WORKSHOP_START_MAP}" \
			-authkey "${SRCDS_WORKSHOP_AUTHKEY}" \
			"${ADDITIONAL_ARGS}"
Caishen is offline
p0rk
New Member
Join Date: Mar 2023
Location: Bucharest
Old 04-07-2023 , 20:50   Re: [CSGO] Server - manage from linux terminal
Reply With Quote #4

Did you find a solution to this? I have the same issue, can't access steamcmd console after I start cm2network server.
p0rk is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode