I don't think this is possible(without editing the api), simply because what you are trying to do here is very useless and stupid. Are you trying to reset a world after a game? if so well i got a solution! Copy the world folder to your plugin data folder, and have a function that copies the world from the plugin data folder to the worlds folder (so it will be back to the old state of before the game started)