Files
bitburner-src/markdown/bitburner.hostreturnoptions.md

860 B

Home > bitburner > HostReturnOptions

HostReturnOptions interface

Options to control how a server identifier (hostname or IP address) is returned. Affects the behavior of scan, getPurchasedServers, and getCurrentServer

Signature:

interface HostReturnOptions 

Properties

Property Modifiers Type Description
returnByIP? boolean (Optional) If set to true, returns IP addresses instead of hostnames. Defaults to false.