mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
962 B
962 B
Home > bitburner > Cloud > getServerNames
Cloud.getServerNames() method
Returns an array with the hostnames or IP addresses of all of the cloud servers you have purchased. Returns hostnames by default.
Signature:
getServerNames(returnOpts?: HostReturnOptions): string[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
returnOpts |
(Optional) Optional. Controls whether the function returns IPs |
Returns:
string[]
Returns an array with the hostnames or IP addresses of all of the cloud servers you have purchased.
Remarks
RAM cost: 1.05 GB