server: add rainpixel
This commit is contained in:
parent
cf66e8c488
commit
a8bc162d8b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user