PHPackages                             alvin0319/libnpcdialogue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alvin0319/libnpcdialogue

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alvin0319/libnpcdialogue
========================

A PocketMine-MP virion to implement functional NPC dialogue.

1.0.0(2y ago)2566[1 issues](https://github.com/refteams/libNpcDialogue/issues)MITPHP

Since Jun 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/refteams/libNpcDialogue)[ Packagist](https://packagist.org/packages/alvin0319/libnpcdialogue)[ RSS](/packages/alvin0319-libnpcdialogue/feed)WikiDiscussions pm5/main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

libNpcDialogue
==============

[](#libnpcdialogue)

A virion that implements various npc dialogue for PocketMine-MP.

API
===

[](#api)

```
$npcDialogue = new NpcDialogue();
$npcDialogue->addButton(NpcDialogueButtonData::create()
    ->setName("Test")
    ->setText("Test123")
    ->setClickHandler(function(Player $player) : void{
	    $player->sendMessage("Hello world!");
    })
    ->setForceCloseOnClick(true)
);
$npcDialogue->setNpcName("Test NPC");
$npcDialogue->setDialogueBody("Test Body");
$npcDialogue->setSceneName("TEST");
$npcDialogue->sendTo($sender);
```

Test Plugin
===========

[](#test-plugin)

[tests/DialogueTest](./tests/DialogueTest.php)

Note
====

[](#note)

This virion is for PocketMine-MP 4.x

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1063d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5d9de7a6ea1d9c660b318e77bbeae9b10f3ec18c8d6f48a7427da2b605b5b7d?d=identicon)[alvin0319](/maintainers/alvin0319)

---

Top Contributors

[![alvin0319](https://avatars.githubusercontent.com/u/32565818?v=4)](https://github.com/alvin0319 "alvin0319 (25 commits)")[![hadvsc](https://avatars.githubusercontent.com/u/87013587?v=4)](https://github.com/hadvsc "hadvsc (1 commits)")[![max-xoo](https://avatars.githubusercontent.com/u/55662431?v=4)](https://github.com/max-xoo "max-xoo (1 commits)")[![NhanAZ](https://avatars.githubusercontent.com/u/60387689?v=4)](https://github.com/NhanAZ "NhanAZ (1 commits)")[![nnnlog](https://avatars.githubusercontent.com/u/20399222?v=4)](https://github.com/nnnlog "nnnlog (1 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alvin0319-libnpcdialogue/health.svg)

```
[![Health](https://phpackages.com/badges/alvin0319-libnpcdialogue/health.svg)](https://phpackages.com/packages/alvin0319-libnpcdialogue)
```

###  Alternatives

[symfony/emoji

Provides access to emoji characters and sequences from the Unicode CLDR

13847.1k9](/packages/symfony-emoji)[cornford/googlitics

An easy way to integrate Google Analytics with Laravel.

3310.2k](/packages/cornford-googlitics)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
