Registers the /Nightvision command of the Nightvision plugin, which toggles night vision for players allowed to use it by flipping their nightvisionfx networked boolean.

Summary

Methods

Toggles night vision for players allowed to use it, with the goggle on or off sound.

Methods

Toggles night vision for players allowed to use it, with the goggle on or off sound.

The state is stored in the nightvisionfx networked boolean, which drives the client effect.

Parameters

  • player
  • arguments

Defined in