KRPC#
Provides functionality to interact with the server: its status and services, the connected clients, the game scene and pause state, and holding the game on a physics tick. The expressions build server side functions.
Example#
The following example prints the version of the server:
local krpc = require 'krpc'
local conn = krpc.connect('KRPC Example')
print(conn.krpc.get_status().version)