AdvancedWeapons 1.3
REPORT ISSUES BY MESSAGING ME OR ON DISCORD
A major update, bumping the version up to 1.3. Completely rewrote the custom enchantment system and added and changed many things.
Notes:
Rewrote custom enchantment code - IMPORTANT: Read the config section below the patch notes - Now allows custom enchantments to be changed or new custom enchantments to be created - The pre-1.3 custom enchantments in "config.yml" no longer work
Added a new custom enchantment - Called "Butcher" - Levels I-III (1-3) - Deals more damage to farm animals (0.5 per level)
Custom enchantments can now go up to level V (5)
Rebalanced custom enchantment potion effects
Add Halloween themed weapon - Called "The Skeletal Slayer" - When an entity is killed with it, it drops a pumpkin
Fixed "The Slayer" not showing particles
Added "/advancedweapons rl" as an alternative for "/advancedweapons reload"
Added a command to give Dust to players - "/dust give" gives 1 Dust to sender - "/dust give {amount}" - gives to sender - "/dust give {player} {amount}" - gives to specified player - Only available with permission "advancedweapons.dust.give"
Added a way to withdraw/deposit all Dust in the "/dust" menu
Capitalized all instances of "dust" - Dust from older versions will no longer work
Fixed "/coinflip" not working on older versions
Fixed "/coinflip" not using the target's exact username
Added W/L ratio to the player head in "/coinflip"
Added feedback messages when a weapon or custom enchantment cannot be purchased
Fixed custom enchantments activating twice when right-clicking a block in versions 1.9+
Fixed error when stepping on pressure plates
Moved weapon messages into the same "config.yml" section as the weapons
Config:
Each custom enchantment in config.yml now follows this format:
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
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