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

Hugheth picture Hugheth  路  3Comments

dktapps picture dktapps  路  3Comments

jasonwynn10 picture jasonwynn10  路  3Comments

Muqsit picture Muqsit  路  3Comments

L3ice picture L3ice  路  3Comments