ValorlessUtils [1.18-1.21.11] icon

ValorlessUtils [1.18-1.21.11] -----

Utility library for easier plugin development.



v1.19.0.374 Updates
ValorlessUtils is now compiled with Java21.

Refactored: All Config methods have had their first letter lowercased, and the old marked as deprecated.
I'll slowly start converting other classes to the same formatting.
Config.GetString() -> Config.getString()

Added: valorless.valorlessutils.logging.Log to replace valorless.valorlessutils.ValorlessUtils.Log
ValorlessUtils.Log has been marked deprecated and MarkedForRemoval

Added: PlayerCache and SkinCache.
- PlayerCache: Get player UUID or OfflinePlayer by their username.
- SkinCache: Get player skins by their username. Can be used to populate player heads without having to call Mojang's api, as setting too many heads returns HTTP 429.
Code (Java):
ItemStack head = new ItemStack (Material. PLAYER_HEAD ) ;
SkullMeta meta = (SkullMeta ) head. getItemMeta ( ) ;
PlayerProfile profile = SkinCache. getProfile (player. getName ( ) ) ;
if (profile != null ) {
    meta. setOwnerProfile (profile ) ;
}
head. setItemMeta (meta ) ;

Added: Server methods.
- boolean <- Server.isServerLikelyLoaded()
Determines if the server has been fully loaded, hinting that the plugin was most likely enabled after startup rather than on initial server start.
- boolean <- Server.serverHasBeenUpLongerThan(long)
Checks if the server JVM has been running longer than the specified milliseconds.

Added: Config methods.
- OfflinePlayer <- Config.getOfflinePlayer(String)
- void -> Config.setOfflinePlayer(String, OfflinePlayer)
- ConfigurationSerializable <- Config.getSerializable(String, Class<T extends ConfigurationSerializable>)
- void -> Config.setSerializable(String, ConfigurationSerializable)
- List<String> <- Config.getInlineComments(String)
- void -> Config.setInlineComments(String, List<String>)

Added: ValidationEntry now accepts addValidationEntry(String key, Object value, List<String> comments, boolean inline) <-- boolean inline

Added: valorless.valorlessutils.logging.Log now supports colors in the console.

Updated: NBTAPI to v2.15.7.

Fixed: An issue where configs that hadn't been created are marked as "not found" before being created.
This was due to a change for the config backup function.

Commit: a069364
Pull: #14
----------, May 1, 2026
Resource Information
Author:
----------
Total Downloads: 10,092
First Release: May 1, 2023
Last Update: May 1, 2026
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings