mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 09:39:56 +00:00
closes #3080 If plugins fail to load for some reason, it's highly likely that some critical functionality of the server is compromised. For example: - if an NPC plugin fails to load, all custom entities added by that plugin will be deleted from worlds - if a world protection plugin fails, players will be able to grief your otherwise immutable lobby map - if a worldgen plugin fails, worlds using custom generators won't load - if a permission plugin fails, players might have access to commands and features they aren't supposed to have - the list goes on... This change makes the server commit graceful suicide if any plugin fails to load for error-related reasons, including (but not limited to): - Incompatible API version - Missing dependencies - Invalid plugin.yml - Invalid main class Plugins prevented from loading by `plugin_list.yml` are not considered errors and **are not** included in this change. If a plugin is disallowed from loading due to the `plugin_list`, the server will continue to run as if the plugin was not present.