Adds in-game chat to Astroneer so you can talk with other people in your game session.

Installation

AstroChat must be installed on the game host's PC in order to function. It should also be installed by every player that wants to see and participate in chat. To use the mod on a dedicated server, it must also be installed on the server.

A mod loader/integrator such as AstroModLoader is required to install the mod.

Usage

Simply press enter to activate the chat window, type your message, press enter again to send it.

Press up arrow key to recall previous messages. Ctrl+Click on a message to copy it.

You can also press F7 to switch to compact mode (small chat window) or F8 to hide the window. While hidden, a small notification will appear in the bottom left of the screen if there are new messages to read. Click the notification or press F8 to open the chat window and read them.

If you start a message with a '/' character, it will be interpreted as a console command rather than a chat message. You can, in theory, run any valid console command this way. Knowing what commands are available is outside the scope of this mod. A simple one to try is "/stat fps" which toggles the display of an FPS counter on the right side of the screen.

More

Interested in learning more about modding Astroneer? Join the Astroneer Modding Discord server.

Post article RSS Articles

Setting up Optional AstroChat Webhook

Other Tutorial

NOTE: This setup is not required for using the mod.

This article describes how to setup AstroChat to send all chat log events to a remote web server for custom handling. It assumes you have access to a website where you can process GET requests sent to a specific URL. It also assumes you know how to do something useful with the data that is received at that URL.

In order to get AstroChat to send chat log events somewhere, you need to tell it how and where to send them. This can be done by adding some information to Astroneer's engine.ini configuration file. In a standard multiplayer session, only the host player needs to configure these settings. Remote client players will ignore these settings because only the server side of AstroChat attempts to send data to a webhook.

The typical location of engine.ini for the Steam version of Astroneer is

%localappdata%\Astro\Saved\Config\WindowsNoEditor

If you are running a dedicated server, you can find the server's engine.ini within the server's directory at

Astro\Saved\Config\WindowsServer

Make sure the game or dedicated server is shut down before editing the file. Open the file in any plaintext editor and add the following section:

[/Game/ChatMod/ChatManager.ChatManager_C]
WebhookUrl="http://my.server.address/myscript.php"
WebhookParams=mycustomparam1=optional&mycustomparam2=optional

Those property values are examples only. You will need to update them to use the URL of your chat handling script and any custom params you want to pass to the script. You can leave the params blank if you don't need them. They are primarily there to support more specialized use cases.

Once you have the properties set, save the file. Then run the game/server. Load into a save or server and send some chat messages. You should receive data at your webhook url. The data will be in the form of GET parameters. In addition to any custom params you may have set in the config, you will also receive the following params.

evt

The "evt" param indicates the type of event that is being logged. It will be one of the following:

  • join - a player has joined the game
  • leave - a player has left the game
  • chat - a player has sent a chat message
  • cmd - a player has entered a console command (by starting a message with '/')

name

The "name'" param contains the name of the player that is the source of the event.

msg

The "msg" param contains the text associated with the event.

  • join/leave - The msg param is empty
  • chat - The msg param contains the chat message
  • cmd - The msg param contains the full text of the command, not including the starting '/' character.
RSS Files
AstroChat-2.1.1

AstroChat-2.1.1

Full Version

AstroChat mod version 2.1.1 (first public release).

Post comment Comments
Guest
Guest - - 690,346 comments

mod isnt working in last version :(

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,346 comments

Is the mod supported on current versions? I can't get it to work in the game :(

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,346 comments

what are the commands in this mood? id like to know

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

X
Tags