#(udder) Wiping maps permanently from the maps.yml

1 messages · Page 1 of 1 (latest)

snow sierra
#

So ive been messing around with the - map command. But i made some pretty complicated maps and now notice that its very resource intensive to save the huge maps.yml file. Denizen does this automatically so it now creates lags spikes everytime it does this.

How do i wipe maps completely from the maps.yml file? since when i just remove the file it remembers that the maps were existent.

How would i just wipe the history of any map completely?

white breachBOT
#

(udder) Wiping maps permanently from the maps.yml

white breachBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

snow sierra
#

And is it perhaps also just possible to not save them in maps.yml?

native robin
#

!c map

livid bridgeBOT
# native robin !c map
Group

item

Syntax

map [<#>/new:<world>] (reset:<location>) (scale:<value>) (tracking) (image:<file>) (resize) (script:<script>) (dot:<color>) (radius:<#>) (x:<#>) (y:<#>) (text:<text>)

Short Description

Modifies a new or existing map by adding images or text.

Description

This command modifies an existing map, or creates a new one. Using this will override existing non-Denizen map renderers with Denizen's custom map renderer.

You must specify at least one of 'reset', 'script', 'image', 'dot', 'text'. You can specify multiple at once if you prefer.

When using 'reset', you can specify optionally 'scale' and/or 'tracking'.
When using 'image' you can optionally specify 'resize'.
When using 'dot', you can specify any valid ColorTag (it will be compressed to map's co...

native robin
#

reset it

native robin
snow sierra
# native robin `reset` it

So doing this did not wipe it from the maps.yml file, its as if it maps.yml keeps a history from what the map used to be.

I had to remove the map from my world/data folder for it to no longer appear in maps.yml

native robin
snow sierra
#

I resetted it, and then removed my entire maps.yml. then when the timed maps.yml saving that denizen seems to do every x amount of minutes or so happened, it gave me the entire maps.yml that I deleted eventho all maps were reset.

My main issue just is with the timed saving, due to alot of transparent dots the map file becomes huge, and then it lags rly badly when denizen does its saving

snow sierra
#

Also would there be any examples for the script: option? id like to know what it does and at the moment i kinda got no clue

native robin
#

!l map script

livid bridgeBOT
# native robin !l map script

Map scripts allow you define custom in-game map items, for usage with the map command.

The following is the format for the container.


# The name of the map script is used by the map command.
Map_Script_Name:

    type: map

    # Whether to display the original map below the custom values. Defaults to true.
    # | Some map scripts should have this key!
    original: true/false

    # Whether to constantly update things. Defaults to true.
    # | Some map scripts should have this key!
    auto update: true

    # Whether this map script renders uniquely per-player. Defaults to true.
    # | Some map scripts should have this key!
    contextual: true

    # Lists all contained objects.
    # | Most map scripts should have this key!
    objects:

        # The first object...
      

...

Group

Script Container System

snow sierra
snow sierra
snow sierra
#

[22:15:20 INFO]: Additional Error Info: No map found for ID '1'!

How would u solve this? this is also one of the issues i sometimes do run into and sometimes dont

#

the map command seems to be the only command related to maps? so if no map is found for id "1" when i try to create one. How would i then create a map of id 1.

#

my map 1

#

It looks weird when holding it

#

and before im told that i should use the new: option first. When i do so it instantly creates a map of a higher number. And i want to use number #1

snow sierra
#

Fixed it