mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
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