Add sdk/js/server/blocked
parent
d91f9c25cf
commit
de812a581a
9
sdk%2Fjs%2Fserver%2Fblocked.md
Normal file
9
sdk%2Fjs%2Fserver%2Fblocked.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Mojang Blocked
|
||||
|
||||
## Example
|
||||
```ts
|
||||
import { isMojangBlocked } from "restfulmc-lib";
|
||||
|
||||
const blocked: boolean = await isMojangBlocked("arkhamnetwork.org");
|
||||
console.log(`The server is ${blocked ? "" : "not "}blocked`);
|
||||
```
|
Loading…
Reference in New Issue
Block a user