-
Notifications
You must be signed in to change notification settings - Fork 19
The Complete Guide to EnchantmentsEnhance
- Getting started
- Understanding Vanilla Enchantments
- Version Compatibility
- Server Compatibility
- Plugin Compatibility
Hi. This is the official reference of the EnchantmentsEnhance Plugin.
Vanilla enchantment sharpness is calculated as y = 1.25 * x
Enchantment level is represented by x
and the final damage boost by the sharpness is y
. This means the sharpness is uncapped, and damage increases as the enchantments level increases.
Vanilla enchantment protection is is calculated as y = 287 / 1000 * x + 80
when 0 < x < 5
. If x > 5
, then y = 94.35
. y
is the damage reduction of the protection enchantment. This means the protection is capped, and protection Lv1000 is same as protection Lv5 because they have same effect.
-
1.8 - 1.15
language: EN_US
Supported language: ZH_CN, EN_US, RU_RU.
enableWelcomeMessage: true
Set false to disable on join message.
enableStackedItem: false
Set false to disallow stacked item to be enhanced.
enableTableEnchant: true
openMethod: RIGHT_CLICK
- Set
enableTableEnchant
to false to only use commands to open enhancement menu. - LEFT_CLICK - the player won't be able to destroy an enchantment table if you bind it to left click.
- RIGHT_CLICK - the player won't be able to open vanilla enchantment table if you bind it to right click.
- SHIFT_AND_LEFT_CLICK - the player needs to crouch and left clicking at the same time.
- SHIFT_AND_RIGHT_CLICK - the player needs to crouch and right clicking at the same time.
enableAnvilFix: true
Fixes color codes when player edits an enhanced item on an anvil.
enablePreventFireworkDamage: true
Allow plugin to block firework damage.
enableFancyAnnouncer: true
- 1.8 uses ActionBar. No dependency required.
- 1.9 and higher use BossBar. No dependency required.
- Set false to disable fancy announcer, and it will use chat.
enableFancyNotify: true
Set true to use Title Bar. No dependency required.
enableEconomy: false
- Set true to enable some features that are related to $.
- Requires Vault dependency.
disabledEnchantments:
- Wings
- Thief
- Add to the list to disable some special enchantments that may cause an issue on your server.
enabled: false
host: 127.0.0.1
port: 3306
database: 'mydatabase'
table: 'enchantmentsenhance'
user: 'root'
password: 'by_healpot_with_love'
- If disabled, the plugin will use local YAML files.
-
Host
is MySQL server address. -
port
is MySQL server port (default 3306). -
database
is the database name (NOTE! You need to create the database, then the plugin will create the tables). -
table
is the table name (the plugin will auto create them). -
user
is the MySQL user name. -
password
is the MySQL user password.
enableLore: true
lore:
bound: tradeable
sendBoundingMessage: true
- Set
enableLore
false to disable keep item on death. - Set
sendBoundingMessage
to false to disable notification when item becomes bounded. - Supported
bound
type: tradeable, untradeable, disabled.- tradeable: keep-item-on-death, personal trading is allowed.
- untradeable: keep-item-on-death, cannot be stored in the chests, cannot be dropped.
- disabled: disable automatically applying lores.
enableRename: true
renamingIncludes:
prefix: true
suffix: true
- Set
enableRename
false to disable rename mechanics.
enableLifeskill: true
- Set
enableLifeskill
false to disable life skills. - Life Skills consist of various tasks. Black stones will be rewarded by performing any of these tasks.
- mining
- chopping
- fishing
- killing
- breeding
- smelting
0:
baseChance: 100
chanceIncreasePerFailstack: 0
maximumFailstackApplied: -1
failstackGainedPerFail: 1
costToForceEnchant: -1
downgradeIfFail: false
destroyIfFail: false
requireConcentratedStones: false
broadcastEnhance: false
fireworkIfSuccessful: true
fireworkRounds: 1
prefix: ""
suffix: ""
lore: []
enchantments:
WEAPON: []
ARMOR: []
PICKAXE: []
AXE: []
HOE: []
BOW: []
-
baseChance
The base success rate of item at the level. -
chanceIncreasePerFailstack
Chance increase per failstack you have. -
maximumFailstackApplied
The maximum failstack applied to the enhancement. -
failstackGainedPerFail
Failstack gained from failing an enhancement at this level. -
costToForceEnchant
Cost of black stone to enhance the item. -
downgradeIfFail
Downgrade the item if the enhance failed. -
destroyIfFail
Destroy the item if the enhance failed. -
requireConcentratedStones
Enable to require concentrated magical stone to enhance the item. -
broadcastEnhance
Broadcast enhancement results. -
fireworkIfSuccessful
Enable or disable firework. -
fireworkRounds
Rounds of firework. -
prefix
Prefix of the item will be applied upon a successful enhancement. -
suffix
Suffix of the item will be applied upon a successful enhancement. -
lore
Additional lore can be applied to the item upon a successful enhancement. -
enchantments
-
^
Exclusion, does not have. -
!
Condition, a conditional check for an existing enchantment. -
?
Chance, a chance to apply an enchantment. -
:
Level, enchantment level. -
-
Range, a range of enchantment levels. -
enchantment:level
This is a basic format of enchantment.-
Protection:1
It means a level 1 protection enchantment will have 100% chance applied to the item upon a successful enhancement.
-
-
condition!chance?enchantment:level-level
This is an advanced format.-
Durability!42.3?Damage_All:1-10
It reads from left to right: If the item has Durability enchantment, it will have 42.3% chance to apply a Damage_All enchantment between level 1 to 10. -
^Durability!Damage_All:1-2
If the item does not have Durability enchantment, it will have 100% chance to apply a Damage_All enchantment between level 1 to 2.
-
-