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 599 06-13-2019, 04:55 AM
Last Post: martin-t
  Running a config script when the server becomes empty? Notavi 3 846 08-18-2018, 12:10 AM
Last Post: BuddyFriendGuy
  I need bot commands for lobsiding teams DazeyDream 1 1,237 05-09-2018, 06:32 PM
Last Post: Zilor
  Help for custom voteble commands KyMAN 6 1,697 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,411 07-08-2017, 02:12 PM
Last Post: evilkittie
Thumbs Up rcon and bots billyjoe 3 1,226 04-13-2017, 12:08 PM
Last Post: billyjoe
  using rcon with ${....} TheGoodGamer 6 3,311 05-24-2015, 02:51 AM
Last Post: TheGoodGamer
  Another RCON IRC bot Melanosuchus 5 4,787 04-27-2014, 02:10 PM
Last Post: Melanosuchus
  Start/stop/restart git version with Webmin shell scripts? end user 13 11,055 10-16-2013, 11:27 PM
Last Post: end user
  rcon command resets bots, gamtype etc. darkzun 12 6,882 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-