LsNightVision 图标

LsNightVision

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lsnightvision
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: bukkit folia paper purpur spigot

标签: game-mechanics utility

资源介绍

LsNightVision

A lightweight and configurable night vision toggle plugin for Minecraft servers.

LsNightVision allows players (or admins) to toggle infinite night vision with a simple command. The plugin is designed to be lightweight, configurable, and compatible with modern Paper-based servers.


Features

  • Toggle infinite night vision with /nv
  • Toggle night vision for other players
  • Optional persistent night vision after death and reconnect
  • Fully configurable action bar messages
  • Optional chat messages
  • Prevent players from removing night vision with milk
  • Supports hex colors (&#ffffff) and standard color codes (&)
  • Tab completion for player names
  • Lightweight and dependency-free

Commands

/nv

Toggle your own night vision.

/nv <player>

Toggle night vision for another player.

/nvreload

Reload the plugin configuration.


Permissions

Permission Description Default
nightvision.use Allows players to toggle their own night vision OP
nightvision.other Allows toggling night vision for other players OP
nightvision.reload Allows reloading the plugin config OP

Configuration

The plugin is fully configurable through config.yml.

Example configuration:

# If enabled, players who toggle night vision will keep it after
# death and when reconnecting to the server.
remember-toggle: true


# If true, Night Vision particles will appear around the player.
nv-particles: false

# If true, the Night Vision icon will appear in the player's HUD.
nv-hud-icon: false

# If true, players with toggled night vision cannot remove the effect
# by drinking milk.
prevent-milk-removal: true


# Action Bar Messages.
action-bar:
  enabled: true

  enabled-self: "&aNight vision enabled"
  disabled-self: "&cNight vision disabled"

  enabled-other: "&#55ff55Night vision enabled for &f%player%"
  disabled-other: "&#ff5555Night vision disabled for &f%player%"



# Chat Messages.
chat:
  enabled: false

  enabled-self: "&aNight vision enabled"
  disabled-self: "&cNight vision disabled"

  enabled-other: "&#55ff55Night vision enabled for &f%player%"
  disabled-other: "&#ff5555Night vision disabled for &f%player%"

reload-message: "&aLsNightVision configuration reloaded."

How it works

When a player toggles night vision:

  • The plugin applies an infinite NIGHT_VISION potion effect.

  • If remember-toggle is enabled, the plugin stores the player and reapplies night vision when they:

    • rejoin the server
    • respawn after death

This ensures players keep their chosen night vision state.


Compatibility

  • Paper
  • Spigot
  • Purpur

Minecraft 1.21+


Installation

  1. Download the plugin .jar
  2. Place it in your server's plugins folder
  3. Restart the server
  4. Configure config.yml if desired

Why use LsNightVision?

  • Simple and lightweight
  • Fully configurable
  • Supports modern Minecraft color formatting
  • No dependencies required
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sunnyvale The Dream

价格:0 墨喵币
下载量:0

查看详情
Ultimate War Forge/Fabric

价格:0 墨喵币
下载量:0

查看详情
InvSearch

价格:0 墨喵币
下载量:0

查看详情
Breeze Rod Recipe

价格:0 墨喵币
下载量:0

查看详情