Minecraft plugin NBTAPI

NBT-API is a Minecraft plugin library that provides a stable API to read, write and store NBT data for items, entities and tile entities without directly using server internals.

Find a server with NBTAPI

46 servers reported NBTAPI

All servers with NBTAPI

About NBTAPI

🔌 About NBT-API

NBT-API (Item-NBT-API) is a Minecraft plugin library that lets developers read, write and attach NBT tags to items, entities and tile entities without using NMS. The project exposes a stable wrapper for working with NBT across server versions and provides utilities to serialize and persist NBT data.

🎯 Purpose

Provide a developer-facing API for manipulating Named Binary Tag (NBT) data so plugin authors can store metadata, custom item data, entity tags or tile-entity data without directly depending on server internals.

⚙️ Features

  • Read and write NBT for items, entities and tile entities.
  • Create and modify nested NBT compounds and primitive tag types.
  • Utilities to store NBT as text or in other containers.
  • Support for serializing NBT into files or as strings for storage in YAML/JSON/SQL/Redis.
  • Aims to provide a stable abstraction layer across server version changes.

🧩 Who It Is For

  • Plugin developers needing reliable NBT access without writing NMS.
  • Servers that require custom item metadata or persistent entity/tile data managed by plugins.

🏗️ Example Use Cases

  • Attach custom metadata to an item stack that persists across saves.
  • Store extra properties on entities (for example custom identifiers) without changing server code.
  • Serialize item or block NBT into a database or configuration file for later restoration.

⚙️ Installation

📥 Setup

  • Download the official plugin JAR and/or include the API as a dependency in your build system.
  • Place the plugin JAR into the server plugins/ directory (if using the plugin build) or add the API as a compile/runtime dependency for your plugin.
  • Restart the server and check the server console to confirm the library/plugin loaded correctly.

🧠 Technical Notes

  • The project is published and maintained on GitHub and is distributed under the MIT license.
  • Official sources identify support for Bukkit/Spigot/Paper server environments.
  • The library includes modules for direct use in plugin projects and a plugin module for server use.

🤝 When This Plugin Is Useful

If you need reliable, version-tolerant access to NBT for items, entities or tile entities without touching NMS, NBT-API provides a focused library that simplifies reading, writing and persisting that data for plugin developers.

Comments

No comments yet

Be the first to comment.

For server admins

Authors
tr7zw
License
MIT
Supported platforms
Bukkit, Spigot, Paper
Supported versions
1.7.10

Links

What servers report

Server platforms

  • Paper35
  • CraftBukkit3
  • Purpur3
  • Arclight2
  • Mohist1

Plugin versions

  • 2.16.112
  • 2.15.712
  • 2.16.08
  • 2.15.56
  • 2.15.13

Counts come from servers that list their plugins when MSHQ checks them. Many servers hide this list, so real usage is higher.