How to Set Up a Map

< . . . How to Set Up a Map . . . >


  • For more help remember to read the config.yml!
  • All map data is saved into the plugin folder as "data.yml", feel free to edit it like any other YAML file.
  • My little 10 years nephew was able to create/customize his own 20 waves map himself so DON'T SAY IT'S TOO HARD! :D

    Step By Step:


  • [#1] Build a wonderful map =D, up to you, just follow those basic rules:
    • Invaders need both, 3x3 blocks to spawn/walk.
    • Invaders are able to climb blocks high enough to the minecraft default, don't try to make a pig climb a 3 blocks high wall...
    • Towers can only be built on a custom kind of block set in config (GOLD BLOCKs by DEFAULT).
  • [#2] Create Map Data to start editing:
    • Type "/mtd create <mapName> <startingCoins> <startingLives>"
    • Maps are disabled on creation to prevent players joining on an incomplete map and cause errors (no spawn location etc).
  • [#3] Enter editing mode:
    • Type "/mtd edit <mapName>" to save your inventory and get 2 special tools to edit Invaders Spawn and Waypoints; "Waypoint Location Editor" and "Spawn Location Editor"
    • In this mode you're also able to use other editing commands.
  • [#4] Set player teleport locations (Start and Exit):
    • Type "/mtd playerstart" while standing in the desired location, a player joining this map will be teleported to that exact spot (yaw/pitch included).
    • Type "/mtd playerexit" same as above but sets the location for leaving/losing/winning (exiting).
  • [#5] Set Invader's Spawn Location:
    • Just get your "diamond pickaxe" with the name "Invader's Spawn Location Editor" on it and left click the desired block.
    • Invader waves will spawn above the clicked block.
  • [#6] Set Invader's Waypoints (Path):
    • Get your "gold axe" with the name "Invader's Waypoint Location Editor", this part is trickier:
      • You must set a waypoint every 5-8 blocks to correctly make invaders follow the path, more will cause Invaders to get lost, less WILL WORK, but can be more laggy. Max tested working measures are 1-8, but as i said recommended is 5-8 blocks.
      • If you want to remove a waypoint just use the rightclick over the a set waypoint block.
      • Also think in the Spawn Location as the first waypoint location, so start 5-6 blocks away.
      • Finally, the last waypoint location will be the END LOCATION, which will erase Invaders on arrival and remove lives from player.
      • WARNING: to allow Invaders go UPStairs/DOWNStairs you must IGNORE steps/stair blocks, check this pick -> http://dev.bukkit.org/bukkit-plugins/mayhemtowerdefense/images/2-how-to-set-waypoints-stairs-steps/
  • [#7] Create some Invader Waves:
  • Type "/mtd setwave <waveNumber> <invaderName> <invaderAmount> <spawnDelay> <healthGain> <killReward> <waveReward>", this is explained in the config anyway here you are some tips:
    • 1. Wave Number: Waves start from 1, plugin will finish the map when there're no more consecutive waves.
    • 2. Invader Name: the name used in the Invader's settings., like "KFC" or "HellSheep".
    • 3. Invader Amount: number of Invaders to spawn for that wave.
    • 4. Spawn Delay: seconds to wait between spawns, ex, spawnDelay 3 means 1 mob every 3 seconds.
    • 5. Health Gain: used to increase difficulty by giving Invaders extra Health (set it to 1 for original HP), if you want to use same Invader in further waves the invaderAmount is not enought to increase difficulty, so you can give them extra % of max health, ex if you set health gain 25 to a 20hp Invader, that wave will have a total of 25hp (25% of 20 is 5, plus 20 base = 25)
    • 6. Kill Reward: coins earned for each Invader Kill in that wave.
    • 7. Wave Reward: coins earned by completing a wave (no matter if you lost some lives)
  • [#8] Back to Normal:
    • Type "/mtd done" to get your inventory back, delete map tools and exit editing mode.
  • [#9] Enable the Map:
    • Type "/mtd enable <mapName>" to enable.
    • You can disable it anytime with "/mtd disable <mapName>" instead.

      *READY TO PLAY! JUST TYPE "/mtd play <mapName>" to enjoy your map!