Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
NightVision
A lightweight Night Vision plugin for Minecraft servers with a simple toggle system, configurable sessions, and automatic effect management.
NightVision keeps the experience simple: players can enable or disable Night Vision when needed, while administrators get additional controls for managing other players and resetting the plugin state.
Features
- Simple Night Vision toggle
- "/nv" command with "/nightvision" alias
- Configurable session duration
- Automatic Night Vision effect management
- Automatic effect restoration after respawn
- Removes unmanaged Night Vision effects on join
- Admin support for toggling Night Vision for other online players
- Reload configuration without restarting the server
- Reset all active Night Vision sessions
- Permission-based access
- Configurable messages
- YAML configuration
- No database required
- Lightweight implementation
Commands
"/nv"
Toggles Night Vision for yourself.
Alias: "/nightvision"
"/nv <player>"
Toggles Night Vision for another online player.
Requires the appropriate admin permission.
"/nv reload"
Reloads the plugin configuration.
"/nv reset"
Resets all active Night Vision sessions and reloads the default configuration.
Permissions
Permission| Description| Default "nightvision.use"| Allows players to toggle their own Night Vision| "true" "nightvision.admin"| Allows toggling Night Vision for other players| "op" "nightvision.reload"| Allows reloading the plugin configuration| "op" "nightvision.reset"| Allows resetting the plugin state| "op" "nightvision.*"| Grants all NightVision permissions| "op"
Configuration
NightVision uses a simple YAML configuration.
session-duration: 3600
messages: enabled: "&aNightvision enabled" disabled: "&cNightvision disabled" no-permission: "&cYou don't have permission." player-not-found: "&cPlayer not found." reload: "&aNightVision configuration reloaded." reset: "&aNightVision has been reset." usage: "&eUsage: /nv [player|reload|reset]"
Session Duration
"session-duration" controls how long a Night Vision session remains active.
The value is measured in seconds.
The default value is "3600", which equals 1 hour.
Effect Management
When Night Vision is enabled through the plugin, NightVision applies the Night Vision effect to the player for the active session.
The plugin also handles effect restoration when an active session survives a respawn.
If a player joins without an active NightVision session but already has a Night Vision effect, the plugin removes that effect. This keeps externally applied Night Vision from being treated as an active NightVision session.
Compatibility
Platform: Paper / Bukkit-compatible servers API: Bukkit API "1.19+" Configuration: YAML Database: None required
Lightweight by Design
NightVision focuses on one job: providing convenient Night Vision management without unnecessary systems or dependencies.
No database, external service, or additional dependency is required.


