You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to load a plugin that declares a patch level specific number, PocketMine-MP will fail to properly evaluate that number if the plugin declares a lower minor level version than the current server version.
Example: Attempting to load a plugin which declares api: 3.0.7 on PocketMine-MP 3.1.1 will result with the plugin not being loaded and an error message given. Could not load plugin <plugin_name>: Incompatible API version (plugin requires one of: 3.0.7)
Expected result: Any plugin declaring a patch level requirement, should load if the minor level requirement is exceeded, regardless of the patch level requirement.
Examples:
3.0.0 plugin loads on Server 3.1.1
3.0.1 plugin loads on Server 3.1.1
3.0.2 plugin loads on Server 3.1.1
3.0.3 plugin loads on Server 3.1.1
Actual result: What actually happened? Plugins declaring a patch level requirement will not load if the declared patch level is higher than the server patch level, and the minor level of the server is higher than the plugin declared minor level.
Examples:
3.0.0 plugin loads on Server 3.1.1
3.0.1 plugin loads on Server 3.1.1
3.0.2 plugin does not load on Server 3.1.1
3.0.3 plugin does not load on Server 3.1.1
Steps to reproduce the issue
Attempt to start a PocketMine-MP server with a plugin that declares a specific patch level.
Make sure the server version has a minor level, higher than the minor level declared by the plugin.
Make sure the server version has a patch level lower than the patch level declared by the plugin.
4 Plugin will fail to load.
OS and versions
PocketMine-MP: 3.0.0 - 3.1.1
PHP: 7.2.5
Server OS: Windows 10, Linux, Mac
Game version: NA
Plugins
Test on a clean server without plugins: is the issue reproducible without any plugins loaded?
If the issue is not reproducible without plugins:
Have you asked for help on our forums before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)
Crashdump, backtrace or other files
Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
Please use gist or anything else to add other files and add links here
...
The text was updated successfully, but these errors were encountered:
Issue description
When attempting to load a plugin that declares a patch level specific number, PocketMine-MP will fail to properly evaluate that number if the plugin declares a lower minor level version than the current server version.
Example: Attempting to load a plugin which declares api: 3.0.7 on PocketMine-MP 3.1.1 will result with the plugin not being loaded and an error message given.
Could not load plugin <plugin_name>: Incompatible API version (plugin requires one of: 3.0.7)
Expected result: Any plugin declaring a patch level requirement, should load if the minor level requirement is exceeded, regardless of the patch level requirement.
Examples:
Actual result: What actually happened? Plugins declaring a patch level requirement will not load if the declared patch level is higher than the server patch level, and the minor level of the server is higher than the plugin declared minor level.
Examples:
Steps to reproduce the issue
4 Plugin will fail to load.
OS and versions
Plugins
If the issue is not reproducible without plugins:
Crashdump, backtrace or other files
The text was updated successfully, but these errors were encountered: