| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This should be reverted if we think we should
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
Revises github.com/JorelAli/CommandAPI/commit/ac8c06086f2e05015416b939028e1301ff95a87b
Notable changes:
- `RegisteredCommand` and `RegisteredCommand.Node` now have generic `<CommandSender>` parameter
- `RegisteredCommand.Node` includes the `CommandPermission permission` and `Predicate<CommandSender> requirements`, copied from the argument/command the node represents
- `RegisteredCommand#permission` is now acessibile as the permission of the `Node rootNode`
- Created `CommandAPIHelpTopic` in `dev.jorel.commandapi.help` package
- Replaced `shortDescription`, `fullDescription`, `usageDescription`, and `Object helpTopic` fields in `ExecutableCommand` and `RegisteredCommand` with `CommandAPIHelpTopic helpTopic`
- Extended by `EditableHelpTopic`
- Help builder methods of `ExecutableCommand` are delegated to its `CommandAPIHelpTopic` if it is editable
- More general API created for #528: short description, full description, and usage can be provided separately to take advantage of the formatting the CommandAPI uses for static Strings
- Extended by `BukkitHelpTopicWrapper` in `commandapi-bukkit-core`
- Wraps Bukkit's `HelpTopic` as a `CommandAPIHelpTopic` so full `HelpTopic` customization can still be used
- Created `CustomCommandAPIHelpTopic` in `commandapi-bukkit`
- Converts a `CommandAPIHelpTopic` into a Bukkit `HelpTopic` for adding to the help map
- Replaces usage of `NMS#generateHelpTopic`
- Help formatting code extracted from `CommandAPIBukkit#updateHelpForCommands`
- Resolves #470: `CommandSender` permissions and requirements are now checked when generating usage
- Changed the treatement of namespaced help topics (#546). Namespaced help topics are now created. In the case where the same command name is registered with different namespaces, this allows the user to see the unmerged help using `/help namespace:commandName` (see `CommandHelpTests#testRegisterMergeNamespaces`).
- Updated tests to fully cover changes
TODO: Update and write documentation
| Back | FazBrowse Home | New Git URL |
The basic thing works, just a few more things need checking: