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

v1.4 chat interface #48

Open
Joe-Klauza opened this issue Aug 31, 2019 · 3 comments
Open

v1.4 chat interface #48

Joe-Klauza opened this issue Aug 31, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Joe-Klauza
Copy link
Owner

Since v1.4 is adding logging for in-game chat, we can use that to add a couple of features:

  • Chat interface in the server control page
    • Show live chat, much like the RCON-only logs
    • User input can be sent to the in-game chat (via RCON say), possibly prefixed with the SAW username to differentiate multiple ADMINs
  • Admin commands via chat
    • Since the chat logs have a user's Steam ID attached, we could easily compare this against the server's Admins.txt to allow them to issue commands.
    • Limited RCON commands (access to a subset of RCON commands; likely a good idea since we probably don't want to "exit" if chat is working...)
@Joe-Klauza Joe-Klauza added the enhancement New feature or request label Aug 31, 2019
@Joe-Klauza Joe-Klauza self-assigned this Aug 31, 2019
@kriansa
Copy link

kriansa commented Sep 1, 2019

For admin commands specifically:

  • Can we hide the commands from the other connected players?

@Joe-Klauza
Copy link
Owner Author

Can we hide the commands from the other connected players?

@kriansa I don't think so. Since all we receive is what is logged via in-game chat, by the time it ends up in the logs the other players can already see it. This would have to be implemented by NWI somehow.

Any admins with access to sandstorm-admin-wrapper would be able to use the RCON input on the server control page for this (though I realize the convenience of the in-game interface is lost).

@Joe-Klauza
Copy link
Owner Author

Improved by v0.10.0-beta (adds chat to server control).

No admin commands are available via chat yet.

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