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

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

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

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