▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Teams API
Teams API

Teams API

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

Оцените первым
583
2
Все версииTeamsAPI 2.1.0

TeamsAPI 2.1.0

Release24.05.2026

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

Added

  • Optional RelationNature enum (FRIENDLY, NEUTRAL, HOSTILE) to the model package. Each TeamRelation constant carries a built-in default nature which may be queried with getDefaultNature().
  • Consumer override support: TeamRelation#setNatureOverride(RelationNature) and TeamRelation#getNature() - allows server or provider code to re-categorise a relation at runtime. Passing null to setNatureOverride clears the override and restores the builtin default. Overrides are visible JVM-wide because enum constants are singletons.
  • Unit tests: TeamRelationTest covering default natures and override behaviour.

Changed

  • TeamsAPI.API_VERSION bumped to 2.1.0.

Migration

No behavioural changes to existing TeamRelation helpers: isFriendly() and isHostile() remain unchanged and existing consumers require no changes. Providers that wish to reclassify relations (for example treating TRUCE as NEUTRAL) may call setNatureOverride(...) during initialisation.

Файлы

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

Метаданные

Канал релиза

Release

Номер версии

2.1.0

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.16–26.1.2

Загрузок

11

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

24.05.2026

Загрузил

ID версии

Главная