server: add rainpixel
This commit is contained in:
parent
cf66e8c488
commit
a8bc162d8b
@ -93,5 +93,10 @@
|
||||
"name": "InvadedLands",
|
||||
"ip": "invadedlands.net",
|
||||
"type": "PC"
|
||||
},
|
||||
{
|
||||
"name": "Rainpixel",
|
||||
"ip": "mc.rainpixel.net",
|
||||
"type": "PC"
|
||||
}
|
||||
]
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user