grow() Netscript Function

grow(hostname[, opts={}])
RAM cost:

0.15 GB

  • hostname (string) – Hostname of the target server.
  • opts (object) –

    Optional parameters for configuring function behavior. Properties:

    • threads (number) - Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.
    • stock (boolean) - If true, the function can affect the stock market. See Player Actions Influencing Stocks

The number by which the money on the server was multiplied for the growth

Increase the amount of money available on a server. The time it takes to execute depends on your hacking level and the target server’s security level. When grow completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target server’s growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates.

Like hack, grow can be called on any server, from any server. The grow command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004 per thread.

Action time is calculated at the start, effect is calculated at the end.


while(true) {