fjamieson Posted May 17, 2018 Share Posted May 17, 2018 Anyone been able to send RCON broadcast messages to an ARK server? Read an old thread that this did not work... hope it may have been fixed and I am just overlooking something. RCON messages from a third party sender work, but not from within TCAdmin using a 'Scheduled Task' Link to comment Share on other sites More sharing options...
KGM6911 Posted May 18, 2018 Share Posted May 18, 2018 (edited) Yes, it can be done. You'll need to put a copy of SourceRcon.exe (found in your tcadmin/Monitor/Tools folder) into your tcagame folder. Here's an example of one I use for Ark broadcasts on Linux. You can do it for Windows by removing the mono portion. I have the script prompt for variable to get the message they want to send. MONO_PATH="" mono /home/tcagame/SourceRcon.exe ${ThisService_IpAddress} ${ThisService_RConPort} ${ThisService_RConPassword} "broadcast ${ThisService_BroadcastMessage}" &> /dev/null You can use it for any RCON command that you want. Like I have one that issues destroywilddinos and other similar commands. If the command does not require input then just do "command" Edited May 18, 2018 by KGM6911 Link to comment Share on other sites More sharing options...
Dennis Posted May 18, 2018 Share Posted May 18, 2018 It can be done using TCAdmin as well. Go to Current Activity and Stats, click RCon Client and send the command from there. Same thing can be configured as a scheduled task. Link to comment Share on other sites More sharing options...
fjamieson Posted May 18, 2018 Author Share Posted May 18, 2018 (edited) It can be done using TCAdmin as well. Go to Current Activity and Stats, click RCon Client and send the command from there. Same thing can be configured as a scheduled task. Hi Dennis, Initially tried it.. would not work.. Worked on KGM6911 for over an hour.. .. then ... figured.. let me give your method a try again.... it started to work.... weird!! But Still cannot get it to schedule a message :-( Thanks for your input and help!! Edited May 18, 2018 by fjamieson Link to comment Share on other sites More sharing options...
fjamieson Posted May 18, 2018 Author Share Posted May 18, 2018 (edited) Yes, it can be done. You'll need to put a copy of SourceRcon.exe (found in your tcadmin/Monitor/Tools folder) into your tcagame folder. Here's an example of one I use for Ark broadcasts on Linux. You can do it for Windows by removing the mono portion. I have the script prompt for variable to get the message they want to send. MONO_PATH="" mono /home/tcagame/SourceRcon.exe ${ThisService_IpAddress} ${ThisService_RConPort} ${ThisService_RConPassword} "broadcast ${ThisService_BroadcastMessage}" &> /dev/null You can use it for any RCON command that you want. Like I have one that issues destroywilddinos and other similar commands. If the command does not require input then just do "command" Thanks for the info.. Got it to work with a static message.. but cannot get it to give me a prompt :-( Thanks Defined the variable (ThisServiceBroadcastMessage) as a Script Parameter. Did the whole script config setup.. but it just gives me a "OK" "Cancel" block and no option to input the message.. Any suggestions would be greatly appreciated. Edited May 18, 2018 by fjamieson Link to comment Share on other sites More sharing options...
KGM6911 Posted May 18, 2018 Share Posted May 18, 2018 (edited) The variable I used was BroadcastMessage. The ThisService_ part is used to reference it from a script. Here is a Windows example. I didn't realize that this post was in the Windows section. @echo off C:\TCAFiles\Users\SourceRcon.exe %ThisService_IpAddress% %ThisService_RConPort% %ThisService_RConPassword% "broadcast %ThisService_BroadcastMessage%" >NUL And you do need to have the BroadcastMessage variable able to be used as a script parameter like you mentioned. And of course check the box to allow the script to be scheduled. I have the execute as the services user checked too. Edited May 18, 2018 by KGM6911 Link to comment Share on other sites More sharing options...
fjamieson Posted May 24, 2018 Author Share Posted May 24, 2018 The variable I used was BroadcastMessage. The ThisService_ part is used to reference it from a script. Here is a Windows example. I didn't realize that this post was in the Windows section. @echo off C:\TCAFiles\Users\SourceRcon.exe %ThisService_IpAddress% %ThisService_RConPort% %ThisService_RConPassword% "broadcast %ThisService_BroadcastMessage%" >NUL And you do need to have the BroadcastMessage variable able to be used as a script parameter like you mentioned. And of course check the box to allow the script to be scheduled. I have the execute as the services user checked too. Thanks for the update and help. Link to comment Share on other sites More sharing options...
sirshaw Posted December 11, 2018 Share Posted December 11, 2018 i use mcrcon. sounds crazy, but it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now