bitburner-src/markdown/bitburner.ns.renamepurchasedserver.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -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