How can i restore a world in the new API? In the old api if i remember was, PHP: $this->restoreWorld(); What for the new API?
No. You have to write the restore world function yourself, in old API or new API. In whatever plugin you found that function, you should look at the function restoreWorld() in that plugin instead (search "function restoreWorld(").
Yes but u can save the world in a config And then delete it and use the saved one (How do u delete it?) $this->saveWorld();? $this->delete world();?
Yes, restore or rollback, not reload. And saving in a config is terrible. It will spend ages. P.S. Off-topic: talking of spending ages, today at school I wrote a calculator program that calculates 1 / i + 2 / i^2 + ... + 1000 / i^1000, but since Casio calculators don't support i^1000 and they don't have the modular arithmetic operator, I had to do a loop to Lbl1:B×i→B:1M+:M≤1000=>Goto 1: to calculate i^199 nd it still hasn't finished calculating after I got back from lunch -_- xD (the bad ending of cheaters )