mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
12 lines
508 B
ReStructuredText
12 lines
508 B
ReStructuredText
getPurchasedServers() Netscript Function
|
|
========================================
|
|
|
|
.. js:function:: getPurchasedServers([hostname=true])
|
|
|
|
:param boolean hostname:
|
|
Specifies whether hostnames or IP addresses should be returned. If it's true then hostnames will be returned, and if false
|
|
then IPs will be returned. If this argument is omitted then it is true by default
|
|
:RAM cost: 2.25 GB
|
|
|
|
Returns an array with either the hostnames or IPs of all of the servers you have purchased.
|