TE-HalloweenEnchant v2.4.1

Title: TE-HalloweenEnchant
Author: ThePurpleHoser

NOTE: This a custom enchant module requires TokenEnchant (http://www.spigotmc.org/resources/tokenenchant.2287/) plugin

This custom enchantment package contains following four custom enchantments:


  • HalloweeenBats: 
    If you have an item/armor with this enchantment, it will spawn bats around you when you attack or get attakced.  Spawned bats will automatically be despawned.

  • HalloweenMagmaTrail: 
    This enchant will leave a trail of magma blocks on the floor.  The trail will automatically be put back to the original blocks.  A player will not get damaged from the magma blocks as long as the trail belongs to the player.

  • HalloweenFlameEffect:
    If you have an item/armor with this enchantment, it will repeatedly spawn the mobspawner flames around you.

  • HalloweenWitherBow:
    If you shoot with a bow with this enchantment, it will shoot a witherskull instead of an arrow, and the witherskull will give damage only to a living entity and leave surrounding blocks without any damages.



Installation:
Just install TE-HalloweenEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". HalloweenEnchantment will automatically be loaded into TokenEnchant framework.

Configuration:
You need to add new entry for "HalloweenBats", "HalloweenMagmaTrail", "HalloweenFlameEffect", and "HalloweenWitherBow" enchant under "Potions:" section in your config.yml. 

[CODE]
Potions:
  HalloweenWitherBow:
    price: 10
    max: 1
    damage: 3
    red : 255
    green : 255
    blue : 0
    sneak_toggle : true
    cooldown: 0
    occurrence: always
  HalloweenFlameEffect:
    price: 10
    max: 1
    duration: 60
    amount: 5
    occurrence: always
  HalloweenMagmaTrail:
    price: 10
    max: 1
    radius: 1
    duration: 60
    ignore_blocks:
      - CHEST
      - ENDER_CHEST
    occurrence: always
  HalloweenBats:
    price: 10
    max: 1
    number_of_bats: 5
    duration: 60
    cooldown: 3
    cooldown_message: "&a[TE] You have to wait for &b%remaining% &aseconds."
    occurrence: always
[/CODE]
Powered by