EmakiStrengthen Overview
EmakiStrengthen is a star-based enhancement system that provides recipe and star-stage-driven equipment enhancement capabilities. It supports success rate configuration, temper mechanics, material consumption, economy deductions, protection items, failure penalties, and enhancement layer refresh.
Basic Information
| Property | Value |
|---|---|
| Module ID | emaki-strengthen |
| Version | 3.3.0 |
| Main Class | emaki.jiuwu.craft.strengthen.EmakiStrengthenPlugin |
| Root Command | /emakistrengthen |
| Alias | /estrengthen |
| Hard Dependency | EmakiCoreLib |
| Soft Dependencies | EmakiAttribute, PlaceholderAPI |
Core Responsibilities
- Star Enhancement — Processes enhancement attempts based on recipes and star stages; success raises the star level, failure triggers penalties
- Success Rate Calculation — Supports base success rate, temper bonus, and success rate cap
- Material Consumption — Each star stage can configure different material requirements
- Economy System — Supports fee deduction via economy plugins such as Vault/ExcellentEconomy
- Protection Mechanism — Protection items can prevent star loss or crack generation on failure
- Display Rebuild — Refreshes the enhancement layer state of equipment, rebuilding the enhancement display as an independent layer
- Broadcast System — Supports local/global broadcast of successful enhancement messages
- Admin Commands — Provides management functions such as status inspection, star setting, crack clearing, and catalyst distribution
Configuration File
config.yml
yaml
# Config file version, do not modify manually
config_version: 3
# Language setting
language: zh_CN
# Local broadcast radius (in blocks)
local_broadcast_radius: 50
# Broadcast configuration
broadcast:
# Minimum star level to trigger local broadcast
local_stars: 3
# Minimum star level to trigger global broadcast
global_stars: 7
# Global default success rates (percentage)
# Recipes can override this configuration
success_rates:
1: 100
2: 90
3: 80
4: 70
5: 60
6: 50
7: 40
8: 30
9: 20
10: 15
11: 10
12: 5Note
The keys in success_rates represent the target star level (i.e., the success rate for upgrading from the current star to that level). The success_rates in a recipe will override the global configuration.
Default Content
EmakiStrengthen provides 6 default enhancement recipes:
| Recipe ID | Description | Applicable Equipment |
|---|---|---|
weapon_physical | Physical weapon enhancement | Swords, axes, and other melee weapons |
weapon_projectile | Ranged weapon enhancement | Bows, crossbows, and other ranged weapons |
weapon_spell | Spell weapon enhancement | Staves and other magic weapons |
armor_guard | Armor enhancement | Helmets, chestplates, leggings, boots |
generic_visual | Generic visual enhancement | Any equipment (visual effects only) |
offhand_focus | Offhand focus enhancement | Shields, offhand items |