▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
FPerk

FPerk

Perk plugin with bungeecord support

Оцените первым
364
1
Все версииFPerk 1.3.0

FPerk 1.3.0

Release03.08.2026

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

✨ Public Skill API

Other plugins can now register their own skill types instead of being limited to the built-in ones:

FPerk fperk = (FPerk) getServer().getPluginManager().getPlugin("FPerk");
fperk.getSkillRegistry().register(this, new MySkill());

A registered skill automatically inherits the icon, permission, cooldown and duration of whatever perk references it. Under the hood, all fourteen built-in behaviors (Fly, Heal, Keep Inventory, Auto Smelt, Anti Phantom, …) now go through this same API, handled by a new SkillService that manages activation, deactivation, expiry, and restoration on join/respawn/server switch.

🐛 Fixes

  • Cooldowns and timed perks: the activation date was rewritten on every deactivation instead of being preserved, which reset the cooldown and the remaining duration each time. It's now stamped once, on activation.
  • /perk modify: the command now honours the boolean argument you pass instead of always toggling, and checks the perk's own permission — previously, holding fperk.modify granted every perk regardless of its configured permission.
  • Perks listing a skill missing from skill.yml no longer crash the GUI when opened.
  • skillFormat is now actually applied to skill lines in a perk's lore (the option existed in config but was never read).
  • Fixed the {NewStatus} placeholder in modify_perk to match what the language files use.
  • lang_en.yml / lang_fr.yml: added the missing databaseerror key, fixed a leftover description from another plugin, and corrected a few French typos.
  • perk.yml: fixed unit comments (delay in milliseconds, duration in seconds), removed the unimplemented bannedWorld option, and gave the Heal perk its own permission instead of reusing fperk.fly.
  • gui/mainGui.yml: default labels are now in English, matching the default language.

🧪 Tests

First automated test suite, built on JUnit 5, Mockito and MockBukkit — covers the skill registry and handler contract, all configuration loaders, the shipped default files, storage against a real SQLite database, the built-in skills, and the SkillService lifecycle.

⚠️ Internal

The old per-event listeners (BlockBreakListener, DeathListener, EntityDamageListener, EntityDamageByEntityListener, EntityTargetListener, PlayerChangedWorldListener, PlayerMoveListener, PlayerToggleFlightListener) and the EffectType enum are gone, replaced by the skill handler architecture above. No configuration changes needed on your end — this only matters if you were hooking into FPerk's internals directly.

Full changelog: https://github.com/Florianpal1/FPerk/compare/V1.2.6...V1.3.0

Файлы

FPerk-1.3.0.jar(659.45 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

V1.3.0

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.16–26.2

Загрузок

7

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

03.08.2026

Загрузил

ID версии

Главная