AdvancedWeapons 1.4.4
REPORT ISSUES BY MESSAGING ME OR ON DISCORD
This minor update brings many fixes and improvements, as well as a new custom enchantment function. Expect more weapons, custom enchantments, and machines in the coming updates.
Notes:
Implemented the "blockbreak" custom enchantment event - Triggers when a block is broken
Added exclusive "fortune" function for "blockbreak" - Drops more than the normal amount of blocks - Toggle "dropatblock" to drop the blocks at the broken block or at the player's location
Fixed a few compatibility issues with older versions
Fixed all hoppers being disabled when an AutoMiner is active
Disabled all permissions by default - Give players the "advancedweapons.player" permission node for basic commands
Added a config option to change Dust lore - Set under "dust-item" in "config.yml" - Old Dust converts to the new lore when you deposit it with "/dust"
Fixed the "/aw config" menu breaking when exiting the custom weapons menu
Fixed Machines purchasing more than intended
Added an option to change the insufficient Dust message - Set under "insufficient-dust-msg" in "config.yml"
Added an insufficient Dust message to "/machines"
Players hidden through "/hidden" now save on reload - Moved "/hidden" lists to "playerconfig.yml"
Added "customweapons.yml" settings to the "/aw config" all config menu
Config:
For a blockbreak custom enchantment, 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: 4 //dust cost
dimension*: //what dimensions it can 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, blockbreak)
- blockbreak
function: fortune //what it does (potion, explosion, fortune)
blocks: //blocks that trigger the event
- IRON_ORE
- OBSIDIAN
amount: 2 //the amount of extra blocks dropped
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