Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust with web rcon enabled #12

Closed
gdepre opened this issue Oct 18, 2020 · 5 comments
Closed

Rust with web rcon enabled #12

gdepre opened this issue Oct 18, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@gdepre
Copy link

gdepre commented Oct 18, 2020

using command ./rcon -t web -a x.x.x.x:28017 -p password the result is 'not implemented'

Command is sent from the server hosting the rust dedicated server

@outdead
Copy link
Member

outdead commented Oct 18, 2020

Set the command with -c flag. It runs command in single mode. Execute without commands in interactive mode is not implemented yet.

./rcon -t web -a x.x.x.x:28017 -p password -c players

@gdepre
Copy link
Author

gdepre commented Oct 18, 2020

working with -c flag.
how to implement commands like inventory.giveid "SteamID" "short name" "amount" containing double quotes ?

@outdead
Copy link
Member

outdead commented Oct 18, 2020

Try to escape qutes with backslash

./rcon -t web -a x.x.x.x:28017 -p password -c "inventory.giveid \"SteamID\" \"short name\" \"amount\""

Single quote enclosing should also work

./rcon -t web -a x.x.x.x:28017 -p password -c 'inventory.giveid "SteamID" "short name" "amount""

As far as I can see, not all commands in Rust give a response. inventory.giveid same as say command is one of them.

I checked qutes with command ban and it works

./rcon -e rustlocal -c 'ban "nonexistent player" "command testing"'
Player not found

outdead added a commit that referenced this issue Oct 18, 2020
@outdead outdead self-assigned this Oct 18, 2020
@outdead outdead added the enhancement New feature or request label Oct 18, 2020
@outdead
Copy link
Member

outdead commented Oct 18, 2020

Interactive mode vaw added in v0.8.0-beta.2

Now you can use ./rcon -t web -a x.x.x.x:28017 -p password without command and type them in terminal window. Please check it.

@gdepre
Copy link
Author

gdepre commented Oct 18, 2020

working with 0.8.0 beta 2

@gdepre gdepre closed this as completed Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants