Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Teams API
Все версииTeamsAPI 2.5.0 (Velocity) [Experimental]

TeamsAPI 2.5.0 (Velocity) [Experimental]

Beta1 нед. назад

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

Non-breaking additions. No changes required for existing providers or consumers.

Added

Convenience methods

  • TeamsService.getTeamIds() - returns all team UUIDs for iteration without loading full team objects.
  • Team.getOwner() - default method returning the owner's TeamMember record.
  • VelocityTeam.getMemberUUIDs() - returns UUIDs of all members.
  • VelocityTeam.getOwner() - default method returning the owner's record.

Role prefix reset

New resetPrefixOverride() method on both TeamRole and TeamRoleDefinition clears any active prefix override, restoring the built-in default:

TeamRole.OWNER.setPrefixOverride("[Lord]");
TeamRole.OWNER.resetPrefixOverride(); // back to "Owner"

Equivalent to calling setPrefixOverride(null).

  • TeamsAPI.API_VERSION updated to 2.5.0.

Changed

  • docs/api.md Team lookup section now correctly lists getTeam, getTeamByName, and getPlayerTeam alongside getAllTeams, getTeamCount, and getTeamIds.
  • docs/velocity.md updated to document getMemberUUIDs() and getOwner() on VelocityTeam.

Migration

No behavioural changes for existing providers or consumers.

Метаданные

Канал релиза

Beta

Номер версии

2.5.0-velocity

Загрузчики

Velocity

Версии игры

1.16–26.1.2

Загрузок

3

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

1 нед. назад

Загрузил

ID версии

Главная