reset

public final Unit reset()

Resets the game to its initial state. This includes:

  • teleporting all players to the spawn world

  • resetting their inventories and health

  • resetting the game state and progression

  • resetting the border

  • resetting the fortress position

  • resetting the threads

  • resetting the worlds (time, weather, etc.)

  • deleting all cages, beacons, and other game-related entities

Note: this does NOT reset teams or their players, but it does reset their beacons and items.