bitburner-src/markdown/bitburner.ns.renamepurchasedserver.md
Olivier Gagnon 7a89c0a1bb regen doc
2022-10-09 18:46:13 -04:00

660 B

Home > bitburner > NS > renamePurchasedServer

NS.renamePurchasedServer() method

Rename a purchased server.

Signature:

renamePurchasedServer(hostname: string, newName: string): boolean;

Parameters

Parameter Type Description
hostname string current server hostname
newName string new server hostname

Returns:

boolean

True if the upgrade succeeded.

Remarks

RAM cost: 2.00 GB