Pocketmine-mp: Stop server when a plugin cannot be loaded

Created on 6 Aug 2019  路  4Comments  路  Source: pmmp/PocketMine-MP

This includes loading failure due to incompatible API, unresolved dependencies and other reasons known by PocketMine.

Core

Most helpful comment

AllAPILoader/plugin.yml:

api: [1.0.0]
i-think-the-server-can-still-start-and-ignore-my-incompatible-api: true

All 4 comments

Maybe an alternative would be to give plugins the ability to indicate that they think the server can still continue starting (or that the server should not continue starting).

AllAPILoader/plugin.yml:

api: [1.0.0]
i-think-the-server-can-still-start-and-ignore-my-incompatible-api: true

We are talking about cases where we are sure the plugin can't be loaded. It is not up to the plugin to decide whether the server can run without it, but up to the server owner.

Besides, there's a plugin_list.yml on the dev build which shifts the decision making ability on the server owner.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mal0ne-23 picture mal0ne-23  路  17Comments

admsteck picture admsteck  路  22Comments

SOF3 picture SOF3  路  20Comments

matcracker picture matcracker  路  17Comments

L3ice picture L3ice  路  21Comments