Minecraft Servers HQ

Minecraft plugin Database

Information about the Minecraft plugin Database and servers where it is used

APIUtilityDeveloperPersistenceLibrariesStorageYAMLFile-IO

🔌 About Database

Database — this is a lightweight Java library for Minecraft plugins that provides simple YAML‑based file storage and helper methods for plugin developers. Database is intended as a developer library (a resources/API entry) rather than a user‑facing server plugin; it exposes methods to create, save, delete and read YAML files for use inside other plugins.

🎯 Purpose

Database solves the need for an easy-to-use file‑backed storage API for plugin developers who want per‑plugin YAML persistence without writing repetitive file‑I/O code. It targets developers building Spigot/Paper plugins and acts as a small library to manage YAML files. ()

⚙ Main features

  • Create named YAML files programmatically (db.create("Name")).
  • Save and load YAML files via API (db.save("Name"), db.getYML("Name")).
  • Delete files and folders (db.delete("Name"), db.clearFolder(), db.deleteFolder()).
  • Set or change storage folder (db = new DataBase(this, "foldername"); db.setFolder("foldername")).
  • Query folder statistics (file count and folder size) and file size helpers (db.getFolderFileCount(), db.getFolderSize(), db.getFileSize("Name")).
  • Returns File and list accessors for folder contents (db.getFolderFile(), db.getFolderFiles()). ()

🧩 Who is this for

  • Plugin developers who need simple YAML persistence.
  • Developers building Spigot or Paper plugins that require storing structured per‑plugin data.
  • Projects that prefer file‑based storage over a database for small datasets. ()

🏗 Usage examples

  • Use Database in onEnable():
public class Main extends JavaPlugin {
  public DataBase db;
  public void onEnable(){
    db = new DataBase(this);
  }
}
  • Create and save a YAML entry: db.create("users"); db.getYML("users").set("player.uuid.value", 100); db.save("users");. All examples above are from the resource description. ()

⌨️ Commands

КомандаОписPermissionДоступ
The Database library does not add runtime commands.Console/Developer

The Database resource is a developer library and does not provide user commands. ()

🔐 Permissions

PermissionОписDefault
Database library does not define plugin permissions (it's an API).false

This library does not register permission nodes; permissions are to be implemented by the plugin that uses Database. ()

⚙ Installation

📥 Installation

  • The resource is provided as a Java class for inclusion in your plugin project. The Spigot resource suggests downloading the file from the linked GitHub and adding the .java to your project (or copy the class into your codebase). After compilation include it in your plugin jar. ()

📦 Dependencies

  • No external runtime dependencies are listed on the resource page. The library uses standard YAML file storage and file I/O. ()

🧾 Configuration

  • Database does not generate a config.yml for end users; it provides programmatic APIs to manage files and folders. Plugins using Database implement their own configuration and storage layout via the provided methods. There is no mention of MySQL/SQLite support — Database is a YAML/file‑based helper. ()

🧠 Additional information

Known conflicts

  • No conflicts are listed on the resource page. Since Database is a library that manipulates files, conflicts could occur if multiple libraries/plugins attempt to manage the same folder or filenames. Test in a development environment. ()

Limitations

  • Database is a file‑based YAML helper, not a relational database interface. It is intended for plugin developers and small data sets, not for large transactional data or cross‑server synchronization. The resource lists native/tested major Minecraft version 1.13. Do not assume compatibility with other server versions without testing. ()

FAQ

Q: Can I install Database as a standalone plugin on a server?
A: The resource indicates Database is provided as a Java class for developers to include in their plugin project, not as a standalone user plugin. ()

Q: Does Database create a config.yml or folder automatically?
A: The API exposes methods to set and manage a folder and files; creation and saving are done via API calls (db.create, db.save, db.setFolder). The resource shows these methods. ()

Q: Is there MySQL/SQLite support?
A: No MySQL/SQLite support is indicated — Database is YAML/file‑based according to the resource. ()

Q: Does Database collect stats (bStats) or offer Discord support?
A: The resource page does not mention bStats or Discord integration. ()

— Keywords included: minecraft plugin, spigot plugin, paper plugin, minecraft server, plugin commands, plugin permissions. The above description references Database multiple times and is sourced from the Spigot resource for Database. ()

Useful links

Servers with Database

Minecraft plugin Database is used on public servers to extend gameplay, add new mechanics, or improve server management. This page contains up-to-date information about the plugin's purpose, usage, and popularity among servers.

The catalog of servers with Database is generated automatically based on real data. You can see which Minecraft servers have this plugin installed, how often it is used, and what role it plays in gameplay.

Database usage statistics help assess its relevance and distribution. Data is updated regularly and reflects the real state of the Minecraft server ecosystem without manual input.

The Minecraft plugin Database page is useful for server owners choosing functionality for their project and for players who want to understand what features a server with this plugin offers.

Use this page to find Minecraft servers with the Database plugin, analyze its popularity, and make an informed decision about using the plugin on your server.