Skip to content

Releases: Valorless/ValorlessUtils

v1.17.0.313 Minecraft v1.21.9-10 & NBT Update.

12 Oct 21:58
98556e7

Choose a tag to compare

Added: Server.Version.v1_21_9 to v1_21_19 (Some extra for good measure hehe)

Changed: Updated NBTAPI to 2.15.3

Commit: 98556e7
Docs: https://valorless.github.io/ValorlessUtils

v1.16.1.306 NBT Update & Hotfix.

27 Aug 22:27
58f4215

Choose a tag to compare

Changed: Updated NBTAPI to 2.15.2

Fixed: Added missing Server.Version.v1_20_2

Commits: 7be365b & 83549e3

Docs: https://valorless.github.io/ValorlessUtils

v1.16.0.306 API & PluginReloader.

20 Aug 22:23
0dc0e1e

Choose a tag to compare

Added: A new and better way to add ValorlessUtils:

<repository>
 <id>jitpack.io</id>
 <url>https://jitpack.io</url>
</repository>

<dependency>
 <groupId>com.github.Valorless</groupId>
 <artifactId>ValorlessUtils</artifactId>
 <version>1.16.0</version>
 <scope>provided</scope>
</dependency>

Added: API Javadocs: https://valorless.github.io/ValorlessUtils

Added: PluginReloader, reload desired plugins with a specific delay.
https://valorless.github.io/ValorlessUtils/valorless/valorlessutils/reloader/PluginReloader.html

Commit: ab6f0b5

v1.15.2.297 Minecraft 1.21.8

31 Jul 22:22

Choose a tag to compare

Added: Minecraft 1.21.8 support

Commit: 9c995a4

v1.15.1.295 Tags/NBT Updates & Fixes.

27 Jul 02:15

Choose a tag to compare

Added: Tags Set/Get List<> versions of String, Integer, Double, and Float.

Added: Tags.Remove(JavaPlugin, ItemStack, String).

Added: NBT.Remove(ItemStack, String).

Fixed: Some issues with Utils.RandomRange().

Commit: f200b4f

v1.15.0.289 Minecraft 1.21.6/7 & Updates.

01 Jul 19:33

Choose a tag to compare

Added: Support for Minecraft 1.21.6/1.21.7

Added: tags.Tags now also has Get/Set/Has for PersistentDataContainer alongside ItemStack, the way the original ValorlessUtils.Tags has.

Added: Boolean - Server.VersionHigherOrEqualTo(Version version).
Returns true is the server's version is the higher or the same as the value given.

Added: Boolean - Server.VersionEqualTo(Version version).
Returns true is the server's version is the same as the value given.

Changed: config.GetFloat() has been marked as deprecated, and replaced with config.GetDouble().
This was a mixup I made early on, before I knew the difference between the two.

Changed: Config backups are now saved as .txt instead of .yml, for plugins where all .yml files in a folder is loaded.

Commit: 23e72a8

v1.14.0.286 Minecraft 1.21.5

23 Apr 01:11

Choose a tag to compare

Updated internal library NBTAPI, should support 1.21.5 now.

Commit: 34cbe0a

v1.13.0.285 Translator Upgrade

06 Apr 22:37

Choose a tag to compare

The Translator function no longer contains language files needed to translate,
but will instead download the desired language from github, for the specific version of the server.
This not only lowers the overall ValorlessUtils file size, but also provides language files
specifically for the server's version, instead of universal file.

Once the desired language has been downloaded, it's stored in ValorlessUtils' plugin data folder for later use.
In case the download fails, a fallback en_us language file is used.

Other Stuff

Added: ValorlessUtils.GetServerVersionString(), returns the server's version as a string. (e.g. "1_21_4")

Fixed: ValorlessUtils.GetServerVersion() now correctly returns the server version.

Commit: c5f0f5a

v1.12.1.270 SFX Hotfix

06 Mar 15:05

Choose a tag to compare

Fixed: An error when playing sounds.

Commit: 92f7ca1

v1.12.0.262 Version & ItemUtils changes.

01 Mar 16:33

Choose a tag to compare

Added: ItemUtils.GetItemModel() & ItemUtils.SetItemModel().

Changed: The native version of the plugin has been changed from 1.21-R0.1 to 1.21.4-R0.1

Changed: Updated language files for 1.21.4.

Commit: aee6cf9