-
Notifications
You must be signed in to change notification settings - Fork 0
Config.default
km127pl edited this page Aug 13, 2023
·
1 revision
Config.default
• new default()
• port: number = 25565
• shutdownKickReason: string = "Server closed"
Kick reason for when the server is shutting down
▸ Static fromFile(file): Promise<default>
Get a Config instance from a json file
| Name | Type | Description |
|---|---|---|
file |
string |
The file to read from |
Promise<default>
a promise that resolves to a Config instance