Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
๐ cNightVision ๐
Lightweight โข Persistent โข Fully Customizable Night Vision
No dependencies โข Server-side only โข Safe on every server
โจ What is cNightVision?
cNightVision gives your players clean, permanent Night Vision with one command. It remembers each player's choice, survives death, milk and restarts, can switch on automatically in the dark, and comes with a settings menu, admin tools, per-world control and full Arabic + English support.
๐ก No Vault. No required plugins. Drop it in and it works.
๐ Features
| Feature | Details | |
|---|---|---|
| ๐ | One-command toggle | /nv turns Night Vision on or off instantly |
| ๐พ | Persistent | Stays enabled after death, relog and server restart |
| ๐ฅ | Milk-proof | Effect is restored automatically after drinking milk |
| ๐ป | Clean effect | Hide particles and the effect icon (configurable) |
| โฑ๏ธ | Duration | Permanent, or limited time in seconds |
| ๐ | Auto Darkness | Turns on in caves and at night, off in the light |
| ๐ฑ๏ธ | Settings GUI | Simple menu with /nv settings |
| ๐ก๏ธ | Admin tools | Control other players, block and unblock |
| ๐ | Disabled worlds | Turn the plugin off in chosen worlds |
| ๐ | Bilingual | English and Arabic, every message editable |
| ๐งฉ | PlaceholderAPI | Show status in TAB, scoreboards, holograms |
| ๐ | UUID storage | Data saved by UUID, never by name |
| ๐ค | Safe | Auto mode never removes an effect it did not apply |
| ๐ชถ | Lightweight | Light check every 2 seconds, no heavy per-tick work |
๐ฆ Versions
| File | Minecraft | Java | Platforms |
|---|---|---|---|
cnightvision-1.0.0.jar |
1.20.x | 17+ | Paper โข Purpur โข Spigot โข Bukkit |
cnightvision-2.0.0.jar |
1.21.x | 21+ | Paper โข Purpur โข Spigot โข Bukkit |
cnightvision-2.1.0.jar |
26.x | 25+ | Paper โข Purpur โข Spigot โข Bukkit |
โ ๏ธ Download the file that matches your Minecraft version.
๐ ๏ธ Installation
- ๐ฅ Download the correct
.jarfor your version. - ๐ Put it in your server's
plugins/folder. - ๐ Restart the server.
- โ๏ธ Edit
plugins/cNightVision/config.ymlif you want. - โ
Run
/nv reloadto apply changes.
โ๏ธ No required dependencies.
๐ฎ Commands
Main command: /nv ย |ย Alias: /nightvision
๐ค Player commands
| Command | Description | Permission |
|---|---|---|
/nv |
Toggle Night Vision | cnightvision.use |
/nv on |
Enable | cnightvision.use |
/nv off |
Disable | cnightvision.use |
/nv status |
Show your status | cnightvision.use |
/nv auto |
Toggle Auto Darkness mode | cnightvision.auto |
/nv settings |
Open the settings menu | cnightvision.settings |
๐ก๏ธ Admin commands
| Command | Description | Permission |
|---|---|---|
/nv player <name> on/off |
Enable or disable for a player | cnightvision.admin |
/nv block <name> |
Block a player from using it | cnightvision.admin |
/nv unblock <name> |
Unblock a player | cnightvision.admin |
/nv reload |
Reload config, language and data | cnightvision.admin |
๐ Permissions
| Permission | Default | Description |
|---|---|---|
cnightvision.use |
Everyone | Use /nv |
cnightvision.auto |
Everyone | Use Auto Darkness |
cnightvision.settings |
Everyone | Open the settings menu |
cnightvision.admin |
OP | Admin commands, reload, change language from the menu |
๐ Auto Darkness
Players enable it with /nv auto. Then the plugin:
- โ Turns Night Vision on when the light level is low (caves) or at night
- โ Turns it off when the player comes back to the light
- โ Stays separate from manual mode, so it never turns off what you enabled yourself
- โ Checks every 2 seconds by default, so it stays light on the server
- โ Fully adjustable: light levels, interval, night counts as dark or not
| Setting | Meaning |
|---|---|
light-level |
At or below this, Night Vision turns on |
light-level-off |
At or above this, it turns off |
night-counts-as-dark |
Treat night in the overworld as dark |
check-interval-ticks |
How often to check (40 = 2 seconds) |
๐ฑ๏ธ Settings Menu
Open it with /nv settings:
| Button | Action |
|---|---|
| ๐ข Night Vision | Turn on or off |
| ๐ Auto Mode | Turn Auto Darkness on or off |
| ๐ Language | Switch between English and Arabic (admins only) |
| ๐ด Close | Close the menu |
๐งฉ PlaceholderAPI
Optional. It hooks in automatically when PlaceholderAPI is installed.
| Placeholder | Output |
|---|---|
%cnightvision_enabled% |
true or false |
%cnightvision_status% |
ON or OFF (translated) |
%cnightvision_auto% |
Is Auto mode enabled? |
%cnightvision_blocked% |
Is the player blocked? |
%cnightvision_world_allowed% |
Allowed in the current world? |
โ๏ธ Configuration Files
Generated in plugins/cNightVision/:
| File | Purpose |
|---|---|
config.yml |
General settings |
lang_en.yml |
English messages |
lang_ar.yml |
Arabic messages |
players.yml |
Enabled and blocked players (UUIDs) |
auto.yml |
Players using Auto mode |
๐ config.yml
# Language: en or ar
language: en
# Effect duration in seconds. 0 = permanent
duration: 0
# Hide particles and icon
hide-particles: true
hide-icon: true
# Worlds where night vision is disabled
disabled-worlds:
- example_world
# Auto darkness mode
auto-darkness:
enabled: true
light-level: 6
light-level-off: 9
night-counts-as-dark: true
check-interval-ticks: 40
๐ lang_en.yml (sample)
enabled: "&aNight Vision enabled."
disabled: "&cNight Vision disabled."
status-on: "&7Night Vision: &aON"
status-off: "&7Night Vision: &cOFF"
no-permission: "&cYou do not have permission."
blocked: "&cYou are blocked from using Night Vision."
world-disabled: "&cNight Vision is disabled in this world."
auto-on: "&aAuto Night Vision enabled (works in the dark)."
gui-title: "&8Night Vision Settings"
๐ players.yml
enabled:
- 00000000-0000-0000-0000-000000000000
blocked: []
๐ auto.yml
players:
- 00000000-0000-0000-0000-000000000000
๐ก๏ธ Safety & Performance
- ๐ Data saved by UUID, so name changes never break anything
- ๐ชถ Auto mode uses a slow timer, not a per-tick check
- ๐ค Never removes a Night Vision effect that it did not apply
- ๐งน Tasks are cancelled cleanly when the plugin stops
- ๐งฉ Uses only the Bukkit/Spigot API, no NMS
โ FAQ
Does it need PlaceholderAPI? No, it is optional.
Does it work with other plugins? Yes, it only uses the Bukkit/Spigot API.
Can I change the language? Yes: set language: ar or en in config.yml, then /nv reload.
I updated and the messages look old. Delete lang_en.yml and lang_ar.yml so they regenerate.
Which versions work? Use the file that matches your Minecraft version (see the Versions table).
๐บ๏ธ Roadmap
- [ ] Automatic data backups
- [ ] SQLite / MySQL storage
- [ ] WorldGuard and LuckPerms integration
- [ ] Forced mode for admins
- [ ] More settings in the menu
๐ธ๐ฆ ุจุงูุนุฑุจู
cNightVision ุจูุฌู ุฑุคูุฉ ููููุฉ ุฎููู ูุณูู ุงูุงุณุชุฎุฏุงู :
- ๐ ุฃู
ุฑ
/nvููุชุดุบูู ูุงูุฅููุงู - ๐พ ูุญูุธ ุญุงูุชู ุจุนุฏ ุงูู ูุช ูุงูุฎุฑูุฌ ูุฅุนุงุฏุฉ ุชุดุบูู ุงูุณูุฑูุฑ
- ๐ฅ ูุฑุฌูุน ุงูุฑุคูุฉ ูู ุดุฑุจุช ุญููุจ
- ๐ ูุถุน ุชููุงุฆู: ูุดุชุบู ูู ุงููููู ูุงูููู ููุทูู ูู ุงูุถูุก (
/nv auto) - ๐ฑ๏ธ ูุงุฆู
ุฉ ุฅุนุฏุงุฏุงุช
/nv settings - ๐ก๏ธ ุฃุฏูุงุช ููุฅุฏุงุฑุฉ: ุชุญูู ุจูุงุนุจุ ุญุธุฑ ููู ุญุธุฑ
- ๐ ุชุนุทูู ุงูุจูุฌู ูู ุนูุงูู ู ุญุฏุฏุฉ
- ๐ ุฑุณุงุฆู ุนุฑุจูุฉ ูุฅูุฌููุฒูุฉ ูุงุจูุฉ ููุชุนุฏูู
- ๐งฉ ุฏุนู PlaceholderAPI (ุงุฎุชูุงุฑู)
ูุชูุนูู ุงูุนุฑุจู: ุถุน language: ar ูู config.yml ุซู
ุงูุชุจ /nv reload.
โญ If you enjoy cNightVision, please follow the project and leave feedback!
๐ฌ Bugs and suggestions are always welcome.

