There is no rcon.login in Rust Experimental, so throw that logic out the door. Rust Experimental uses your Steam community ID/steamid64 for server authentication, so no login is needed. The authentication system is setup as auth levels, which are owner (2), moderator (1), and player (0).
The first step is to setup your initial owner, which is generally yourself, so that you can access the commands in-game via the F1 console. The initial owner (and others if desired) can be set by using either the server console or an RCON tool such as Rusty. Keep in mind that after either of these steps, the target player will need to log out of the server and re-join for them to be recognized and set as admin.
Local server console
This method is the easiest and best if you host a server on your own machine! Simply use the below commands:
Note: Remember to use "server.writecfg" after entering any of the above commands!Code:ownerid <steamid> "player name" "reason" moderatorid <steamid> "player name" "reason"
Rusty RCON administration tool
This method requires a bit more work, but is useful if you are using a paid or remote server. To use this method, you'll need to have the Rusty RCON tool downloaded and extracted.
First, you'll need to add the rcon.port and rcon.password parameters to your server's command-line if they aren't already set. The rcon.port may vary based on your host, so I'd suggest contacting them if you don't already have this set in the command-line. Generally it is one number above your normal server port.
Now start Rusty, click on the Settings tab, and enter your server details and password.Code:@echo off RustDedicated.exe -batchmode +server.port 28015 +rcon.port 28016 +rcon.ip 0.0.0.0 +rcon.password "changeme"
Then click on the Rcon tab and then click on the "CONNECT" button.
Now you can type the previously show commands above into the console.
That should be it! You can verify if the owners/admin or moderators were set by looking in the users.cfg file under your config folder.
Admin and moderators in Rust
Discussion in 'Rust Discussion' started by Wulf, Jan 22, 2015.
-
Wulf Community Admin
-
Thank you for creating this!!! This I understand! I have rusty up and running. But for the code text am I typing this?
ownerid <76561197982342838> "BIGWORM" "reason" -
Wulf Community Admin
ownerid 76561197982342838 "BIGWORM"
You really don't even need quotations around the name, as it doesn't have any spaces or symbols, but it doesn't hurt to have them. Make sure to use server.writecfg after, which should give you confirmation as well. -
When I paste this into rusty, it doesnt say anything at all. Shouldnt it say something about level 2? Or does it only say that after you save the cfg?
ownerid 76561197982342838 "BIGWORM"
EDIT: I see you now including all of this. to the code box...
"First, you'll need to add the rcon.port and rcon.password command-line arguments to your startup script."
What is that all about?Last edited by a moderator: Jan 22, 2015 -
Wulf Community Admin
-
What is this script you talk of? Wulf, are you messing with me? Come on dude, its not funny man. I really am trying to understand this. -
Wulf Community Admin
-
With XXXX being my RCON PW which is in there, but I removed to paste as an example.
So what do I need to do to mine please? -
Wulf Community Admin
-
Thank you Wulf. I am and thats not working. This is what happenes in RUSTY.
I paste this into RUSTYs RCON ownerid 76561197982342838 "BIGWORM"
And rusty doesnt say anything back to me.
I pasted it three times.
> ownerid 76561197982342838 "BIGWORM"
> ownerid 76561197982342838 "BIGWORM"
> ownerid 76561197982342838 "BIGWORM"
But If I type this. I do get a response.
> server.writecfg
Config Saved
So where is the confirmation for admin though? -
If you haven't setup your Rusty profile to connect through rcon do that first, it will look similar to this.
Once you have this setup correctly you press the connect button and you'll see rusty connecting to your server.
Once you're on this screen you just use the ownerid command ownerid 76561198112743227 "Mughisi" in my case and press enter twice.
And that should be it, if it wouldn't remember you doing this after a server restart you'll need to follow these steps again and use "server.writecfg" after it.Last edited by a moderator: Jan 22, 2015 -
Wulf Community Admin
-
Thats exactly what Im doing! But I thought I read it should confirm that I was made into admin, with some kind of level 2 note or something like that?
[DOUBLEPOST=1421946789][/DOUBLEPOST]
Ok, I will check. Thank you very much for all of your help. Lets hope it works! thankyou! -
Wulf Community Admin
-
Press enter twice, it should say that it's an invalid command because Facepunch didn't handle the command's reply, but once you get the invalid command message after pressing enter twice you should be set as owner.
-
Wulf Community Admin
-
But anyway it's stupid that it doesn't send a reply message, that would just be one extra line =( -
Wulf Community Admin
-
-
Wulf Community Admin