#
Dungeon Creation
To create a new dungeon you need a prebuilt dungeon map.
#
Dungeon Area
Required
- Run the
/ada wand cuboid
command to get the selection tool. - Select two diagonally opposite corners (lowest and highest ones) so that selection covers the whole dungeon map.
- Run the
/ada create <name>
command, where<name>
is an identifier (ID) for a new dungeon. Only latin letters, numbers and an underscore allowed.
A new dungeon configuration will be created inside the /dungeons/
directory with default Settings and premade Stage and Level named default
.
#
Lobby Location
Required
Lobby location is where players will prepare to play the dungeon.
- Stay at desired location and aim at desired position.
- Run the
/ada setlobby <dungeonId>
command. Where<dungeonId>
is dungeon ID.
The lobby location must be within the dungeon's protection area.
#
Spawn Location
Required
Every dungeon level must have a valid spawn location for players. New dungeons comes with built-it level with ID default
. Let's adjust it's spawn location:
- Stay at desired location and aim at desired position.
- Run the
/ada level setspawn <dungeonId> default
command. Where<dungeonId>
is dungeon ID,default
is level ID.
The level's spawn location must be within the dungeon's protection area.
#
Spawner Locations
Required
Created dungeon has one default stage named default
. It has a very basic script to spawn mobs on the spawner named also default
.
But the dungeon don't have any spawners created, so let's fix that:
- Run the
/ada wand position
command to get the selection tool. - Left-click blocks where you want mobs to spawn. Right-click to remove block selection.
- Run the
/ada spawner create <dungeon> default
command to define new dungeon spawner with namedefault
. Where<dungeonId>
is dungeon ID.
Spawner locations must be within the dungeon's protection area.
#
Test Dungeon
Optional
If you did everything correclty, you'll be able to join the dungeon and complete it: /ada join <dungeonId>
. Where <dungeonId>
is dungeon ID.
Expected dungeon behavior:
- One
default
stage that spawns zombies every 5 seconds with a task to kill 10 zombies to finish the dungeon. - One
default
level that gives $1 for every mob kill.
#
Conclusion
Now that you have a very basic working dungeon, it's time to learn its features in detail!