Update Dungeon Config with options for the new dungeon maps feature. authored by MarcatoSound's avatar MarcatoSound
Every dungeon has its own unique config file that lets you further customize the dungeon's behaviour when played. This includes entry requirements, blocking certain potential out-of-bounds abuse (enderpearls, chorus fruit, etc), and reward cooldowns.
You can also modify the `default-config.yml` in the `maps` folder to change the default settings of a brand new dungeon.
_An in-game editor for this config is planned for the future, but for now, you'll have to manually edit the config file._
**NOTE: Gamerules are stored on the map itself and can be changed in-game with the standard /gamerule command while in edit mode.**
---
Here is current default config provided by the plugin for your reference. _This file is kept up to date with changes and MAY contain features exclusive to dev builds, so check back here for new dungeon options!_
```yml
General:
# Do not change! Used to track the config version when major updates happen.
Version: 1
......@@ -114,6 +102,7 @@ General:
# "Sunday" would be 1, "Monday" is 2, "Tuesday" is 3, etc.
# If type is set to MONTHLY, ResetDay determines what day of the month the reset occurs.
ResetDay: 1
Requirements:
# A list of permissions the player must have.
Permissions: []
......@@ -133,6 +122,7 @@ AccessKeys:
# A list of itemstacks that are valid key items. NOTE: It is not recommended adding keys from here. Use the `/md addkey <dungeon>` command instead.
# Mythic items are supported and will default to the latest version of the Mythic item (based on its namespace).
KeyItems: []
Difficulty:
# Whether or not to enable difficulty levels for dungeons.
EnableDifficultyLevels: false
......@@ -161,6 +151,20 @@ Difficulty:
# WARNING: Only works on Mythic Dungeons loot tables and 'random rewards' functions!
# Mythic Mobs drop tables do not get bonus drops. Instead, use the `dungeondifficulty` mythic condition in your mythic drop table!
BonusLoot: 1-3
# Allows configuring a "map" item the players can get that displays the surrounding dungeon area.
Map:
# Gives the players the map when they join. Effectively enables use of the map.
GiveOnJoin: false
# How fast the blocks on the map should fade out as the player rises higher.
MaxRenderDepth: 10
# Displays a floor label in the corner of the map based on the Y value the player is at. Useful for procedural dungeons.
DisplayFloors: false
# How many blocks along the Y axis the player must travel before we consider the player to be on a different floor.
FloorDepth: 3
# Whether to show icons for other players on the map instead of just the player holding the map.
ShowAllPlayers: true
Rules:
SpawnMobs: false
SpawnAnimals: false
......@@ -226,4 +230,3 @@ Rules:
Armor: false
Weapons: false
Tools: false
\ No newline at end of file
```
\ No newline at end of file