
NVPlugin
A simple night vision, ready to use
Автор: AyoSynk4 тыс.1обновлён 1 окт. 2026 г.
ПриключенияМеханики игрыУтилиты
Описание

🌙 Night Vision — Seamless Vision Control Plugin
An ultra-lightweight, zero-setup plugin to toggle Night Vision at will — built for performance, Folia threading, and simplicity.
✨ Features
- ✅ Toggle with
/nv— one command, no fuss - ⚡ Folia & Paper Native — fully regionalized and thread-safe for Folia, Paper, Purpur, and modern forks
- 🔓 Zero Setup Required — works out of the box with zero database or permission configuration
- 🪦 Survives death — no reactivation needed
- 🥛 Immune to milk — effect automatically re-applied
- 🔁 True Persistence — saved natively in player data via
PersistentDataContainer(survives server reboots, deaths, and reconnects) - ⚙️ Okaeri Configs — automatic config updates, comments, and automatic
.bkbackups when updating - 🔔 Modrinth Update Checker — non-blocking asynchronous notifications when new releases are available
- ❌ No particles — completely clean visuals
🚀 Installation
- Download the latest
NightVision.jar - Place it into your server's
plugins/folder - Start or restart your Minecraft server
💡 Supports Folia, Paper, Purpur, Gale, Spigot, and compatible forks on Minecraft 1.21 through 26.3+.
🔎 Preview
Click to watch the demo on YouTube.
⚙️ Configuration (config.yml)
# ███╗░░██╗██╗░██████╗░██╗░░██╗████████╗ ██╗░░░██╗██╗░██████╗██╗░█████╗░███╗░░██╗
# ████╗░██║██║██╔════╝░██║░░██║╚══██╔══╝ ██║░░░██║██║██╔════╝██║██╔══██╗████╗░██║
# ██╔██╗██║██║██║░░██╗░███████║░░░██║░░░ ╚██╗░██╔╝██║╚█████╗░██║██║░░██║██╔██╗██║
# ██║╚████║██║██║░░╚██╗██╔══██║░░░██║░░░ ░╚████╔╝░██║░╚═══██╗██║██║░░██║██║╚████║
# ██║░╚███║██║╚██████╔╝██║░░██║░░░██║░░░ ░░╚██╔╝░░██║██████╔╝██║╚█████╔╝██║░╚███║
# ╚═╝░░╚══╝╚═╝░╚═════╝░╚═╝░░╚═╝░░░╚═╝░░░ ░░░╚═╝░░░╚═╝╚═════╝░╚═╝░╚════╝░╚═╝░░╚══╝
#
# NightVision configuration file - powered by Okaeri Configs
# Changes are automatically loaded and formatted.
# Configuration schema version. Used for automatic backups and migrations. Do not modify manually.
config-version: 2
# Core Settings
# If true, players require the 'nightvision.use' permission. If false, everyone can use /nv.
use-permissions: false
# Duration of the night vision effect in seconds (-1 = infinite).
effect-duration: -1
# Whether night vision should automatically be re-applied when an enabled player joins the server.
apply-on-join: true
# Whether to show potion swirl particles around the player.
show-particles: false
# Chat message notifications sent upon toggling /nv.
messages:
# If set to false, chat messages will not appear.
enabled: true
# Message displayed in chat when Night Vision is toggled ON.
enabled-text: "&a&lNight Vision Enabled"
# Message displayed in chat when Night Vision is toggled OFF.
disabled-text: "&c&lNight Vision Disabled"
# Action bar title notifications sent upon toggling /nv.
titles:
# If set to false, action bar titles will not appear.
enabled: true
# Action bar text shown when Night Vision is toggled ON.
enabled-text: "&7Night Vision &aON"
# Action bar text shown when Night Vision is toggled OFF.
disabled-text: "&7Night Vision &cOFF"
# Modrinth Update Checker settings (https://modrinth.com/plugin/nvplugin).
update-checker:
# Check for updates on Modrinth.
enabled: true
# Send in-game notification to administrators/OPs when they join if an update is available.
notify-admins-on-join: true
💬 Support
Need help or want to suggest a feature?
📦 Downloads
- Modrinth Page
- Latest
.jaravailable on GitHub Releases
Night Vision — Stay sharp, stay visible, stay in control.
Последние версии
Все версии →release
NVPlugin 1.4
1.41 окт. 2026 г.1,1 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3folia, paper, purpur
Что нового
## [1.4.0] — 2026-10-01
### Major Highlights
* **Universal 1.21 to 26.3+ Support**: Native support across all modern Minecraft versions (1.21, 1.21.1–1.21.4, through 26.3+).
* **Native Folia Support**: Added full compatibility for Folia's multi-threaded regional scheduling, plus Paper, Purpur, Gale, and legacy Spigot.
* **Okaeri Configs Integration**: Complete rewrite of the configuration system using Okaeri Configs with automatic schema updates, formatted comments, and automated `.bk` backup generation on update.
* **Zero-Setup PersistentDataContainer (PDC)**: Toggle preferences are now stored directly in player NBT data, surviving server restarts and player deaths with zero external database configuration.
* **Modrinth Update Checker**: Added an asynchronous, non-blocking update checker communicating with the Modrinth API (`https://modrinth.com/plugin/nvplugin`).
---
### New Features & Enhancements
* **Folia Regional Threading**:
* Implemented `TaskScheduler` with an isolated `PaperFoliaBridge` that uses `entity.getScheduler().runDelayed()` for regional player operations and `Bukkit.getAsyncScheduler()` for asynchronous tasks.
* Added `folia-supported: true` to `plugin.yml`.
* Safe graceful fallbacks for standard Paper and Spigot.
* **Automated Config Backups & Schema Migration**:
* Detects legacy configurations (`config-version < 2`) and automatically generates a `config.yml.bk` (or timestamped backup) before generating the new Okaeri schema.
* Okaeri preserves custom edits while automatically inserting any newly introduced configuration keys and comments.
* **Player State Persistence**:
* Replaced transient in-memory UUID set with Minecraft's native `PersistentDataContainer` (`night_vision_enabled`).
* Player states persist across server restarts, reboots, crashes, world transfers, and player deaths.
* Added memory-leak-free caching that automatically cleans up when players disconnect.
* **Modrinth Update Checker**:
* Non-blocking REST client query to `https://api.modrinth.com/v2/project/nvplugin/version`.
* Logs a notification in the console on server startup if an update is found.
* Sends an in-game notification to operators or players with `nightvision.admin` upon login.
* Configurable in `config.yml` under `update-checker`.
* **Visuals & Color Formatting**:
* Added `ColorUtil` supporting both standard legacy color codes (`&a`, `&l`) and modern Hex color formatting (`&#RRGGBB`).
* Clean potion effects: ambient particles disabled by default and potion icon hidden from the HUD.
* **Clean Codebase**:
* Removed all inline and block comment clutter across all Java source files.
* Replaced reflection-heavy scheduler wrappers with direct native calls in isolated class bridges.
* Shaded and relocated all Okaeri dependencies to `org.ayosynk.nightVision.libs.okaeri.configs` to prevent classpath conflicts.
release
NVPlugin 1.3
1.36 июн. 2025 г.2,9 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, spigot
Что нового
**Improved Configuration:**
- Dedicated config manager with type-safe access
- Automatic config validation
- Hot-reload capability
release
NVPlugin 1.1
1.12 июн. 2025 г.60Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5paper, spigot
Что нового
updated config.yml
release
NVPlugin 1.0
1.029 мая 2025 г.47Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5paper, spigot
Что нового
Night Vision plugin
really good for geyser/bedrock players
