Skip to content

alazso/strata

Repository files navigation

Strata

Build Downloads Minecraft License

Documentation Source Support Discord


⚠️ Strata is a shared library, not a standalone plugin. Currently only one plugin natively depends on it: ProVouchers. Strata is currently under review on Modrinth, so for now grab it from GitHub releases.


Features

🗓️ Folia-safe scheduler One scheduling API over region, global, async, and entity threads.
💬 Text and messages MiniMessage with PlaceholderAPI and MiniPlaceholders, plus a localized message catalog.
🗄️ Storage Pooled SQLite, MySQL, MariaDB, and PostgreSQL with migrations and key-value stores.
🔌 Integrations Permissions, economy, regions, and custom items behind one degrade-gracefully registry.
🎚️ Conditions Config-driven predicates: permission, world, region, economy, rank, and more.
🖼️ GUIs Holder-based chest menus, pagination, and anvil and chat input.
🧰 Utilities Player lookup, item serialization, skull builder, PDC keys, config schema, cooldowns.
🪶 Folia-ready Off-thread storage and region-safe scheduling throughout.

🚀 Using it

Install strata-<version>.jar in plugins/, then build against the API:

// build.gradle.kts
repositories { maven("https://repo.alaz.so/releases") }
dependencies { compileOnly("so.alaz.strata:strata-api:0.9.0") }
# paper-plugin.yml
dependencies:
  server:
    Strata:
      load: BEFORE
      required: true

Then reach everything through StrataApi:

StrataApi.scheduler(this).async(() -> doWork());             // Folia-safe scheduling
StrataApi.messages(this).send(player, "welcome");            // localized messages
EconomyHook eco = StrataApi.hooks().get(EconomyHook.class);  // null if none installed

Your plugin ships no Kotlin runtime of its own; Strata provides it at runtime. The documentation covers every service with examples.


📦 Requirements

Server Paper, Folia, or Purpur
Minecraft 26.1 or newer
Java 25

🗺️ Roadmap

  • Hologram provider implementations
  • Scoreboard and bossbar helpers
  • Placeholder expansion registration

Released under the MIT License. · Contributing

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors