New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ccnetmc-api

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ccnetmc-api

Simple Fast and efficient CCnetMC Server Dynmap Warpper. Written in Typescript.

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
0
Created
Source

CCnetmc-api NPM Package

Easy to Use, fast and lightweight CCnet Minecraft server API warpper.

Install

To Install Module run this command

npm install ccnetmc-api

Features

  • Lightweight an fast.
  • Optimised functions.
  • Easy to use.
  • Supports Nations server.

Support

For support, Open PR/Issue from github.

Authors

  • @MegalithOffical - Main Developer
  • @Shadowevil015 - Old Author

Usage/Examples

// 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();

Changelog

[2.1.0] - 2025-02-22

Added

  • New test suite with separate test files for each provider
  • Comprehensive caching mechanism for providers
  • Enhanced parsing and data validation
  • Server status provider with detailed monitoring

Changed

  • Refactored Player, Towns, Nations, Sieges providers with improved caching and type safety
  • Optimized Towns provider with better performance and code cleanup
  • Enhanced Nations provider with caching and performance improvements
  • Updated RequestManager with robust caching and error handling
  • Improved extractTownData method with better parsing and type safety

License

Apache 2.0

Special Thanks

Thank to @Shadowevil015 and @Owen3H for their inpiring Hard work.

Keywords

ccnetmc

FAQs

Package last updated on 22 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts