Skip to content

presentkim-pm/PluginReplacer

Repository files navigation

Version Stars License


Logo

PluginReplacer

An plugin that replace the plugin file when the server stop!

Contact to me · Report a bug · Request a feature

About The Project

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!


Usage

  1. Place the plugin phar file to be replaced in the plugin_replace folder (In the same directory as plugin or plugin_data)
  2. 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 to ExamplePlugin_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
│
└── ...


Target software:

This plugin officially only works with Pocketmine-MP.


Downloads

Download from Github Releases

Github Downloads


Installation

  1. Download plugin .phar releases
  2. Move downloaded .phar file to server's /plugins/ folder
  3. Restart the server


License

Distributed under the LGPL 3.0. See LICENSE for more information


About

Replace the plugin file when the server stop!

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages