mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 11:03:48 +01:00
660 B
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