Package me.kzlyth.api.notes


package me.kzlyth.api.notes
API package for managing player notes in Zenith-Mod.

This package contains the NotesAPI class and Note model, which provide methods to create, retrieve, search, and delete player notes.

Database Compatibility: All methods in this API are fully compatible with H2, SQLite, MySQL, and MariaDB databases. The API automatically adapts to the configured database type from the configuration file.

Example usage:


 ZenithAPI api = ZenithAPI.getInstance();
 if (api != null) {
     NotesAPI notesAPI = api.getNotesAPI();
     
     UUID uuid = UUID.fromString("123e4567-e89b-12d3-a456-426614174000");
     notesAPI.getNotes(uuid).thenAccept(notes -> {
         getLogger().info("Player has " + notes.size() + " notes");
     });
 }
 
Seit:
1.2.3
Autor:
Zenith-Studios
  • Klassen
    Klasse
    Beschreibung
    Represents a note entry retrieved from the database.
    API for managing player notes in Zenith-Mod.