
EmakiAttribute
Full RPG attribute and damage engine with 40+ stats and multi-stage calculation
12
0
View Full Wiki Documentation | Join Discord Community | QQ Group
EmakiAttribute replaces vanilla damage with a fully configurable, multi-stage calculation pipeline. Define physical, projectile, and spell damage types — each with their own attack, crit, defense, and recovery stages — all driven by YAML. Items gain stats simply by having them in their Lore; no code required.
Key Features
- 40+ Built-in Attributes — Offense, defense, crit, penetration, lifesteal, dodge, resources, and more
- 3 Damage Types — Physical, projectile, and spell, each with independent calculation pipelines
- Multi-Stage Damage Engine — Attack → Crit → Defense → Recovery, every stage configurable via YAML
- Lore Parsing — Attributes are read directly from item Lore with customizable formats
- PDC Attribute API — Write attributes to items via PersistentDataContainer, bypassing Lore entirely
- Resource System — Health and mana with automatic regeneration, extensible to custom resources
- Attribute Balance — Weighted power score (
attribute_power) for equipment comparison - PlaceholderAPI —
%emakiattribute_<id>%and%emakiattribute_resource_<id>_<field>% - MythicMobs Integration — Automatically intercepts MythicMobs damage events
- MMOItems Integration — Reads attribute data from MMOItems equipment
- Combat Debug — Real-time damage calculation breakdown per player
- Config Lint — One-command validation of all configuration files
Damage Pipeline Example (Physical)
Base Damage → Attack (FLAT + PERCENT) → Crit (CHANCE × MULTIPLIER) → Defense (FLAT subtract) → Lifesteal
Commands
| Command | Description | Permission |
|---|---|---|
/ea reload | Reload configuration | emakiattribute.reload |
/ea resync [player/all] | Resync player attributes | emakiattribute.resync |
/ea preview [player] [slot] | Preview item attribute snapshot | emakiattribute.debug |
/ea dump [player] | Export full player attribute dump | emakiattribute.debug |
/ea debug [player] [on/off] | Toggle combat debug mode | emakiattribute.debug |
/ea lint | Validate configuration files | emakiattribute.reload |
Permissions
| Permission | Default | Description |
|---|---|---|
emakiattribute.use | true | Basic command access |
emakiattribute.reload | op | Reload configuration |
emakiattribute.resync | op | Resync attributes |
emakiattribute.debug | op | Debug tools |
emakiattribute.admin | op | Admin access |
Dependencies
| Type | Plugin |
|---|---|
| Required | EmakiCoreLib |
| Soft | MythicMobs, PlaceholderAPI, MMOItems |
Создатели
Детали
Лицензия:GPL-3.0-only
Опубликован:2 недели назад
Обновлён:2 дня назад
