Have you ever encountered problems while updating plugins while the server was running? Or do you dislike waiting for the server to shut down to update plugins?
Then use this plugin!
This plugin automatically replaces plugin files in the plugin_replace
folder when the server shuts down!
- Place the plugin phar file to be replaced in the
plugin_replace
folder (In the same directory asplugin
orplugin_data
) - Just reboot the server!
It works only phar file, not folder.
Don't care about the file name because plugin analyze and process the Phar file.
Instead, the plugin file will be renamed '{Name}_v{version}.phar'
exmaple) When server directory is configured as below,
. # pmmp directory ├── plugin_replace │ └── ExamplePlugin_v1.1.0.phar │ ├── plugins │ ├── Another_v1.0.0.phar │ ├── ExamplePlugin_v1.0.0.phar │ └── PluginReplacer_v1.0.0.phar │ └── ...Then, PluginReplacer will be replace the
ExamplePlugin_v1.0.0.phar
toExamplePlugin_v1.1.0.phar
when the server stops.. # pmmp directory ├── plugin_replace │ └── (nothing) │ ├── plugins │ ├── Another_v1.0.0.phar │ ├── ExamplePlugin_v1.1.0.phar │ └── PluginReplacer_v1.0.0.phar │ └── ...
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