Skip to content

PIXRA-Network/FolderPackLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

FolderPackLoader

Allows the server to load resource pack folders directly without manually zipping them.
This plugin creates a temporary zip in memory or the temp directory and serves chunks to the client on demand.

How It Works

  • On enable, the plugin reads the folders defined in the Main.php $folders array.
  • Each folder must contain a valid manifest.json with a UUID and version.
  • Folders are automatically compressed into a temporary zip (only when changes are detected).
  • A simple hash is calculated from the file list and modification times to detect changes.

Configuration

For now, edit the folder list in Main.php$folders.

Notes

PocketMine core rejects directories by default.
This plugin adds a custom ResourcePack implementation that performs on-the-fly compression.

If you want to disable built-in .zip packs, simply remove their names from resource_packs.yml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages