2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Server ](./bitburner.server.md )
## Server interface
2021-10-30 21:46:34 +02:00
A single server.
2021-10-30 18:34:14 +02:00
< b > Signature:< / b >
```typescript
2021-11-03 23:16:10 +01:00
export interface Server
2021-10-30 18:34:14 +02:00
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
2021-12-03 22:14:13 +01:00
| [backdoorInstalled ](./bitburner.server.backdoorinstalled.md ) | boolean | Flag indicating whether this server has a backdoor installed by a player |
| [baseDifficulty ](./bitburner.server.basedifficulty.md ) | number | Initial server security level (i.e. security level when the server was created) |
2021-10-30 21:46:34 +02:00
| [cpuCores ](./bitburner.server.cpucores.md ) | number | How many CPU cores this server has. Maximum of 8. Affects magnitude of grow and weaken. |
| [ftpPortOpen ](./bitburner.server.ftpportopen.md ) | boolean | Flag indicating whether the FTP port is open |
2021-12-03 22:14:13 +01:00
| [hackDifficulty ](./bitburner.server.hackdifficulty.md ) | number | Server Security Level |
2021-10-30 21:46:34 +02:00
| [hasAdminRights ](./bitburner.server.hasadminrights.md ) | boolean | Flag indicating whether player has admin/root access to this server |
| [hostname ](./bitburner.server.hostname.md ) | string | Hostname. Must be unique |
| [httpPortOpen ](./bitburner.server.httpportopen.md ) | boolean | Flag indicating whether HTTP Port is open |
| [ip ](./bitburner.server.ip.md ) | string | IP Address. Must be unique |
2022-03-17 21:50:46 +01:00
| [isConnectedTo ](./bitburner.server.isconnectedto.md ) | boolean | Flag indicating whether player is currently connected to this server |
2021-10-30 21:46:34 +02:00
| [maxRam ](./bitburner.server.maxram.md ) | number | RAM (GB) available on this server |
2021-12-03 22:14:13 +01:00
| [minDifficulty ](./bitburner.server.mindifficulty.md ) | number | Minimum server security level that this server can be weakened to |
| [moneyAvailable ](./bitburner.server.moneyavailable.md ) | number | How much money currently resides on the server and can be hacked |
| [moneyMax ](./bitburner.server.moneymax.md ) | number | Maximum amount of money that this server can hold |
| [numOpenPortsRequired ](./bitburner.server.numopenportsrequired.md ) | number | Number of open ports required in order to gain admin/root access |
| [openPortCount ](./bitburner.server.openportcount.md ) | number | How many ports are currently opened on the server |
2021-10-30 21:46:34 +02:00
| [organizationName ](./bitburner.server.organizationname.md ) | string | Name of company/faction/etc. that this server belongs to. Optional, not applicable to all Servers |
2021-12-03 22:14:13 +01:00
| [purchasedByPlayer ](./bitburner.server.purchasedbyplayer.md ) | boolean | Flag indicating whether this is a purchased server |
2021-10-30 21:46:34 +02:00
| [ramUsed ](./bitburner.server.ramused.md ) | number | RAM (GB) used. i.e. unavailable RAM |
2021-12-03 22:14:13 +01:00
| [requiredHackingSkill ](./bitburner.server.requiredhackingskill.md ) | number | Hacking level required to hack this server |
| [serverGrowth ](./bitburner.server.servergrowth.md ) | number | Parameter that affects how effectively this server's money can be increased using the grow() Netscript function |
2021-10-30 21:46:34 +02:00
| [smtpPortOpen ](./bitburner.server.smtpportopen.md ) | boolean | Flag indicating whether SMTP Port is open |
| [sqlPortOpen ](./bitburner.server.sqlportopen.md ) | boolean | Flag indicating whether SQL Port is open |
| [sshPortOpen ](./bitburner.server.sshportopen.md ) | boolean | Flag indicating whether the SSH Port is open |
2021-10-30 18:34:14 +02:00