Do you know that PMMP's resource pack sending is veryvery slow, and we can provide a resource pack via an external URL
instead?
Already someone is using a CDN server to provide a resource pack...
This plugin created for someone (like me) using the server's resource pack folder as a CDN folder!
Just use this plugin to link resource packs to cdn urls as automatically!
This plugin provides several configurations for a wide range of people to use
# The base url of the resource pack cdn
base_url: "https://cdn.example.com/"
# The directory where the resource packs are stored
base_dir: "./resource_packs"
# Whether to remove the extension from the resource pack file name
remove_extension: false
-
base_url
: The base url of the resource pack cdn
This option for set the url address of the cdn server. Values such as 'localhost' are not supported because they are used by the player. Must be a valid public url address. -
base_dir
: The directory where the resource packs are stored
This option for set the cdn base directory. The path is set based on the PMMP's directory, so './resource_pack' above is the default resource pack path. This plug-in does not register a resource pack for that path to the server. It only link to the cdn url, if resource pack file is under this path. -
remove_extension
: Whether to remove the extension from the resource pack file name
This option for using if the cdn server omits the extension of the file. For example, if you using alvin's 'ResourcePackCDN', this option should be set totrue
.
If you want to set up a separate CDN url for each resource pack, use alvin's 'Remote Resource Pack'
This plugin officially only works with Pocketmine-MP
.
Download from Github Releases
- Download plugin
.phar
releases - Move downloaded
.phar
file to server's /plugins/ folder - Restart the server
Distributed under the LGPL 3.0. See LICENSE for more information