TXT files

Explanation

Setups are saved in .TXT files. Files are named after the setup's name, e.g. classicskeleton.txt and can be found in the /plugins/megacreeps folder. They can be edited to your likeing. This page shall teach you how.

Buildup

The setup must be built in the following order:

The static block, this must be aligned in that order:

  • name=<name of the mobs>
  • type=<entitytype for which this is for>
  • hp=<amount of hitpoints it should have. 1 heart means 2 hitpoints>

The (optional) flexible block, you can add whatever you like or need as additions.

These can be:

  • specials (check out the ability section)
  • potioneffects ( syntax: effect=<PotioneffectType>:<amplifier>:<duration (in ticks)> ) List of effects
  • items and bounty (check out the items section)
  • xpfactor ( syntax: xpfactor=<multiplier for basic xp drops> )
  • mounts ( syntax: mount=<mobtype or name of a setup> )
  • attack damage modifiers ( syntax: damagemod=<flat bonusdamage> )
  • resistance modifiers (syntax: resistance=<damagetype>:<factor>) List of damage causes
  • subtypes ( syntax: subtype=<int for subtype> )

Colours

Lores and names can be coloured. Use &0 to &9 and &a to &f in front of the text you want to colourize.

IDs for subtypes

  • Creepers: 1=powered creeper
  • Zombies: 1=Villager zombie 2=Baby
  • Pig Zombies: 1=Baby
  • Skeletons: 1=Wither skeleton
  • Slimes and Magmacubes: <any number>=size of the Slime
  • Other mobs or animals that can be a baby: 1=Baby
  • All mobs and breedable animals: 0=Making a mob spawn in its normal form only

Example

name=Luigi,Hugo
#The name(s) of the mobs from this setup.

type=Skeleton
#The mob type which this setup is for

hp=600
#The maximum hitpoints

level=2
#The strength rating. Used to modify leveled spawns, especially automatic replacement of spawning mobs

xpfactor=2
#The multiplier of the dropped experience points of a mob. In this example: If it naturally drops 10, this makes it 20.

special=onTimed:40:AOEDebuff:6:incinerate:20
#[optional] A special ability. Check the descriptions for currently available special abilities and their IDs.
#You can either have no ability or as many as you like

effect=SPEED:1:200000
#[optional] PotioneffectType:amplifier:duration (in ticks)
#You can either have no effect or as many as you like

weapon=DIAMOND_SWORD:0;1:0;FIRE_ASPECT-2:KNOCKBACK-1
#[optional] ItemType:subid; amount:dropchance in % ; [enchantment-level;]*
#"item=" stands for bounty, "weapon=" for weapons, "boots=" for boots, "leggings=" for leggings, "chestplate=" for chestplates and "helmet=" for helmets.

item=EMERALD:0;6:100;
#Version of an item without enchantments (this time: 6 Emeralds) with 100% dropchance