Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shell script to execute rcon commands

#1
Brick 
I wrote a simple Bash script which executes commands over rcon.
It uses some Bash-specific features so I doubt it'll work on other shells.

Maybe it's useful, maybe it isn't, anyway here it is:
https://gist.github.com/mbasaglia/62d7fef83304f4b3ca90

example usage:
Code:
./rcon.sh -host=localhost:26000 -pw=password -secure=2 -c status 1
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Running a config script when the server becomes empty? Notavi 3 592 08-18-2018, 12:10 AM
Last Post: BuddyFriendGuy
  I need bot commands for lobsiding teams DazeyDream 1 956 05-09-2018, 06:32 PM
Last Post: Zilor
  Help for custom voteble commands KyMAN 6 1,219 05-01-2018, 11:37 AM
Last Post: morosophos
  I made a PHP script to auto manage download locations for multiple servers evilkittie 0 1,241 07-08-2017, 02:12 PM
Last Post: evilkittie
Thumbs Up rcon and bots billyjoe 3 1,043 04-13-2017, 12:08 PM
Last Post: billyjoe
  using rcon with ${....} TheGoodGamer 6 3,064 05-24-2015, 02:51 AM
Last Post: TheGoodGamer
  Another RCON IRC bot Melanosuchus 5 4,519 04-27-2014, 02:10 PM
Last Post: Melanosuchus
  Start/stop/restart git version with Webmin shell scripts? end user 13 10,582 10-16-2013, 11:27 PM
Last Post: end user
  rcon command resets bots, gamtype etc. darkzun 12 6,517 10-03-2013, 02:01 PM
Last Post: Mr. Bougo
  [WIP] Xon_Rcon - In-Game Rcon Tool sqamsqam 12 8,562 06-20-2013, 12:20 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-