This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Releases: Manered/Utils
Releases · Manered/Utils
Utils v3.3.6
What's Changed
- ReflectionUtils Source by @Dominilk01 in #10
- Updated to 1.21.
- Removed CommandTypes, a CommandMap registrar is forced.
New Contributors
- @Dominilk01 made their first contribution in #10
Full Changelog: v3.3.5...v3.3.6
Utils v3.3.5
Full Changelog: v3.3.3...v3.3.5
Bug fix (weird maven stuff)
v3.3.4
Full Changelog: v3.3.2...v3.3.4
Bug fixes, etc
Utils v3.3.3
Full Changelog: v3.3.1...v3.3.3
Removed all pointless methods in SchedulerBase.
This is a bug fix.
Utils v3.3.2
Bug fix for command registration.
Full Changelog: v3.3.1...v3.3.2
Utils v3.3.1
Urgent bug fix for PluginWrapper.
Utils v3.3.0
Changelog:
- Added JavaDoc to CachableSnapshotImpl that I forgot to add
- Added a static method in
Cachablethat lets you define the type of the key and value using a class. - Deleted
Commander, replaced withAbstractCommand - Renamed the
command()method that retrieves the internal command tobukkitCommand() - Switched from using boolean in
CommandDispatcherto aCommandResult. You can wrap and unwrap aCommandResultinCommandResultWrapper - Switched from List to Suggestions in
SuggestionDispatcher. Suggestions storeSuggestionobjects. - Added a static factory method utility class for premade requirements, find these at
Requirements - Added JavaDoc to
CommandInfo - Added JavaDoc to certain methods in
Commandsbecause I forgot to add them earlier. - Converted
CommandsRegistrarto 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 inConfigValalong with a as() method that casts it to T, when provided with a Class of type T. - Removed the stupid
Source<S>interface fromContext<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
ElementsandElementsImpl - Also
ElementsandCachableboth implement/extendIterable<?>so you can use them in for loops. - Added a
FoliaUtilsclass that lets you check if your server is running Folia. - Deleted the pointless
Storableclass. - Added a static method to retrieve
PluginEventsinstance. - In
PluginWrapperI fixed a bug where instead of initializingUtilsin theonEnable()it was doing it in theonDisable() - Added a
Versionsclass 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
Tuplefromduo(...)totuple(...) - Added a new method to SchedulerBase:
public <T> @Nullable T supply(@NotNull Supplier<T> supplier) - Added a
onlineNames()method toServerUtils.
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
Full Changelog: v3.1.0...v3.2.0
Utils v3.1.0
Full Changelog: v3.0.2...v3.1.0
Utils v3.0.2
Just some small additions:
- Added javadocs to CloseListener, DragListener
- Added a method in PlaceholderAPIBuilder that lets you define 2 request types in 1 method. So a merged offline and online result.
- Added asObject() in CacheVal
- Added delete() methods in PlayerCache
- Added a stacker() method to Schedulers
- After adding stacker() to Schedulers I created a class called SchedulerStacker which lets you stack tasks.
- Added a easy way to access the FileConfiguration (config.yml) of a plugin in ServerUtils (config())
Full Changelog: v3.0.1...v3.0.2