1. Post #1
    garry's Avatar
    September 2001
    12,541 Posts
    I've added RCON to dev. It's probably more useful for GSP's that want to integrate rust stuff with their control panel. You can connect to it on the query port (gameport + 1 by default).

    It uses exactly the same protocol as the Source Engine's RCON - so you should be able to use existing tools that are aimed at that. Let me know if you experience any problems with it.

    I also added a few commonly requested commands. They work exactly the same as their Source Engine counterparts:

    status now shows a player list (server admins only):



    ban can now optionally take a second parameter, reason. It stores the reasons in the ban config.

    banlist shows a list of bans in the traditional source ds format

    banlistex shows a list of bans including reasons, usernames

    removeid unbans a steamid

    say writes a message in everyone's chat
    Reply With Quote Edit / Delete Reply Show Events Winner Winner x 14Informative Informative x 2Useful Useful x 1Friendly Friendly x 1 (list)

  2. Post #2

    January 2014
    17 Posts
    whats about nitrado server hosting????
    Reply With Quote Edit / Delete Reply Windows 7 Austria Show Events Dumb Dumb x 3 (list)

  3. Post #3

    January 2014
    71 Posts
    whats about nitrado server hosting????
    That's up to them to implement something. Garry has just added the ability to use rcon commands from outside the game.

    Awesome news, Garry.

  4. Post #4
    TekSyndicate's Avatar
    December 2013
    96 Posts
    Thank based garry for the player list.

  5. Post #5
    Gold Member
    Sievers808's Avatar
    December 2013
    2,322 Posts
    YEAAA!
    Now I can admin while I'm at work and should be admin'ing other things!
    Yay! :D
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Funny Funny x 2 (list)

  6. Post #6
    attckdog's Avatar
    December 2013
    210 Posts
    YEAAA!
    Now I can admin while I'm at work and should be admin'ing other things!
    Yay! :D
    +1 same story exactly!

    Any Suggested Rcon Program?

  7. Post #7

    December 2013
    151 Posts
    how does this work? What tools do I need to download to make it work? Steam?

  8. Post #8
    attckdog's Avatar
    December 2013
    210 Posts
    So way back when I ran other Source game servers I used HLSW. So I figured it might work with rust.
    So far it was able to connect and get the basic server infomation, Name, map, players/Max players, ect.

    However I'm unable to get the console read out, chat, Player names.
    Not sure if this is just not supported just yet or is due to me using HLSW lol

  9. Post #9

    January 2014
    25 Posts
    Please, somebody can explain better what we have to do ?

  10. Post #10

    November 2013
    57 Posts
    Great work Garry, much appreciated.

  11. Post #11
    BadSpirit's Avatar
    January 2014
    11 Posts
    Any Suggested Rcon Program?

  12. Post #12

    July 2013
    92 Posts
    This is great, one of the things i've been looking most forward to!

  13. Post #13
    attckdog's Avatar
    December 2013
    210 Posts
    Any updates for this?

    Anyone know how to issue a save.all remotely, outside.
    I would like to automate the backing up of the server.

  14. Post #14

    December 2013
    26 Posts
    Nice, using hlswmobile setting it under half-life I can see the server just can't pull the player list, shows up as hidden, and can't send rcon but a nice step forward. I am not sure if the extra stuff is for an update coming out or already out. Just increased my port number by 1 and it seems to have worked.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 1 (list)

  15. Post #15

    December 2013
    118 Posts
    With tonight's update, is there anyway to see the actual player names in HLSW (or any alternative for that matter)?

  16. Post #16

    December 2013
    26 Posts
    I will find out once FPSPlayers figures out how we can wipe our servers or even change/view any logs when Oxide told them to lock down everything except the save files and player data. Effectively every FPSPlayer server has to wipe out their ban log on every update because this company gave in to a mod group that has effectively done the same thing the French guys did earlier, lock people out of their servers for doing anything outside of restarting and stopping the server.

  17. Post #17
    garry's Avatar
    September 2001
    12,541 Posts
    With tonight's update, is there anyway to see the actual player names in HLSW (or any alternative for that matter)?
    HLSW needs to update to support Rust.

  18. Post #18
    miR

    November 2013
    28 Posts
    Anyone find a program that's working with this? As stated HLSW is basically good to show player count so far and that's about it.

  19. Post #19

    January 2014
    10 Posts
    in HLSW i can see the server runs and how many player are online

    but i canīt see the player name. Every Player name call "hidden".

  20. Post #20
    garry's Avatar
    September 2001
    12,541 Posts
    HLSW isn't using RCON, it's just getting the query

  21. Post #21

    January 2014
    2 Posts
    @Garry: Did you make any changes to the Player Connect and Disconnect messages? as i am not getting them any more from my server.

  22. Post #22
    garry's Avatar
    September 2001
    12,541 Posts
    nope

  23. Post #23
    cboxdk's Avatar
    December 2013
    17 Posts
    When i use rcon through query and ask for players, the player names are displayed as hidden.
    Is there something speciel to rust i need to take into account?

    Code:
        [0] => Array
            (
                [Id] => 0
                [Name] => hidden
                [Frags] => 0
                [Time] => 14468
                [TimeF] => 04:01:08
            )
    
        [1] => Array
            (
                [Id] => 0
                [Name] => hidden
                [Frags] => 0
                [Time] => 12934
                [TimeF] => 03:35:34
            )

  24. Post #24
    attckdog's Avatar
    December 2013
    210 Posts
    HLSW isn't using RCON, it's just getting the query
    Ahh, thank you that explains it.

  25. Post #25
    garry's Avatar
    September 2001
    12,541 Posts
    When i use rcon through query and ask for players, the player names are displayed as hidden.
    Is there something speciel to rust i need to take into account?

    Code:
        [0] => Array
            (
                [Id] => 0
                [Name] => hidden
                [Frags] => 0
                [Time] => 14468
                [TimeF] => 04:01:08
            )
    
        [1] => Array
            (
                [Id] => 0
                [Name] => hidden
                [Frags] => 0
                [Time] => 12934
                [TimeF] => 03:35:34
            )
    That isn't RCon :0
    Reply With Quote Edit / Delete Reply Show Events Zing Zing x 1 (list)

  26. Post #26
    fdgods's Avatar
    December 2013
    133 Posts
    You should add noclip for admins.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 3 (list)

  27. Post #27
    cboxdk's Avatar
    December 2013
    17 Posts
    That isn't RCon :0
    Well.. When i run a server query then. ;)
    Anyway. Can you tell me the solution?

  28. Post #28

    January 2014
    30 Posts
    You should add noclip for admins.
    Are you for real ? Most admin would abuse the shit out of that . Noclip for admin has to be the worse idea i've ever heard .

  29. Post #29
    TekSyndicate's Avatar
    December 2013
    96 Posts
    You should add noclip for admins.
    I would add in a ghost mode.
    You can not interact with anything (as in you have no inventory, can not take/drop items) and can open all doors to make sure people are not duping. But I can still see such a way to abuse it. But that is the way things work. If an admin abuses with that stuff then they leave. That is that.

  30. Post #30

    December 2013
    76 Posts
    Are you for real ? Most admin would abuse the shit out of that . Noclip for admin has to be the worse idea i've ever heard .
    Nope thats the admins choice if he want to abuse let him abuse his server wil run dry.

    But as an server admin i would love to have this since i dont want to destroy the doors to fix something when the player isnt around. Its doesnt have to be noclip but an admin should have acces to doors.

    Same as een admin can remove pillar ceilings and foundation with 1 uber hatchet hit.

    We need that to

  31. Post #31
    Codiction's Avatar
    December 2013
    7 Posts
    I can't get any existing tool nor my own java application to successfully connect to the Rust RCON port. What is this, why is there little to no documentation for this? Rust nor Unity is NEVER mentioned in any of the supported games of any existing tool.

    Is there anyone who has an example in java on how to simply perform the command "global.say bla" via the rcon port?

  32. Post #32

  33. Post #33

    December 2011
    8 Posts
    I'm having issues working with the remote RCON service in Rust. It seems like the server is not following the Source spec properly.

    For example, I'll receive responses with id that doesn't match the id of the request sent. Also, I'll sometimes receive 2 or 3 copies of the same response.

    Another issue (which is tolerable), is that I'm receiving responses with the type: 4, which isn't even a valid type according to the spec (https://developer.valvesoftware.com/...ol#Packet_Type).

    Lastly-and this is a huge issue-the response size value is incorrect for large responses (eg., `find *`), which seems to be capped at 4010. So there's no way to know the full size of the response, and it thus cannot be parsed properly.

    Any help with this would be greatly appreciated!
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  34. Post #34

    March 2014
    1 Posts
    Hello,

    I tried to connect to the rcon of my server using python libraries as described in the link you provided however i am encountering a problem.

    I saw other people complaining about problems using rust rcon server, for example when I try running the status command Im getting a response type of 4, which is not one of the standard response type.
    I also get problems with packet size.

    Could someone provide me a basic working code using any languages ?

  35. Post #35
    Reply With Quote Edit / Delete Reply Windows 7 Switzerland Show Events Agree Agree x 1 (list)

  36. Post #36

    February 2014
    134 Posts
    Another issue (which is tolerable), is that I'm receiving responses with the type: 4, which isn't even a valid type according to the spec (https://developer.valvesoftware.com/...ol#Packet_Type).
    Have you figured this out yet? I've been Googling for about an hour now and still couldn't find why I'm getting a type 4, and what it means..