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
  LAN server console commands dbl 1 8,060 06-13-2019, 04:55 AM
Last Post: martin-t
  Running a config script when the server becomes empty? Notavi 3 3,038 08-18-2018, 12:10 AM
Last Post: BuddyFriendGuy
  I need bot commands for lobsiding teams DazeyDream 1 3,699 05-09-2018, 06:32 PM
Last Post: Zilor
  Help for custom voteble commands KyMAN 4 4,858 05-01-2018, 11:37 AM
Last Post: morosophos
  I made a PHP script to auto manage download locations for multiple servers evilkittie 0 2,881 07-08-2017, 02:12 PM
Last Post: evilkittie
Thumbs Up rcon and bots billyjoe 3 4,076 04-13-2017, 12:08 PM
Last Post: billyjoe
  using rcon with ${....} TheGoodGamer 6 6,133 05-24-2015, 02:51 AM
Last Post: TheGoodGamer
  Another RCON IRC bot Melanosuchus 5 7,979 04-27-2014, 02:10 PM
Last Post: Melanosuchus
  Start/stop/restart git version with Webmin shell scripts? end user 13 18,401 10-16-2013, 11:27 PM
Last Post: end user
  rcon command resets bots, gamtype etc. darkzun 12 12,808 10-03-2013, 02:01 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-