#map save and map load

1 messages · Page 1 of 1 (latest)

errant willow
#

My system I'm using is crashing my server and I'm wondering if theres a way to make it not laggy, like the minecraft clone command but above the limit of 38k

somber tendon
#

ok and

errant willow
#

i just dont know how to load it basically

#

or how to use a good system

#

like how bedwars loads new maps when the game starts

somber tendon
#

ok and

#

are you going to provide any info?

errant willow
#

uh

#
    delete {desertblocks::*}
    wait a tick
    set {_loc::1} to location -41, 17, -49 in world "season2"
    set {_loc::2} to location -40, 16, -50 in world "season2"
    loop blocks within {_loc::1} to {_loc::2}:
        loop-block is not air:
            add loop-block to {des::*}
            set {des::%location of loop-block%} to type of loop-block

command /desertSave:
    permission: founder
    trigger:
        des()

command /desertLoad:
    permission: founder
    trigger:
        loop {des::*}:
            set block at location of loop-value to {des::%location of loop-value%}
        send "loaded"```