Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (18 loc) · 663 Bytes

bitburner.ns.renamepurchasedserver.md

File metadata and controls

31 lines (18 loc) · 663 Bytes

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 successful, and false otherwise.

Remarks

RAM cost: 0 GB