Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
๐ OmegaNightVision
A lightweight, fully configurable Night Vision plugin that allows players to toggle permanent Night Vision with a single command.
Simply use /nv to enable or disable Night Vision. Player preferences are automatically saved, allowing them to retain their Night Vision across disconnects and server restarts without needing to toggle it again.
Featuring SQLite persistence, configurable milk behaviour, multiple message delivery channels and fully customisable messages, OmegaNightVision provides a simple and reliable solution without unnecessary dependencies.
๐ Requirements
- Server Software: Paper (recommended) or Spigot
- Minecraft Versions: 1.16 to 1.21.4+
- Java Version: 21
- Dependencies: None. No external plugins required.
โจ Features
๐ Infinite Night Vision
- One-command toggle: Use
/nvto instantly enable or disable Night Vision. - Infinite duration: Uses
PotionEffect.INFINITE_DURATION, ensuring the effect never expires naturally. - Command aliases:
/nightvisionand/nightvare also supported.
๐พ Persistent Player Data
- SQLite Database: Player Night Vision preferences are automatically saved to a local SQLite database.
- Automatic restoration: Night Vision is automatically reapplied when players rejoin.
- Restart support: Player preferences are preserved across server restarts.
- Asynchronous operations: All database reads and writes run asynchronously to prevent unnecessary main-thread lag.
- Automatic permission cleanup: If a player rejoins without the
omeganightvision.usepermission, their saved database record is automatically removed.
๐ฅ Milk Immunity
Choose whether drinking milk should remove Night Vision.
- Enabled by default to preserve vanilla behaviour.
- Set
milk-removes-nightvision: falseto prevent milk from removing Night Vision. - When disabled, the effect is automatically reapplied after drinking milk.
๐ฌ Customisable Message System
Configure exactly how players receive plugin messages.
Every message supports three independent delivery channels:
- Chat: Send messages directly into chat.
- Action Bar: Display messages above the hotbar.
- Title: Display custom titles and subtitles on screen.
Enable any combination of these channels simultaneously.
All messages are fully editable in config.yml, including:
- Night Vision enabled.
- Night Vision disabled.
- No permission.
- Configuration reload confirmation.
Supports legacy Minecraft colour codes, including &a, &c and &8.
โ๏ธ Configuration & Management
- Live configuration reload: Use
/nv reloadto reload the configuration and rebuild the message manager without restarting the server. - Configurable persistence: Enable or disable SQLite storage through
database.enabled. - Customisable messages: Independently configure chat, action bar and title messages.
- Permission-based access: Control who can toggle Night Vision and reload the configuration.
๐งน Automatic Cleanup
- Active Night Vision effects are removed from all online players when the plugin is disabled.
- Prevents leftover potion effects after plugin shutdown.
- Automatically restores saved player preferences when they reconnect.
โก Lightweight & Dependency-Free
OmegaNightVision is designed to do one job efficiently.
- No external plugin dependencies.
- SQLite support bundled with Java.
- Asynchronous database operations.
- Minimal resource usage.
- Compatible with Paper and Spigot.
โจ๏ธ Commands
| Command | Aliases | Description | Permission |
| ------------ | --------------------------------------- | -------------------------------- | ------------------------- |
| `/nv` | `/nightvision`, `/nightv` | Toggle Night Vision on or off. | `omeganightvision.use` |
| `/nv reload` | `/nightvision reload`, `/nightv reload` | Reload the plugin configuration. | `omeganightvision.reload` |
๐ Permissions
| Permission | Description | Default |
| ------------------------- | -------------------------------------------------- | ------- |
| `omeganightvision.use` | Allows players to toggle Night Vision using `/nv`. | `true` |
| `omeganightvision.reload` | Allows players to reload the configuration. | `op` |
โจ Images
Before adding Omega NightVision:

After adding Omega NightVision:


