Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2487 tags...
Name<LocationTag.areas[(<matcher>)]>
ReturnsListTag(AreaObject)
DescriptionReturns a ListTag of all noted areas that include this location.
Optionally, specify a matcher to only include areas that match the given AreaObject matcher text.
Example
# This example shows all areas at the player's location.
- narrate "You are inside: <player.location.areas.parse[note_name].formatted>"
Example
# This example finds which "Town" area the player is in.
- narrate "You are inside the town of <player.location.areas[town_*].first.flag[town_name].if_null[Nowhere!]>"
Groupareas
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3512