Marketplace
Plugin

OmegaNightVision

@ImRy6 0 sold
OmegaNightVision

About

OmegaNightVision is a lightweight, one-command Night Vision toggle for Paper and Spigot servers. Players type /nv and instantly receive infinite-duration Night Vision — no potion bottles, no timers, no expiry. It is fully configurable, database-backed, and works on Minecraft 1.16 through 1.21.4+.

Features

  • One-command toggle/nv instantly grants or removes infinite Night Vision using 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 with Night Vision enabled rejoins — even after a full server restart — the effect is automatically re-applied. No need to type /nv again.

  • Async database operations — All SQLite reads and writes run off the main thread, so persistence adds zero noticeable lag even on busy servers.

  • Milk immunity option — Set milk-removes-nightvision: false to make Night Vision immune to milk. The effect is instantly re-applied after drinking milk. Keep it true for vanilla behavior.

  • Three message channels — Every message can be delivered via Chat, Action Bar, or Title (or any combination of the three), fully configurable per message.

  • Fully customizable messages — Enabled, disabled, no-permission, and reload messages are all editable in the config with legacy & color code support. Chat messages support multiple lines.

  • Automatic cleanup — Night Vision is removed cleanly when a player disconnects or when the plugin is disabled, so no orphaned effects are left behind.

  • Permission-aware persistence — If a player no longer has omeganightvision.use when they rejoin, their saved database record is cleaned up automatically.

  • Live config reload/nv reload re-reads the entire configuration instantly, including the database and milk options — no restart needed.

  • Command aliases/nightvision and /nightv work alongside /nv.

  • Zero dependencies — No external plugins required. SQLite is built into the server, and there are no scheduled tasks hammering your tick rate.

Commands

  • /nv (aliases: /nightvision, /nightv) — Toggle infinite Night Vision on or off. Requires omeganightvision.use.

  • /nv reload — Reload the plugin configuration, including database and milk settings. Requires omeganightvision.reload.

Permissions

  • omeganightvision.use — Allows toggling Night Vision via /nv. Default: true (all players).

  • omeganightvision.reload — Allows reloading the configuration via /nv reload. Default: op (operators only).

How persistence works

  • Player toggles /nv on — their state is saved to the SQLite database.

  • Player quits — the effect is removed from the player, but the saved state is kept.

  • Player rejoins — the database is checked asynchronously and Night Vision is re-applied on the next tick.

  • Server restarts — all effects are cleared, but the database is untouched, so everyone gets their Night Vision back on rejoin.

  • Permission lost — if a rejoining player no longer has omeganightvision.use, their record is removed automatically.

Configuration

The plugin ships with a single, clean config.yml covering everything:

  • database.enabled — Set to true (default) to persist Night Vision state across disconnects and restarts, or false to disable persistence entirely and keep vanilla disconnect behavior.

  • milk-removes-nightvision — true (default) for vanilla milk behavior; false to make the plugin's Night Vision instantly re-apply after drinking milk.

  • messages — Every player-facing message (enabled, disabled, no-permission, reload) with independent chat, action bar, and title modules, each individually toggleable and fully recolorable with legacy & codes.

Requirements

  • Paper (recommended) or Spigot

  • Minecraft 1.16 – 1.21.4+ (api-version: 1.16)

  • Java 21

  • No dependencies — everything needed ships with the server

Ideal for

Survival and SMP servers that want a quality-of-life night vision command without the potion spam, hub servers that want permanent vision for staff or ranks, or any server that wants a simple, reliable toggle with persistence that just works.


Before adding Omega NightVision:

After adding Omega NightVision:

Updates

Initial releaseLatestAugust 31, 2026

Reviews

No reviews yet — buyers can leave one from their dashboard.

10credits
Source code available for +100 creditsLifetime access & free updates
@ImRy6Creator
Sales
0
Latest version
Initial release
Published
August 31, 2026
Updated
August 31, 2026
© 2026 Codella AI - All rights reserved.