Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# LuaRCON - Runtime Docs

## Class LuaRCON

An interface to send messages to the calling RCON interface through the global object named `rcon`.

## Members

print(message) |  | Print text to the calling RCON interface if any.
Print text to the calling RCON interface if any.
object_name | :: R string | The class name of this object. [...]
The class name of this object. [...]

## Methods

### print(message)

Print text to the calling RCON interface if any.

#### Parameters

message | :: LocalisedString |

## Attributes

### object_name :: Read string

The class name of this object. Available even when `valid` is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.