AdvancedWeapons 1.3.1
REPORT ISSUES BY MESSAGING ME OR ON DISCORD
A minor update, bringing support for 1.15 versions, adding more options for custom enchantments, and making a few other tweaks.
Notes:
Added support up to 1.15.2
Allowed customizable potion effect level - Check out the "amplifier" line in the config notes below
Allowed customizable potion effect duration - Check out the "duration" line in the config notes below
Fixed defend attribute not functioning properly
Allowed console to use "/dust give"
Balanced "Tolerance" custom enchantment - Gives resistance when the user has 40% or less of their total health
Added "Ice Chunk" weapon - Inflicts the target with slowness for 2 seconds when hit - Costs 4 dust for a stack of 6
'&' can now be used as a colour code in config
- The line must be surrounded with ' '
Regenerates completely deleted config files on "/advancedweapons reload"
Fixed some custom enchantments having incorrect descriptions
Stacked amount of dust trade item - For example a price of 2 gold ingots would show a stack of 2 in the "/dust" menu
Made "/advancedweapons enchants" more compact - Now shows a line with the lowest and highest level of the enchantment instead of a line for each level
Config:
Each custom enchantment in config.yml now follows this format: * = optional
Code (Text):
enchant:
rush-i: //name of enchantment
name: §eRush I //name of enchantment
lore: //description of enchantment
- §7Gives you a quick rush of speed.
- §7Speed I - 4s
chance: 10 //chance of activation
cost: 2 //dust cost
dimension*: //what dimensions can it be used in (NORMAL, NETHER, THE_END)
- NORMAL
msg*: true //enable/disable a message
chatmsg*: "Hey" //what the message is
type: weapon //what it can be applied to (weapon, tool, armor)
events: //what triggers it (interact, attackother, attackself, defendother, defendself)
- interact
function: potion //what it does (potion, damage)
effects: //what effect it gives (potion effect or damage amount)
- SPEED
duration: 6 //time in seconds
amplifier: 0 //potion level (0=level 1, 1= level 2, etc.)
thresholdself*: 8 //activates below this much of the player's health /20
thresholdother*: 8 //activates below this much of the other person involved's health /20