The Restart command reloads the current map, optionally after a delay in seconds. It runs the FLSaveData and ServerRestart hooks first.

Summary

Methods

Restarts the current map after an optional delay, saving data first, and notifies staff.

Methods

CMD:on_run(actor, delay)

shared plugins/admin/plugin/commands/sh_restart.lua:15

Restarts the current map after an optional delay, saving data first, and notifies staff.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • delay String optional, defaults to 0 delay in seconds

Defined in