Skip to content

Releases: broken1arrow/Utility-Library

Just fixed so get the library

20 Dec 01:07

Choose a tag to compare

Changelog:

  • Hopefully fix so you can easy download the library.

Full Changelog: 0.128...0.129

Updated NBTAPI and change the shadow

19 Dec 20:30

Choose a tag to compare

Changelog:

  • Solve the inconsistent shadow, as it could create several copies of NBTAPI, now the plugin have control of the shadow part.
  • Updated NBTAPI to latest version (2.15.5), should support 1.21.11.

Full Changelog: 0.126...0.127

Make changes to the item creator module and a message in menu module

16 Nov 12:48

Choose a tag to compare

Changelog

Menu

  • Fixed an issue where creating a single menu displayed an unnecessary message when the fill list contained no items. This was an annoyance rather than a breaking issue.

ItemCreator Module

  • Major upgrade to the ItemCreator module, adding improved options for:

    • Setting metadata
    • Setting NBT
    • Optional custom JSON serialization for ItemStacks
      (the original Bukkit API serializer tends to break on each Minecraft update)
  • NBT Handling

    • Uses NbtAPI for support down to 1.8.8.
    • If NbtAPI is not shaded, the system falls back to PersistentDataContainer (introduced in 1.14).
    • Older versions without NbtAPI will not have automatic NBT tag handling.
  • Metadata Improvements

    • Added several new classes to handle different item metadata types without requiring manual casting.
    • Added support for using modern potion names, even on 1.8.8.

Full Changelog: 0.125...0.126

Improvement to the flexibility in menu module and package path changes

04 Jul 06:59

Choose a tag to compare

Changlog:

  • Big changes to the menu module to allow more flexibility when creating custom menus. It gives you full control over how the menus are created, while still allowing you to leverage the existing logic. An additional menu option may be added in the future, thanks to Starozytny and his work on a custom menu.
  • Changed the package names from, for example, org.broken.arrow.menu.library to org.broken.arrow.library.menu to make it easier to shade and exclude. Also, for better naming convention, I’ve dragged this discussion on for so long, I just had to fix it.
  • Refined the plugin.jar for improved consistency by removing unnecessary classes and reducing complexity. Ensured nbt-api is included within the jar. As the developer intends to remove shading support, nbt-api may become a separate plugin in the future. The project will be updated accordingly when that occurs.

Full Changelog: 0.124...0.125

0.124

17 May 14:00

Choose a tag to compare

Changelog:

  • Just fix invalid tag for javadoc.

Read rest of the changes here: https://github.com/broken1arrow/Utility-Library/releases/tag/0.123

Full Changelog: 0.123...0.124

Improve database handle

17 May 13:38

Choose a tag to compare

Changelog:

  • Implemented two new methods for save and load. It gives huge flexibility, but still a lot of help to format data and it still have the option to automatically will detect if could update instead of just replace old row. You need to set a boolean flag to true for activate the option, alternatively using the filter to activate it.

Check the wiki about the usage or follow this link directly and scroll down https://broken-arrow.gitbook.io/utility-library/modules/modules/database/example-setup/database-manager do you have example usage.

Full Changelog: 0.122...0.123

Solve the problem with several constraints

29 Apr 17:02

Choose a tag to compare

Changelog:

  • Fix a typo where you can't add more than one constraints as it will give errors.
  • Change the LoadDataWrapper class little so you have a method, where you can type your primary key name.
  • Removed deprecated from the database module, you can now only use the new methods to register and create tables.

Full Changelog: 0.121...0.122

Solve issue with update and load problem

26 Apr 06:56

Choose a tag to compare

Changelog:

  • In the load logic one line get missing. So it throw an error.
  • When want to update it just give problems if you need wrap your string. It now internally using a prepared statement when checking if a row exist and wont interfere with your option to use either raw query or prepared one.

I still need to check how to do with raw queries, as you sometimes need wrap the values with single quotes and could be issues if also prepared statements is involved as it wants values without quotes, it will then not find your value or values.

Full Changelog: 0.120...0.121

0.120

25 Apr 20:22

Choose a tag to compare

Changelog:

  • Sorted out some shortcomings with the Database module. Where you could improbably set up the question mark placeholder, is now handle in QueryBuilder class. In some cases however can you alter the behavior by creating your own instance of a class, but not recommended as you can accidentally mixing prepended query with a raw query.
  • Change the behavior of the where clause and having, so you no longer need set the flag for prepended query or a raw query. As it is done inside the QueryBuilder class.
  • Cleaned up some code smells and commit out code.

Full Changelog: 0.119...0.120

Solve issue with create new tabels

10 Apr 18:18

Choose a tag to compare

Changelog:

  • Solve a problem with create non existing tables, as it did not build the query correctly, also it did not check correct map when check for tables.
  • Updated NBTAPI to latest version, should also work in 1.21.5.

Full Changelog: 0.118...0.119