Easy to Use, fast and lightweight CCnet Minecraft server API warpper.
To Install Module run this command
npm install ccnetmc-api
- Lightweight an fast.
- Optimised functions.
- Easy to use.
- Supports Nations server.
For support, Open PR/Issue from github.
// ES/Typescript
import { CCnet } from 'ccnetmc-api';
// Or CJS
const { CCnet } = require("ccnetmc-api");
const api = new CCnet();
async function App() {
const Players = await api.player.getOnlinePlayers(true);
console.log(Players)
};
App();
Thank to @Shadowevil015 and @Owen3H for their inpiring Hard work.