rbzNightVision allows users to toggle nightvision on/off for themselves or specified players. Console is able to toggle nightvision on/off for online players. All in-game and console messages are configurable, as well as how many ticks the night vision effect lasts (default 24 hours) and the cooldown for toggling night vision (default no cooldown).
Commands
/nv [<Player> | reload]
Toggles night vision on or off for you or a specified player, or reloads the plugin
Aliases: [nightvision, nightv, nvision]
Permissions
rbznv.use
Allows use of /nv on yourself (no arguments)
rbznv.use.others
Allows use of /nv on other players (1 argument)
rbznv.onjoin
Automatically enable night vision on join
rbznv.cooldown.bypass
Bypass /nv command cooldown
rbznv.reload
Allows reloading the plugin via '/nv reload'
Dependencies
Bukkit/Spigot/Paper 1.8 to 1.18
Java 8+
Configuration
config.yml
#########################################
# #
# rbzNightVision v1.6.0 by therbz #
# #
#########################################
# The number of ticks the nightvision effect will last
# Maximum value: 2147483647 = 3 and a half years
# 1 second = 20 ticks
# 1 day = 1728000 ticks
nvticks: 1728000
# Cooldown (in seconds) between using /nv
# This can be bypassed using rbznv.cooldown.bypass
# Set to 0 to disable
cooldown: 0
# Messages
messages:
reload: "&6&lNV &8\u00BB &aSuccessfully reloaded &frbzNightVision"
nvenable: "&6&lNV &8\u00BB &aToggled nightvision &fon"
nvdisable: "&6&lNV &8\u00BB &cToggled nightvision &foff"
no-permission: "&c&lNV &8\u00BB &4You do not have permission to execute this command!"
incorrect-usage: "&c&lNV &8\u00BB &4Incorrect arguments! Correct usage: &c%usage%"
not-player: "&cYou must be a player to execute this command!"
cooldown: "&c&lNV &8\u00BB &4You cannot use this command for &c%seconds% &4seconds!"
# Messages related to /nv <other player>
# Placeholder %target% can be used for nvenable-sender and nvdisable-sender
other-player:
unknown-target: "&c&lNV &8\u00BB &4Could not find that player!"
no-permission: "&c&lNV &8\u00BB &4You do not have permission to use this on other players!"
nvenable-sender: "&6&lNV &8\u00BB &aToggled nightvision &fon &afor &f%target%"
nvdisable-sender: "&6&lNV &8\u00BB &cToggled nightvision &foff &cfor &f%target%"
# DO NOT TOUCH
config-version: 3Source Code
GitHub: https://github.com/therbz/rbzNightVision
Screenshots
Below: Running /nv twice from in-game as an operator, and then reloading.
Below: Running /nv therbz twice from console, and then reloading
Support
If you need any help with this plugin, join my support Discord server (click the image):

Metrics
This plugin uses bStats metrics: https://bstats.org/plugin/bukkit/rbzNightVision/9704
Similar projects
Config →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta