bitburner-src/markdown/bitburner.server.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

1.8 KiB

Home > bitburner > Server

Server interface

A single server.

Signature:

interface Server 

Properties

Property Type Description
cpuCores number How many CPU cores this server has. Maximum of 8. Affects magnitude of grow and weaken.
ftpPortOpen boolean Flag indicating whether the FTP port is open
hasAdminRights boolean Flag indicating whether player has admin/root access to this server
hostname string Hostname. Must be unique
httpPortOpen boolean Flag indicating whether HTTP Port is open
ip string IP Address. Must be unique
isConnectedTo boolean Flag indicating whether player is curently connected to this server
maxRam number RAM (GB) available on this server
organizationName string Name of company/faction/etc. that this server belongs to. Optional, not applicable to all Servers
ramUsed number RAM (GB) used. i.e. unavailable RAM
smtpPortOpen boolean Flag indicating whether SMTP Port is open
sqlPortOpen boolean Flag indicating whether SQL Port is open
sshPortOpen boolean Flag indicating whether the SSH Port is open