Pack: Spectator Night Vision - teakivy/teaks-tweaks GitHub Wiki

Pack: Spectator Night Vision (spectator-night-vision)

Spectator Night Vision allows players in spectator mode to toggle the Night Vision effect.

Showcase

spectator-night-vision

Config

The config for this pack can be found in the config.yml file for the plugin.

# Spectator Night Vision
# Easily toggle night vision when in spectator.
#
# Commands:
# /nightvision (Permission: teakstweaks.command.nightvision)
spectator-night-vision:
  enabled: false
  # Whether or not to auto-enable night vision when in spectator
  auto-enable: true

Options

enabled

  • Type - boolean
  • Default - false
  • Description - Controls whether the pack is enabled.

auto-enable

  • Type - boolean
  • Default - true
  • Description - Controls whether players in spectator mode will automatically have night vision.

Linked Commands

Permissions

teakstweaks.command.nightvision

  • Default - true
  • Description - Controls whether the player can use the /nightvision command.

Messages

"spectator_night_vision.name": "Spectator Night Vision",
"spectator_night_vision.description": "Easily toggle night vision when in spectator.<newline>Command: /nightvision",
"spectator_night_vision.error.game_mode_changed": "<red>Night Vision removed because of Game Mode change!",

spectator_night_vision.name

  • Default - Spectator Night Vision

spectator_night_vision.description

  • Default - Easily toggle night vision when in spectator.<newline>Command: /nightvision

spectator_night_vision.error.game_mode_changed

  • Default - <red>Night Vision removed because of Game Mode change!
⚠️ **GitHub.com Fallback** ⚠️