TE-GuardianEnchant

SpigotVIP TE-GuardianEnchant 4.0.0

TE-GuardianEnchant
NOTE: This a custom enchant module requires TokenEnchant plugin

This plugin contains a custom enchantment effect to spawn your body guard mob when someone attacks you! Your body guard will start attacking your attacker. When you disarm with this enchant or if you are far away from your body guard mob, it will despawn.

This enchant is compatible with MergedMob, your Guardian will not be merged with other non-guardian mobs.



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

Supported Creatures:
To find the mob names used in the config, please refer to https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html

  • Blaze,
  • CaveSpider,
  • Creeper,
  • Enderman,
  • Endermite,
  • Giant,
  • Guardian,
  • IronGolem,
  • PigZombie,
  • Silverfish,
  • Skeleton,
  • Snowman,
  • Spider,
  • Witch,
  • Wither,
  • Wolf,
  • Zombie
No so useful Guardians but supported...
  • Chicken,
  • Cow,
  • Horse,
  • MushroomCow,
  • Ocelot,
  • Pig,
  • Rabbit,
  • Sheep,
  • Villager,

Configuration:
You need to add new entry for "Guardian" under "Potions:" section in your config.yml.

Code (Text):

Guardian:
price: 10
max: 2
name_format: "&e%player%&'s Guardian"
nearby_radius: 10
PvE: false
combat_expire: 20. #in seconds.
guards:
1:
type: PIG_ZOMBIE
2:
type: IRON_GOLEM
# if you set occurrence: random, the chance of
# your guardian being spawn will be calculated form the level
occurrence: always
event_map:
EntityDamageByEntityEvent: "HIGHEST"
EntityDeathEvent: "LOWEST"
EntityTargetEvent: "LOWEST"
BlackSpigot General Chat
Rules Help Users
    S @ Sa2: anyone have that meteor leak the download is down rn
    Top