Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Releases: Manered/Utils

Utils v3.3.6

06 Aug 14:56
Compare
Choose a tag to compare

What's Changed

  • ReflectionUtils Source by @Dominilk01 in #10
  • Updated to 1.21.
  • Removed CommandTypes, a CommandMap registrar is forced.

New Contributors

Full Changelog: v3.3.5...v3.3.6

Utils v3.3.5

31 Jan 10:51
Compare
Choose a tag to compare

Full Changelog: v3.3.3...v3.3.5

Bug fix (weird maven stuff)

v3.3.4

29 Jan 20:21
Compare
Choose a tag to compare

Full Changelog: v3.3.2...v3.3.4
Bug fixes, etc

Utils v3.3.3

12 Jan 14:35
Compare
Choose a tag to compare

Full Changelog: v3.3.1...v3.3.3

Removed all pointless methods in SchedulerBase.
This is a bug fix.

Utils v3.3.2

09 Jan 19:08
Compare
Choose a tag to compare

Bug fix for command registration.

Full Changelog: v3.3.1...v3.3.2

Utils v3.3.1

02 Jan 19:28
7488821
Compare
Choose a tag to compare

Urgent bug fix for PluginWrapper.

Utils v3.3.0

31 Dec 20:20
Compare
Choose a tag to compare

Changelog:

  • Added JavaDoc to CachableSnapshotImpl that I forgot to add
  • Added a static method in Cachable that lets you define the type of the key and value using a class.
  • Deleted Commander, replaced with AbstractCommand
  • Renamed the command() method that retrieves the internal command to bukkitCommand()
  • Switched from using boolean in CommandDispatcher to a CommandResult. You can wrap and unwrap a CommandResult in CommandResultWrapper
  • Switched from List to Suggestions in SuggestionDispatcher. Suggestions store Suggestion objects.
  • Added a static factory method utility class for premade requirements, find these at Requirements
  • Added JavaDoc to CommandInfo
  • Added JavaDoc to certain methods in Commands because I forgot to add them earlier.
  • Converted CommandsRegistrar to a class instead of a record, added Commodore (by Lucko) (a brigadier completions provider) support which is disabled by default.
  • Added a method (raw()) to retrieve the actual internal object in ConfigVal along with a as() method that casts it to T, when provided with a Class of type T.
  • Removed the stupid Source<S> interface from Context<S>.
  • Added a new class related to storing values. Internally handled by a Cachable<Integer, E> (E being a element type). This is because for some reason Lists SUCK in java. Find this at Elements and ElementsImpl
  • Also Elements and Cachable both implement/extend Iterable<?> so you can use them in for loops.
  • Added a FoliaUtils class that lets you check if your server is running Folia.
  • Deleted the pointless Storable class.
  • Added a static method to retrieve PluginEvents instance.
  • In PluginWrapper I fixed a bug where instead of initializing Utils in the onEnable() it was doing it in the onDisable()
  • Added a Versions class where you can compare versions (higher/lower) retrieve and create versions.
  • After forgetting to do this for 2 VERSIONS STRAIGHT (I'm so forgetful) I finally renamed the static method in Tuple from duo(...) to tuple(...)
  • Added a new method to SchedulerBase: public <T> @Nullable T supply(@NotNull Supplier<T> supplier)
  • Added a onlineNames() method to ServerUtils.

And that's all of the changes in this version. Pretty major version for the Command API.

Also, separating everything is coming soon... VERY soon.
There will be the following:

  • utils-commands
  • utils-menus
  • utils-schedulers
  • utils-core
  • utils-misc
  • and more...

I might change my mind though. Never trust Manere lol.

Full Changelog: v3.2.0...v3.3.0

Utils v3.2.0

19 Dec 19:23
Compare
Choose a tag to compare

Full Changelog: v3.1.0...v3.2.0

Utils v3.1.0

24 Nov 20:07
Compare
Choose a tag to compare

Full Changelog: v3.0.2...v3.1.0

Utils v3.0.2

16 Nov 19:24
Compare
Choose a tag to compare

Just some small additions:

  1. Added javadocs to CloseListener, DragListener
  2. Added a method in PlaceholderAPIBuilder that lets you define 2 request types in 1 method. So a merged offline and online result.
  3. Added asObject() in CacheVal
  4. Added delete() methods in PlayerCache
  5. Added a stacker() method to Schedulers
  6. After adding stacker() to Schedulers I created a class called SchedulerStacker which lets you stack tasks.
  7. Added a easy way to access the FileConfiguration (config.yml) of a plugin in ServerUtils (config())

Full Changelog: v3.0.1...v3.0.2