<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [constants](./bitburner.hacknetserversformulas.constants.md)

## HacknetServersFormulas.constants() method

All constants used by the game.

<b>Signature:</b>

```typescript
constants(): HacknetServerConstants;
```
<b>Returns:</b>

[HacknetServerConstants](./bitburner.hacknetserverconstants.md)

An object with all hacknet server constants used by the game.