AnhyLibAPI

⭐ — (3 endorsements) 📥 917 downloads 📌 v1.7.0 📅 12/21/2023
⚪ Last updated 2024

By AnhyDev · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/2/2024 📅 Created: 12/21/2023

🔍 Analysis

  • 👍 0.3% endorsement rate
  • 🏆 #171 of 1452 bukkit mods in this game by downloads

📋 About This Mod

# AnhyLibAPI: For Minecraft Plugins **AnhyLibAPI** is a library designed for integration into Minecraft plugins, developed to enhance their capabilities on servers running on Spigot, Paper, Purpur, and other Spigot forks **ProtocolLib** plugin version 5.0.0 or higher is required for operation. **AnhyLibAPI** must be loaded on the server as a plugin. It's crucial to understand that **AnhyLibAPI**, in its role as a plugin, does not monitor any events, have timers, or interact with the world or players, ensuring no additional load on the server's operation and performance. The primary purpose of **AnhyLibAPI** is to provide its API to other plugins, serving as a robust foundation for extending their functionality. This design ensures that **AnhyLibAPI** enhances plugin capabilities without compromising server efficiency. ### Key Features: * **Multilingual Support**: Easy integration of language packs for plugins. * **NBT Tags Handling**: Advanced management of NBT tags for flexible data interaction. * **Player Persistent Data**: Efficient use of persistent data for players. * **Customizing Messages**: Individual customization of message delivery to players. * **Logging**: Unique methods for event logging. ### Key Features of AnhyLibAPI #### 1. Multilingual Support AnhyLibAPI implements a unified standard for multilingual support by checking "Player Persistent Data" for the player's selected language. If a selected language is not found, the player's Minecraft client language is used by default. Additionally, it supports the inclusion of a list of preferred languages, enhancing flexibility in localization. #### 2. NBT Tags Handling AnhyLibAPI simplifies the addition, modification, and deletion of NBT tags in items, enabling developers to effortlessly manage key item data within the game. #### 3. Player Persistent Data This feature allows for the storage, retrieval, and modification of players' personal data, such as settings, statuses, and achievements, providing deep personalization and preservation of individual player details. #### 4. Customizing Messages and Logging These functionalities offer message customization and color-coded logging for various message types. They enhance communication between plugins and players and facilitate more effective tracking and analysis of events within plugins. ### Documentation: JavaDoc for AnhyLibAPI are available at the following link: (https://dev.anh.ink/anhylibapi/javadoc/). ### Integration with Gradle and Maven: #### Gradle: ```groovy dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } } ``` ```groovy dependencies { implementation 'com.github.AnhyDev:AnhyLibAPI:v1.4.0' } ``` #### Maven: ```xml <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> ``` ```xml <dependency> <groupId>com.github.AnhyDev</groupId> <artifactId>AnhyLibAPI</artifactId> <version>v1.4.0</version> </dependency> ``` ### Plugin Writing Examples: For a comprehensive, ready-to-use plugin example that implements AnhyLibAPI, visit the following link: (https://github.com/AnhyDev/ResourcesHub/tree/main/AnhyLibAPI/examples/ExampleLangPlugin). This example is more than just sample code; it is a fully functional plugin featuring multilingual support, configurable settings, and player commands. Developers can use this plugin as a foundation, renaming and repackaging as needed, while also adding their own code to extend its functionality. It serves as an excellent starting point for understanding and applying AnhyLibAPI in a practical, real-world plugin project. #### See below for some examples from this code: ```java package ink.anh.example; import java.io.File; import java.io.IOException; import org.bukkit.Bukkit; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.plugin.Plugin; import ink.anh.api.LibraryManager; import ink.anh.api.lingo.Translator; import ink.anh.api.lingo.lang.LanguageManager; import ink.anh.api.messages.Logger; import net.kyori.adventure.platform.bukkit.BukkitAudiences; import net.md_5.bungee.api.ChatColor; public class GlobalManager extends LibraryManager { private static GlobalManager instance; private ExampleLangPlugin plugin; private LanguageManager langManager; private String pluginName; private String defaultLang; private static BukkitAudiences bukkitAudiences; private boolean debug; private GlobalManager(ExampleLangPlugin plugin) { super(plugin); this.plugin = plugin; this.saveDefaultConfig(); this.loadFields(plugin); } public static synchronized GlobalManager getManager(ExampleLangPlugin plugin) { if (instance == null) { instance = new GlobalManager(plugin); } return

# AnhyLibAPI: For Minecraft Plugins

AnhyLibAPI is a library designed for integration into Minecraft plugins, developed to enhance their capabilities on servers running on Spigot, Paper, Purpur, and other Spigot forks

ProtocolLib plugin version 5. 0. 0 or higher is required for operation.

AnhyLibAPI must be loaded on the server as a plugin. It's crucial to understand that AnhyLibAPI, in its role as a plugin, does not monitor any events, have timers, or interact with the world or players, ensuring no additional load on the server's operation and performance. The primary purpose of AnhyLibAPI is to provide its API to other plugins, serving as a robust foundation for extending their functionality. This design ensures that AnhyLibAPI enhances plugin capabilities without compromising server efficiency.

### Key Features:

Multilingual Support: Easy integration of language packs for plugins. NBT Tags Handling: Advanced management of NBT tags for flexible data interaction. Player Persistent Data: Efficient use of persistent data for players. Customizing Messages: Individual customization of message delivery to players. * Logging: Unique methods for event logging.

### Key Features of AnhyLibAPI

#### 1. Multilingual Support AnhyLibAPI implements a unified standard for multilingual support by checking "Player Persistent Data" for the player's selected language. If a selected language is not found, the player's Minecraft client language is used by default. Additionally, it supports the inclusion of a list of preferred languages, enhancing flexibility in localization.

#### 2. NBT Tags Handling AnhyLibAPI simplifies the addition, modification, and deletion of NBT tags in items, enabling developers to effortlessly manage key item data within the game.

#### 3. Player Persistent Data This feature allows for the storage, retrieval, and modification of players' personal data, such as settings, statuses, and achievements, providing deep personalization and preservation of individual player details.

#### 4. Customizing Messages and Logging These functionalities offer message customization and color-coded logging for various message types. They enhance communication between plugins and players and facilitate more effective tracking and analysis of events within plugins.

### Documentation:

JavaDoc for AnhyLibAPI are available at the following link: (https://dev.anh.ink/anhylibapi/javadoc/).

### Integration with Gradle and Maven:

#### Gradle:

```groovy dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode. FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } } ``` ```groovy dependencies { implementation 'com.github. AnhyDev:AnhyLibAPI:v1. 4. 0' } ```

#### Maven:

```xml jitpack.io https://jitpack.io ``` ```xml com.github. AnhyDev AnhyLibAPI v1. 4. 0 ```

### Plugin Writing Examples:

For a comprehensive, ready-to-use plugin example that implements AnhyLibAPI, visit the following link: (https://github.com/AnhyDev/ResourcesHub/tree/main/AnhyLibAPI/examples/ExampleLangPlugin). This example is more than just sample code; it is a fully functional plugin featuring multilingual support, configurable settings, and player commands. Developers can use this plugin as a foundation, renaming and repackaging as needed, while also adding their own code to extend its functionality. It serves as an excellent starting point for understanding and applying AnhyLibAPI in a practical, real-world plugin project.

#### See below for some examples from this code:

```java package ink.anh.example;

import java.io. File; import java.io. IOException; import org.bukkit. Bukkit; import org.bukkit.configuration.file. YamlConfiguration; import org.bukkit.plugin. Plugin;

import ink.anh.api. LibraryManager; import ink.anh.api.lingo. Translator; import ink.anh.api.lingo.lang. LanguageManager; import ink.anh.api.messages. Logger; import net.kyori.adventure.platform.bukkit. BukkitAudiences; import net.md_5.bungee.api. ChatColor;

public class GlobalManager extends LibraryManager {

private static GlobalManager instance; private ExampleLangPlugin plugin;

private LanguageManager langManager; private String pluginName; private String defaultLang; private static BukkitAudiences bukkitAudiences; private boolean debug;

private GlobalManager(ExampleLangPlugin plugin) { super(plugin); this.plugin = plugin; this.saveDefaultConfig(); this.loadFields(plugin); }

public static synchronized GlobalManager getManager(ExampleLangPlugin plugin) { if (instance == null) { instance = new GlobalManager(plugin); } return

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
AnhyDev
Version
1.7.0
Downloads
917
Endorsements
3
Category
bukkit
Created
12/21/2023
Updated
8/2/2024
Game Versions
1.17.1, 1.18, 1.18.1, 1.18.2, 1.19
Tags
library, social, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does AnhyLibAPI support?

The author lists 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1. Other versions may work but are untested by the author.

What is the latest version of AnhyLibAPI?

Version 1.7.0, published 2024-08-02 with 917 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by AnhyDev 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods