bitburner.hostreturnoptions.md

November 7, 2025 ยท View on GitHub

Home > bitburner > HostReturnOptions

HostReturnOptions interface

Options to control how a server identifier (hostname or IP address) is returned. Affects the behavior of scan, getServerNames, 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.

Contents

  1. 1HostReturnOptions interface
  2. 2Properties