mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
15 lines
387 B
ReStructuredText
15 lines
387 B
ReStructuredText
getServerMaxMoney() Netscript Function
|
|
======================================
|
|
|
|
.. js:function:: getServerMaxMoney(hostname)
|
|
|
|
:RAM cost: 0.1 GB
|
|
:param string hostname: Hostname of target server.
|
|
:returns: Maximum amount of money that can be available on a server.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.getServerMaxMoney('foodnstuff'); // returns: 50000000
|