server: add rainpixel
All checks were successful
deploy / deploy (push) Successful in 22s
Publish Docker Image / docker (push) Successful in 46s

This commit is contained in:
Lee 2024-01-06 05:01:32 +00:00
parent cf66e8c488
commit a8bc162d8b
3 changed files with 11 additions and 6 deletions

View File

@ -93,5 +93,10 @@
"name": "InvadedLands",
"ip": "invadedlands.net",
"type": "PC"
},
{
"name": "Rainpixel",
"ip": "mc.rainpixel.net",
"type": "PC"
}
]

View File

@ -31,22 +31,22 @@ export default class Server {
/**
* The name of the server.
*/
private name: string;
private readonly name: string;
/**
* The IP address of the server.
*/
private ip: string;
private readonly ip: string;
/**
* The port of the server.
*/
private port: number | undefined;
private readonly port: number | undefined;
/**
* The type of server.
*/
private type: ServerType;
private readonly type: ServerType;
/**
* The resolved server information from

View File

@ -14,12 +14,12 @@ export default class Website {
/**
* The name of the website.
*/
private name: string;
private readonly name: string;
/**
* The url of the website.
*/
private url: string;
private readonly url: string;
constructor({ name, url }: WebsiteOptions) {
this.name = name;