npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

draconium

v1.0.9

Published

AFK bot for Minecraft Pocket Edition 0.14.x / PocketMine-MP. Custom RakNet, zero game-protocol dependencies.

Readme

Draconium

AFK bot for Minecraft Pocket Edition 0.14.x / PocketMine-MP servers. Custom RakNet UDP client — no external game-protocol dependencies.


Installation

npm install draconium

For the Discord bot:

npm install draconium discord.js

Quick Start

const { Bot } = require('draconium');

const bot = new Bot({
  host:     'play.example.com',
  port:     19132,
  username: 'MyBot',
});

bot.on('ready',  () => bot.chat('Online.'));
bot.on('chat',   ({ source, message }) => console.log(`<${source}> ${message}`));
bot.on('health', (hp) => { if (hp <= 0) setTimeout(() => bot.respawn(), 1000); });

bot.connect();


API

Constructor

new Bot(options)

| Option | Type | Default | Description | |------------|--------|------------------|-----------------------| | host | string | '127.0.0.1' | Server IP or hostname | | port | number | 19132 | Server UDP port | | username | string | 'DraconiumBot' | In-game display name | | version | string | '0.14.3' | MCPE version string |

Methods

| Method | Description | |--------------------------|-----------------------------------| | bot.connect() | Connect to the server | | bot.chat(message) | Send a chat message | | bot.teleport(x, y, z) | Move the bot to coordinates | | bot.jump() | Jump (only when on the ground) | | bot.respawn() | Respawn after death | | bot.disconnect(reason) | Clean disconnect |

Events

| Event | Arguments | Description | |--------------|-----------------------|---------------------------------------------------------------| | ready | — | Bot is in-game | | spawn | { entityId } | Spawn received | | chat | { source, message } | Chat message. source empty = server message | | health | hp | Health changed (0–20) | | move | { x, y, z } | Position updated via teleport | | jump | — | Bot jumped | | respawn | — | Respawn sent | | disconnect | reason, intentional | intentional=true when you called disconnect() | | error | Error | Connection error |

Properties

| Property | Type | Description | |-----------------|------------|---------------------------------| | bot.connected | boolean | RakNet connection live | | bot.spawned | boolean | Bot has spawned in-game | | bot.entity | number | Entity ID from server | | bot.health | number | Current health (0–20) | | bot.position | {x, y, z} | Current feet position | | bot.onGround | boolean | Whether the bot is on the ground|


Multiple Bots

const { Bot } = require('draconium');

['AFK1', 'AFK2', 'AFK3'].forEach((username, i) => {
  setTimeout(() => {
    const bot = new Bot({ host: 'play.example.com', port: 19132, username });
    bot.on('ready', () => bot.chat('Online.'));
    bot.connect();
  }, i * 4000);
});

Discord Bot

Requires discord.js v14.

Discord bot src link

PRESS ME TO SEE

I have create a discord bot version so u dont have too.

Everythings currently on beta

Please expect some bugs. I u find any bugs please do create an issue. i usually check daily.

Setup:

  1. Create a bot at https://discord.com/developers/applications
  2. Enable Message Content Intent under Bot > Privileged Gateway Intents
  3. Invite with Send Messages, Read Message History, View Channels permissions
  4. Run:
const DISCORD_TOKEN = process.env.DISCORD_TOKEN || 'BOT TOKEN HERE';

Commands:

| Command | Description | |--------------------------------------|------------------------------------| | .help | Command reference | | .configure | Set password and join messages | | .config | View current config | | .join <ip:port> <bot1,bot2,...> | Connect bots | | .leave <username\|*> | Disconnect a bot or all bots | | .list | All active bots | | .info <username> | Health, position, uptime | | .chat * <message> | Broadcast from all bots | | .chat <username> <message> | Send from a specific bot | | .chatarea <username> #channel on | Bridge MC chat to Discord | | .chatarea <username> #channel off | Disable bridge | | .chatarea list | List bridges | | .logs <username> | Paginated log viewer |


License

GPL-3.0

MSG

I recommend you to use the latest version of draconium. and i recommend u to use the pre made discord bot

Discord bot src link

PRESS ME << [CLICKME FOR THE PREMADE DISCORD BOT SUPPORT]

preview

alt text

alt text