Mesmerize is a high performance lore plugin, which is similar to ItemLoreStats.
Features
- Several attributes, which is listed below in config file.
- Highly cuustomisable.
- High performance, multi-threaded lore parsing.
- Custom combat message.
- Switch on/off the health control system.
- Locale file support.
- RPGInventory integration.
- PlaceholderAPI placeholders.
Usage
You need install a dependency PowerNBT.
You could add RPGInventory plugin, and Mesmerize will use it's inventory to calculate the attributes. This function can be disabled in config.
You can use Lores to add/remove lores. The syntax is Key: Value, the space characters are optional.
These syntax are acceptable (but do not write something like Speed: +10%-15%, or you will certainly earn something ;D):
- Key: +10
- Key: +15%
- Key: +13-25
- Key: -16%--22%
Currently no more functions.
Lores
- Damage
- PVP Damage
- PVE Damage
- Arrow Damage
- Real Damage
- Critical Damage
- Critical Chance
- Defense
- PVP Defense
- PVE Defense
- Arrow Defense
- Reflection
- Melee Reflection
- Range Reflection
- Reflection Chance
- LifeSteal
- LifeSteal Chance
- Health
- Regeneration
- Attack Exp
- Experience
- Move Speed
- Fly Speed
- Attack Speed
- Soulbound
- Unbreakable
- LevelCap
- Attack Range
- Sudden Death
- Dodge
- Accuracy
Commands
/mes con be replaced with /mesmerize
- /mes stats - Simulate an attack and print the lore results.
- /mes evaluate - Evaluate value of item in main hand.
- /mes config load - Load config from disk.
- /mes config save - Save config to disk.
- /mes config reload - Load and save the config.
- /mes config set <Node> <Value> - Set a config node to specific value
- /mes config list <Node> - List every config node and value in specific node. Use /mes config list . list the root nodes.
- /mes sell - Sell item in evaluated value.
Permissions
Red ones are owned by operators as default.
- mesmerize.showstats - Use /mes stats command
- mesmerize.evaluate - Use /mes evaluate command
- mesmerize.config - Use /mes config commands
- mesmerize.sell - Use /mes sell command
PlaceholderAPI placeholders
- %mesmerize_stats_<Attribute> - The <Attribute> are the attribute config node's name, like damage, playerDamage
Set your own damage expression
Spoiler
Default is:
function max(a, b) { return a > b ? a : b; }
max((base + damage - armor), attack.getRealDamage());
And there are 5 available variables:
Spoiler
- base is the event's base damage
- damage is the lore's damage value, including PVP PVE and the range attack, and this value has already multiplied with critical damage
- armor is lore's defense value
- attack is the attacker's lore info, you can use attack.getXxx() to get the specific value
- defense is the defenser's lore info, you can use attack.getXxx() to get the specific value
function max(a, b) is a custom function to compare the max value between 2 values.
The last expression should be the damage expression or returns a number.
The format is JavaScript.
If you have any problems/bugs, please report at Discussion, the ratings are not for bug reporting.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta