Flag Visualizer

Flag Visualizer 1.8.1

Denizen Version
v1793 -> v1803
The Flag Visualizer is a tool that helps you display large (or small) chunks of data on your server in a colorful and easily-readable format. It will recursively run through any valid data structures passed to it and generate a nested view showing how each bit of bit of data in a sub-map interrelates.

Usage:
Code:
- run FlagVisualizer def.flag:<your-data-here>
- run FlagVisualizer def.flag:<your-data-here> def.flagName:SomeName

*the flagName parameter is optional.

Some sample data narrated normally using /ex narrate:
flag-not-visualized.png


The same data visualized:
flag-visualizer.png


Important note though: Minecraft's default chat history size is about 100 messages. And if you're gonna use this it's probably because you also have some pretty massive flags that you need to view. So please be sure to download a mod that extends your chat history like MoreChatHistory for you to get the most out of this script.

GitHub Link: https://github.com/ItsZyad/Public-Script-Repo/blob/main/Samples/FlagVisualizer.dsc

also I know the docstring and the comment about recursionDepth are contradictory. recursionDepth is just a safeguard, and in 2-ish years of using this script privately it has never crashed my server. I'm just sorta paranoid like that :/
Author
Zizio
Downloads
214
Views
1,250
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Zizio

  • dClasses
    dClasses
    Robust and standardized tools for OOP-style programming in Denizen!

Share this resource