Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/PvPIndex Battle
Все версииPvPIndex Battles 1.0.3 (Velocity)

PvPIndex Battles 1.0.3 (Velocity)

Release1 мес. назад

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

Added

  • TeamsAPI guard: optional integration with TeamsAPI that prevents players on the same team from challenging each other. Disabled by default (teams_guard.block_same_team: false). Requires TeamsAPI + a compatible team plugin on the server; if either is absent, the feature is silently skipped (fail-open).
  • New TeamsGuardService class in platform-paper — encapsulates the same-team lookup with graceful NoClassDefFoundError handling so the plugin loads cleanly whether or not TeamsAPI is on the classpath.
  • TeamsAPI added to softdepend in plugin.yml so Paper loads it before PvPIndex Battles when both plugins are present.
  • New config section teams_guard in config.yml.
  • New lang keys challenge.same_team and challenge.same_team_target in all bundled language files (en, de, nl, es, pl, zh).
  • JitPack repository added to parent pom.xml; teams-api:1.5.0 added as a provided dependency in pvpindex-platform-paper.

Fixed

  • Spigot/Paper/Folia compatibility: removed all Adventure API calls that are only available on Paper. The plugin now runs on plain Spigot without NoSuchMethodError crashes.
    • player.sendMessage(Component)player.sendMessage(String)
    • player.showTitle(Title)player.sendTitle(String, String, int, int, int)
    • player.playSound(Sound)player.playSound(Location, org.bukkit.Sound, float, float)
    • Bukkit.createInventory(holder, size, Component) → String overload
    • meta.displayName(Component) / meta.lore(List<Component>)setDisplayName / setLore
    • ClickEvent / HoverEvent (Adventure) in challenge messages replaced with BungeeCord chat API (player.spigot().sendMessage(...))
  • MiniMessage and &-style colour codes are still fully supported for config authors: inputs are parsed internally via MiniMessage/LegacyAmpersand and serialised to §-prefixed legacy strings before being passed to Bukkit APIs.
  • Enchantment glint on active GUI tabs now uses item.addUnsafeEnchantment (an ItemStack method, not ItemMeta), fixing a compile error against Paper API 1.21.
  • Removed references to GameRule fields that do not exist on older Bukkit versions (FALL_DAMAGE, FIRE_DAMAGE, FREEZE_DAMAGE, DROWNING_DAMAGE).

Метаданные

Канал релиза

Release

Номер версии

1.0.3-velocity

Загрузчики

Velocity

Версии игры

1.21–26.1.2

Загрузок

4

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

1 мес. назад

Загрузил

ID версии

Главная