Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Teams API
Teams API

Teams API

TeamsAPI is a passive, server-side bridge plugin for Paper servers, inspired by Vault

3
0
Все версииTeams API 1.0.1

Teams API 1.0.1

Release2 нед. назад

Список изменений

Initial release of TeamsAPI, a universal, provider-agnostic bridge plugin for Paper servers, modelled on Vault.


What is TeamsAPI?

TeamsAPI decouples plugins that provide team data (faction, clan, guild plugins) from plugins that consume it (scoreboards, chat formatters, quest systems). Neither side needs to know about the other. When the team plugin changes, every consumer keeps working without a recompile.


API highlights

  • TeamsAPI static facade — getService(), isAvailable(), registerProvider(), unregisterProvider()
  • TeamsService interface — team lifecycle, lookup, membership management, and predicate helpers
  • Team / TeamMember — read-only snapshot interfaces; providers own the backing data
  • TeamRole enum — OWNER (100) › ADMIN (50) › MEMBER (10) with outranks() and canManage()
  • 5 cancellable eventsTeamCreateEvent, TeamDeleteEvent, TeamJoinEvent, TeamLeaveEvent, TeamRoleChangeEvent
  • Graceful fallback — if no provider is registered, isAvailable() returns false and all facade methods return safe empty/false values

Requirements

  • Paper 26.1+
  • Java 25+

Installation

Drop teams-api-plugin-1.0.0.jar into your server's plugins/ folder alongside a compatible team plugin, then restart.


For developers

Add the API to your project via JitPack:

  • Maven - com.github.ez-plugins:teams-api:1.0.1 (scope provided)
  • Gradle - compileOnly 'com.github.ez-plugins:teams-api:1.0.1'

See the Developer Guide for provider and consumer integration walkthroughs, and the API Reference for full method tables.

Файлы

teams-api-plugin-1.0.1.jar(15.63 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.1

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

26.1–26.1.2

Загрузок

2

Дата публикации

2 нед. назад

Загрузил

ID версии

Главная