Releases: Valorless/ValorlessUtils
v1.17.0.313 Minecraft v1.21.9-10 & NBT Update.
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.
Changed: Updated NBTAPI to 2.15.2
Fixed: Added missing Server.Version.v1_20_2
v1.16.0.306 API & PluginReloader.
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
Added: Minecraft 1.21.8 support
Commit: 9c995a4
v1.15.1.295 Tags/NBT Updates & Fixes.
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.
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
Updated internal library NBTAPI, should support 1.21.5 now.
Commit: 34cbe0a
v1.13.0.285 Translator Upgrade
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
Fixed: An error when playing sounds.
Commit: 92f7ca1
v1.12.0.262 Version & ItemUtils changes.
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