Name | <ScriptTag.data_key[<key_name>]> |
Returns | ObjectTag |
Description | Returns the value from a data key on the script as an ElementTag, ListTag, or MapTag.
For example, "script.data_key[type]" on a task script will return "task". Custom keys should usually go in a 'data' script container, or under a key labeled 'data' for other script containers. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ScriptTag.java#L333 |