1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Question about Map Resets

Discussion in 'Development' started by Clik, Oct 9, 2019.

  1. Clik

    Clik Spider Jockey

    Messages:
    25
    GitHub:
    KadTheHunter
    So, I've been looking through all the forum threads I can find about resetting maps, and aside from the way used in SkyWars (creating a zip backup), I've found another way that uses setAutoSave(false);, and then you need to just unload and reload the level, and it goes back to how it was.
    Is this still a working method? Or has it been changed since around a year ago? Couldn't find any post newer than mid 2018, so just checking here before I go ahead and use the method.

    (Also getting confused on using a repeating task to schedule the map reset, but that's probably for another thread.)
     
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Yes its still working
     
    Diduhless likes this.
  3. Clik

    Clik Spider Jockey

    Messages:
    25
    GitHub:
    KadTheHunter
    Great thanks!
    Now to open a new thread on the Repeating Task
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.