Releases: VelixDevelopments/Imperat
Releases · VelixDevelopments/Imperat
Imperat v1.5.1
Imperat v1.5.0
Critical update
This update comes with few but extremely critical changes that would facilitate the user's experience.
Changes
- Recoded the context matching algorithm. thus, command-execution has been solidified and several bugs have been fixed ,
- Changed the usage of
ContextResolverFactory
by introducing a parameter type for which the context resolver(to be created by the factory) will return.
Imperat v1.4.0
Changes
- Fixed default command execution not working for some people.
- Modified the method
CommandHelp#display
to make it accept the typeSource
for custom sources. - Fixed duplicated help header-hyphen.
- Minor code improvements
Imperat v1.3.2
#Quick change
- Fixed Random Debug Message issue
Imperat v1.3.1
Hot Bug fixes
- Fixed Immutable completions error on tab completing.
- Fixed Brigadier error with modern bukkit versions below v1.21
Imperat v1.3.0
Recoded:
- Native auto-completer
ArgumentQueue
parsing from a string.
New:
- Added processor chain API
Fixed
- A bug regarding tab completion
- A bug where an extra space was added to the string parsed.
Imperat v1.2.1
What's new with Imperat v1.2.1?
- Added methods to register multiple commands at once (#registerCommands)
- Bug-Fix: some platforms acting weird with adventure support.
- Changed the imperat instantiating again to be like:
BukkitImperat imperat = BukkitImperat.builder(plugin)
// do stuff here
.build();
Instead of
BukkitImperat imperat = BukkitConfigBuilder.builder(plugin)
// do stuff here
.build();
Imperat v1.2
What's new with Imperat v1.2?
- Added a bypass permission for cooldowns, also included in the annotation itself
- Bug-Fix: primitive numeric-types weren't detected properly
- Bug-Fix: named suggestion resolvers' faulty registration.
- Replaced the old imperat instantiating system with the new config building system
example:
BukkitImperat imperat = BukkitConfigBuilder.builder(plugin)
.contextResolver(new YourContextResolver());
.namedSuggestionResolver("yourSuggestionResolver", new YourSuggestionResolver());
.parameterType(Duration.class, new YourParameterDuration())
.dependencyResolver(Plugin.class, ()-> plugin)
// add some other configurations
.build();
//registering your commands here
imperat.registerCommand(new YourCommand());
Imperat v1.0.4
Changes:
-
Added
TargetSelector
parameter type to become a default type for target selection,
that can also work on versions below 1.13 for bukkit. -
Fixed bukkit auto-completion bugs on legacy versions.
Imperat v1.0.3
Core-changes:
- Fixed enum parsing and auto-completion
- Fixed faulty annotation parsing for sender-related method parameters.
- Added enable/disable for
ImperatDebugger
(disabled by default) ParameterType#matchesInput
is no longer required to be overridden- Added
Imperat#unregisterCommand
Bukkit-changes:
- Fixed
ParameterWorld
error on legacy versions - Fixed aliases not being registered as intended on legacy versions
- Fixed auto-completion
NoSuchElementException
error
Minestom-changes:
- Fixed minestom commands not being registered properly