Common Library for Leralix's Plugins
SphereLib is a common Java library designed to centralize key methods from multiple projects, reducing code duplication and speeding up development
Current uses :
- Command manager
- Sound library
- Config file auto-updater
- Common plugin version check
- Common vector handling
- GUI element creation
Included in :
- Towns and Nations
- Towns and Nations - Dynmap
- Towns and Nations - Squaremap
- Towns and Nations - Bluemap
- Exotic Trades
- Exotic Trades - Dynmap
- Exotic Trades - Squaremap
- Exotic Trades - Bluemap
How to Install SphereLib (Plugin)
SphereLib by Leralix is verified for Paper, Spigot across Minecraft versions 1.0, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 0.6.3, file size: 44 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.0, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Paper, Spigot).
- Make sure you have the compatible loader or environment installed for Paper, Spigot.
- Move the downloaded SphereLib file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version- mergeAndPreseveLines() now handles blacklisted lists with content
- Fixing /<command> help always showing syntax "/**tan **help"
- Default command of a Command manager can now be customized
- ConfigUtil storage is now marked as deprecated.
- saveFileAndUpdate() now returns the YamlConfig instead of storing it.
- getChunk()
- getArea()
Added methods to Vector 3D :
- getArea()
- Draw a line
- .getDistance() for 2D and 3D Vectors
- Fixed a bug where adding new configuration lines in a specific pattern would reset all subsequent entries.
- New :**
- Several commands can now be sent from any command sender
- Fixed cardinal point for
/tan map - Towns and Nations will no longer work if SphereLib is below the minimum version required
- Fixing ConfigUtil with blacklists
- New**
- using commands without proper argument will show the help command