2024-04-14 13:35:55 -07:00
|
|
|
// describe("player", () => {
|
|
|
|
// it("Rainnny", async () => {
|
|
|
|
// const player: CachedPlayer = await getPlayer("Rainnny");
|
|
|
|
// console.log("player found", player.cached);
|
|
|
|
// });
|
|
|
|
// });
|
2024-04-14 12:53:36 -07:00
|
|
|
|
2024-04-14 13:35:55 -07:00
|
|
|
// describe("server", () => {
|
|
|
|
// it("java", async () => {
|
|
|
|
// const server: JavaMinecraftServer | BedrockMinecraftServer =
|
|
|
|
// await getMinecraftServer("java", "play.wildnetwork.net");
|
2024-04-14 12:53:36 -07:00
|
|
|
|
2024-04-14 13:35:55 -07:00
|
|
|
// if ((server as BedrockMinecraftServer).id) {
|
|
|
|
// }
|
|
|
|
// console.log(server.ip);
|
|
|
|
// });
|
|
|
|
// });
|
2024-04-14 12:53:36 -07:00
|
|
|
|
2024-04-14 13:35:55 -07:00
|
|
|
// describe("mojang", () => {
|
|
|
|
// it("status", async () => {
|
|
|
|
// const status: MojangServerStatus = await getMojangServerStatus();
|
|
|
|
// console.log(status["https://sessionserver.mojang.com"]);
|
|
|
|
// });
|
|
|
|
// });
|