PocketMine-MP
PocketMine-MP copied to clipboard
fix: version command issues
Introduction
This pull request is to handle users using the version command for detailed things, such as checking plugin information.
Relevant issues
Fixes https://github.com/pmmp/PocketMine-MP/issues/6322
Changes
API changes
Added DefaultPermissionNames::COMMAND_VERSION_DETAIL
-> Allows the user to view the detailed version of the server.
Behavioural changes
Backwards compatibility
Follow-up
Tests
I tested this PR by doing the following (tick all that apply):
- [ ] Writing PHPUnit tests (commit these in the
tests/phpunit
folder) - [ ] Playtesting using a Minecraft client (provide screenshots or a video)
- [ ] Writing a test plugin (provide the code and sample output)
- [ ] Other (provide details)