Images
Before adding Omega NightVision:After adding Omega NightVision:
Features
- One-command toggle — /nv instantly grants or removes infinite-duration Night Vision
- No potion duration limit — Uses PotionEffect.INFINITE_DURATION so the effect never expires on its own
- Database persistence (SQLite) — Night Vision state is saved to a local SQLite database; when a player rejoins, their Night Vision is automatically re-applied — no need to type /nv again. Works across server restarts.
- Milk immunity option — Configurable: set milk-removes-nightvision: false to make Night Vision immune to milk — the effect is instantly re-applied after drinking milk
- Three message channels — Every message can be sent via Chat, Action Bar, or Title (or any combination), fully configurable per message type
- Fully customizable messages — Enabled, disabled, no-permission, and reload messages are all editable in config.yml with legacy & color code support
- Automatic state restoration on join — If a player had Night Vision enabled when they disconnected, it's automatically restored when they rejoin
- Permission cleanup on rejoin — If a player no longer has omeganightvision.use when they rejoin, their database record is automatically removed
- Clean cleanup on disable — All active effects are removed from all online players when the plugin is disabled (no orphaned effects)
- Live config reload — /nv reload re-reads the config and rebuilds the message manager instantly — no restart needed
- Permission-based access — Control who can use the command and who can reload
- Command aliases — /nightvision and /nightv also work
- Async database operations — All SQLite read/write operations run asynchronously to prevent any main-thread lag
- Lightweight — No external dependencies beyond the server API (SQLite is bundled with Java)
Commands
| Command | Aliases | Description | Permission |
|---|---|---|---|
| /nv | /nightvision, /nightv | Toggle infinite Night Vision on/off | omeganightvision.use |
| /nv reload | /nightvision reload, /nightv reload | Reload the plugin configuration | omeganightvision.reload |
Permissions
| Permission | Description | Default |
|---|---|---|
| omeganightvision.use | Allows toggling Night Vision via /nv | true (all players) |
| omeganightvision.reload | Allows reloading the config via /nv reload | op (operators only) |
Configuration (config.yml)
yamlCopy# Save night vision state to a SQLite database?
database:
enabled: true
# Should drinking milk remove the Night Vision effect?
milk-removes-nightvision: true
messages:
enabled:
module:
chat:
enabled: true
message:
- "&8NightVision has been enabled"
actionbar:
enabled: false
message: ""
title:
enabled: false
title: ""
subtitle: ""
disabled:
module:
chat:
enabled: true
message:
- "&8NightVision has been disabled"
actionbar:
enabled: false
message: ""
title:
enabled: false
title: ""
subtitle: ""
no-permission:
module:
chat:
enabled: true
message:
- "&cYou don't have permission to use this command!"
actionbar:
enabled: false
message: ""
title:
enabled: false
title: ""
subtitle: ""
reload:
module:
chat:
enabled: true
message:
- "&aConfiguration reloaded successfully!"
actionbar:
enabled: false
message: ""
title:
enabled: false
title: ""
subtitle: ""
Config Notes
- database.enabled — Set to false to disable persistence entirely (Night Vision won't survive disconnects/restarts)
- milk-removes-nightvision — true = vanilla milk behavior, false = milk does NOT remove Night Vision (effect is instantly re-applied)
- Each message supports three delivery channels — chat, action bar, and title — and you can enable any combination simultaneously
- Chat messages support a list of lines (multiple messages sent at once)
- Title messages have configurable title and subtitle fields with a fixed fade-in of 500ms, stay of 3000ms, and fade-out of 1000ms
- All messages support legacy & color codes (e.g. &a, &c, &8)
PLEASE DO NOT LEAVE REVIEWS FOR BUGS OR SUGGESTIONS PLEASE USE THE DISCORD FOR THAT!
WARNING
Enhanced support is a permanent role for all resources, Not just this one.
(This only Applies to resources with Priority support added)
Discord: https://discord.gg/KQcCjsGxQP
DISCLAIMER:
- DO NOT BUY THIS ADDON IF YOU DO NOT HAVE DISCORD!
- DO NOT BUY ENHANCED SUPPORT MORE ON MORE THEN 1 RESOURCE!
Spigot Reviews:
