
MagicKPvP
MagicKPvP is a Paper Minecraft PvP plugin for configurable kits, custom item abilities, kit purchasing, and an in-game kit selection menu. It uses Vault to connect to the server's economy provider.
Оцените первым
25
0
Список изменений
Added
- Seven example kits in
items.yml(pyromancer,stormcaller,shadow,summoner,voidwalker,trickster,warden) that use all 15 ability types. - Menu entries in
config.ymlfor every example kit, with display items and lore. The menu is now 36 slots. magickpvp.xp,magickpvp.xp.adminandmagickpvp.bypassare declared inplugin.ymland included inmagickpvp.admin.softdepend: [WorldGuard, LuckPerms]inplugin.yml./magickpvp xplisted in the command usage and in theusagemessage.- A rewritten
README.mdcovering storage, rewards, ranks, combat tagging, item protection, the WorldGuard flag and every ability option. - Shared
EntityDamageByEntityEvent.attacker()extension. KitManager.hasActiveKit().
Changed
- Abilities were split out of the single
Abilities.ktinto one file per ability inabilities/. - Player data moved from
data.ymlto SQLite or MySQL through HikariCP. Reads and writes go through a single storage thread, and an existingdata.ymlis imported once and renamed todata.yml.migrated. - Source files were reorganized into folders.
AbilityHandler: the cooldown check that was copied inonItemClick,onLaunchandonEntityClickis now onestartCooldownhelper. Messages and behavior are unchanged.KitManager.select: the list of every helmet, chestplate, legging and boot material was replaced with a check on the item's equipment slot.KitMenu:PreviewHolderwas merged intoMenuHolder, and the duplicated slot list and border drawing were moved intocontentSlotsanddecorate.SqlPlayerStorage: the repeated connection and statement code was moved into three helpers.DataManagernow uses the class directly.ItemLoadernow parses durations withparseTicks.CombatManagerandRewardManageruse the sharedattacker()extension.
Performance
- The 4-tick passive ability loop now skips players who have no selected kit, which avoids reading item metadata for up to six items per player every 4 ticks.
Fixed
messages.ymlwas rewritten on every load because of theinfoblock. The block was removed, so the file is only saved when a key is actually missing.- Permissions the code checks but
plugin.ymldid not declare (magickpvp.xp,magickpvp.xp.admin,magickpvp.bypass) defaulted to operators only. Normal players could not use/mkp xp. - WorldGuard could load after MagicKPvP and the
magickpvp-abilitiesflag would not register. Thesoftdependentry fixes the load order.
Removed
SqlKitStorage, thePlayerStorageinterface,ItemLoader.parseDuration,KitMenu.PreviewHolder, and the unusedinfolist inmessages.yml.
Файлы
MagicKPvP-1.1.2.jar(2.06 MiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.1.2
Загрузчики
PaperSpigot
Версии игры
1.21.11–26.3
Загрузок
1
Дата публикации
10.10.2026
