Skip to content

Latest commit

 

History

History
62 lines (30 loc) · 857 Bytes

File metadata and controls

62 lines (30 loc) · 857 Bytes

Home > bitburner > NS > getServerMaxMoney

NS.getServerMaxMoney() method

Get the maximum money available on a server.

Signature:

getServerMaxMoney(host?: string): number;

Parameters

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.

Remarks

RAM cost: 0.1 GB

Returns the maximum amount of money that can be available on a server.