PHPackages                             resourcepack/pipeline - 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. resourcepack/pipeline

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

resourcepack/pipeline
=====================

1.0.0(3mo ago)31MITPHPPHP &gt;=8.0

Since Jan 27Pushed 2mo agoCompare

[ Source](https://github.com/Aetheam/ResourcePackPipeline)[ Packagist](https://packagist.org/packages/resourcepack/pipeline)[ RSS](/packages/resourcepack-pipeline/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

🚀 ResourcePackPipeline
======================

[](#-resourcepackpipeline)

🎨 **ResourcePackPipeline** is a **PocketMine-MP virion (PM4 / PM5)** that automates resource pack management at server startup.

It provides a smooth and reliable pipeline:

👉 **Scan → Zip (.mcpack) → Load → Log**

All of this happens **without breaking or removing resource packs from other plugins** (like InventoryUI).

---

✨ Features
----------

[](#-features)

✅ Automatic scan of resource packs
📦 Automatic `.mcpack` generation (one per pack)
🔁 Safe loading into PocketMine’s `ResourcePackManager`
🛡️ Keeps existing resource packs untouched
❌ Prevents duplicate pack loading
🎨 Clean &amp; colorful startup logs
⚙️ Compatible with **PocketMine-MP 4.x &amp; 5.x**
📚 Distributed as a **virion** (embedded library)

---

📁 Expected Directory Structure
------------------------------

[](#-expected-directory-structure)

Resource packs **must** be placed inside `resources/packs/` in the plugin using this virion.

```
resources/
└── packs/
├───────  PackOne/
    	  ├── manifest.json
    	  └── textures/
    	      └── ...
├───────  Packtwo/
    	  ├── manifest.json
    	  └── textures/
    	      └── ...

```

📝 Notes:

- 📦 Each folder inside `packs/` represents **one resource pack**
- 📄 `manifest.json` must be at the **root of each pack**
- 🎧 Standard Bedrock folders (`textures`, `sounds`, etc.) are supported
- 🧰 Each pack is automatically zipped into a `.mcpack`

---

🚀 Basic Usage
-------------

[](#-basic-usage)

Inside your plugin:

```
use resourcepack\pipeline\ResourcePackPipeline;

public function onEnable(): void{
    $pipeline = new ResourcePackPipeline($this, $this->getResourceFolder());

    $pipeline->scan("packs/");
    $zips = $pipeline->zip();
    $pipeline->load($zips);
    $pipeline->log();
}
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance83

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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

112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d0c9823367b8fc63a7409c3f85001c18503442243cb0c88e732e8d5e672d9e1?d=identicon)[royaljacques](/maintainers/royaljacques)

---

Top Contributors

[![royaljacques](https://avatars.githubusercontent.com/u/63215754?v=4)](https://github.com/royaljacques "royaljacques (3 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

### Embed Badge

![Health badge](/badges/resourcepack-pipeline/health.svg)

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

PHPackages © 2026

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