Omega NightVision v1.0

A simple, lightweight plugin that allows players to toggle unlimited Night Vision
onv.png

✨ Images​

Before adding Omega NightVision:
Screenshot 2026-07-09 210026.png

After adding Omega NightVision:
Screenshot 2026-07-09 210055.png


✨ 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​

CommandAliasesDescriptionPermission
/nv/nightvision, /nightvToggle infinite Night Vision on/offomeganightvision.use
/nv reload/nightvision reload, /nightv reloadReload the plugin configurationomeganightvision.reload

🔐 Permissions​

PermissionDescriptionDefault
omeganightvision.useAllows toggling Night Vision via /nvtrue (all players)
omeganightvision.reloadAllows reloading the config via /nv reloadop (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:
1784154349727.png

1784154361646.png

1784154372730.png
EULA: Free EULA
Buy additional addons now
$0.00
Support
Standard
(free)
Includes:
Download the resource
Access new updates
Support from the creator
Enhanced
+ $3.74 $4.99
Includes Standard support plus:
Priority support
Share and earn
Refer this resource and earn a 10% commission.
56 Views
2 Downloads
Jul 17, 2026 Published
N/A Updated
Not yet rated
14.7 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
AI Content Disclosure
Cover image generated with ChatGPT
AI use in product
No
Type
  1. Gameplay
Game mode
  1. Survival
  1. Skyblock
  1. Prison
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 26.1
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
Supported languages
  1. English
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Host a lag-free Minecraft or Hytale server in minutes.
Get 25% off your first order with our link.
Recommended for you
Track, display, rank your players by XP with a fully customizable GUI leaderboard and more!
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,247 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,253 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,136 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,825 purchases
Share and earn
Refer this resource and earn a 10% commission.
56 Views
2 Downloads
Jul 17, 2026 Published
N/A Updated
Not yet rated
14.7 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
AI Content Disclosure
Cover image generated with ChatGPT
AI use in product
No
Type
  1. Gameplay
Game mode
  1. Survival
  1. Skyblock
  1. Prison
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 26.1
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
Supported languages
  1. English
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Host a lag-free Minecraft or Hytale server in minutes.
Get 25% off your first order with our link.
Recommended for you
Track, display, rank your players by XP with a fully customizable GUI leaderboard and more!
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,247 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,253 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,136 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,825 purchases
Top