Skip to content

Releases: VelixDevelopments/Imperat

Imperat v1.5.1

31 Dec 21:43
Compare
Choose a tag to compare

Hot patch

  • Deleted bungee ChatColor parameter type
  • Fixed Initialization error on start

Imperat v1.5.0

23 Dec 02:19
Compare
Choose a tag to compare

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

13 Dec 16:50
Compare
Choose a tag to compare

Changes

  • Fixed default command execution not working for some people.
  • Modified the method CommandHelp#display to make it accept the type Source for custom sources.
  • Fixed duplicated help header-hyphen.
  • Minor code improvements

Imperat v1.3.2

21 Nov 20:51
Compare
Choose a tag to compare

#Quick change

Imperat v1.3.1

09 Nov 23:51
Compare
Choose a tag to compare

Hot Bug fixes

  • Fixed Immutable completions error on tab completing.
  • Fixed Brigadier error with modern bukkit versions below v1.21

Imperat v1.3.0

08 Nov 01:58
Compare
Choose a tag to compare

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

04 Nov 06:37
Compare
Choose a tag to compare

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

02 Nov 23:56
Compare
Choose a tag to compare

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

24 Oct 21:39
Compare
Choose a tag to compare

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

14 Oct 16:48
Compare
Choose a tag to compare

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