Home > bitburner > NS > getServerMaxMoney
Get the maximum money available on a server.
Signature:
getServerMaxMoney(host?: string): number;|
Parameter |
Type |
Description |
|---|---|---|
|
host |
string |
(Optional) Hostname/IP of the target server. Optional. Defaults to current server if not provided. |
Returns:
number
Maximum amount of money available on the server.
RAM cost: 0.1 GB
Returns the maximum amount of money that can be available on a server.