The Godmode command turns god mode on or off for players: /godmode on <target> and /godmode off <target>. Both need the godmode permission.

Summary

Subcommands

Turns god mode off for the targeted players.
Turns god mode on for the targeted players.

Subcommands

off:on_run(actor, targets)

shared plugins/admin/plugin/commands/sh_godmode.lua:55

Turns god mode off for the targeted players.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • targets List<Player> players to affect

on:on_run(actor, targets)

shared plugins/admin/plugin/commands/sh_godmode.lua:41

Turns god mode on for the targeted players.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • targets List<Player> players to affect

Defined in