bitburner.server.md
November 7, 2025 ยท View on GitHub
Server interface
A server. Not all servers have all of these properties - optional properties are missing on certain servers.
Signature:
export interface Server
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
(Optional) Flag indicating whether this server has a backdoor installed by a player | ||
|
number |
(Optional) Server's initial server security level at creation. | ||
|
number |
How many CPU cores this server has. Affects magnitude of grow and weaken ran from this server. | ||
|
boolean |
Whether or not the FTP port is open | ||
|
number |
(Optional) Server Security Level | ||
|
boolean |
Flag indicating whether player has admin/root access to this server | ||
|
string |
Hostname. Must be unique | ||
|
boolean |
Whether or not the HTTP Port is open | ||
|
string |
IP Address. Must be unique | ||
|
boolean |
Flag indicating whether player is currently connected to this server | ||
|
number |
RAM (GB) available on this server | ||
|
number |
(Optional) Minimum server security level that this server can be weakened to | ||
|
number |
(Optional) How much money currently resides on the server and can be hacked | ||
|
number |
(Optional) Maximum amount of money that this server can hold | ||
|
number |
(Optional) Number of open ports required in order to gain admin/root access | ||
|
number |
(Optional) How many ports are currently opened on the server | ||
|
string |
Name of company/faction/etc. that this server belongs to, not applicable to all Servers | ||
|
boolean |
Flag indicating whether this is a server owned by the player (e.g., home, cloud servers, hacknet servers) | ||
|
number |
RAM (GB) used. i.e. unavailable RAM | ||
|
number |
(Optional) Hacking level required to hack this server | ||
|
number |
(Optional) Growth effectiveness statistic. Higher values produce more growth with ns.grow() | ||
|
boolean |
Whether or not the SMTP Port is open | ||
|
boolean |
Whether or not the SQL Port is open | ||
|
boolean |
Whether or not the SSH Port is open |