NightVisionGoggles

NightVisionGoggles allows you to enter a command to get night vision. It's very useful for creative mode, when you need to be able to see in the dark but don't want to go through the trouble of digging out a potion of night vision and reapplying it every time it wears off.

After turning on night vision, the standard night vision effect will be applied to you, and refreshed periodically so you will have permanent, hassle-free night vision until you turn it off.

To install, just place the downloaded .jar file inside your server's plugins folder.

If you're using permissions, the permission node to use the /nv command is nv.use.

Video preview: http://youtu.be/GkgLWoSw-PQ

Commands

/nv - Toggle night vision /nv on - Turn on night vision /nv off - Turn off night vision

Configuration

Upon first loading, the plugin will create a config file at plugins/NightVisionGoggles/config.yml with the following settings:

use-permissions: If true, NightVisionGoggles will use an installed permissions plugin (like PermissonsEx) to determine permissions. If false, it will use the ops-only setting to determine permissions. The permission node to use the /nv command is nv.use. Default: false

ops-only: Only allow ops to use /nv. This setting is only used if use-permissions is false. Default: true

effect-duration: Duration, in ticks, to set the night vision effect to. Doesn't really matter since it's refreshed constantly, so this is just an aesthetic setting. Default: 12000 (10 minutes)

refresh-interval: How often, in ticks, to re-apply the night vision effect to all players who have it enabled. Should be less than effect-duration, or the effect will wear off before it's refreshed. Default: 6000 (5 minutes)

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of drewhd707 drewhd707 Jan 25, 2014 at 02:27 UTC - 0 likes

    Guys the permission Node, is actually "nv.use" In the Description it says "nvg.use" It took me a while to figure it out as it made sense Perfect plugin just someone was probably a little sleepy When writing the set-up aha Nice job though Thanks!

  • Avatar of MCer202 MCer202 Jan 06, 2014 at 02:38 UTC - 0 likes

    Umm... you can just do /effect and put the time to infinity...

  • Avatar of nicholasooo nicholasooo Mar 20, 2013 at 03:40 UTC - 0 likes

    @Foxthorn: Go

    Fox! That worked perfect.

    Cube'n It: cubenit.com. PVP, Extreme, Adult owned and operated

  • Avatar of Foxthorn Foxthorn Feb 23, 2013 at 16:14 UTC - 0 likes

    @nicholasooo: Go

    It works if I set it up like this:

    Inside plugins/GroupManager/worlds/world_name/users.yml:

    users:
      tony311:
        group: NightVisionGroup
    

    Inside plugins/GroupManager/worlds/world_name/groups.yml:

    groups:
      Default:
        default: true
        permissions:
        - -bukkit.command.kill
        info:
          prefix: ''
          build: true
          suffix: ''
      NightVisionGroup:
        default: false
        permissions:
        - 'nv.use'
        info:
          prefix: ''
          build: true
          suffix: ''
    

    And for completeness, the NightVisionGoggles config:

    ops-only: true
    effect-duration: 12000
    refresh-interval: 6000
    use-permissions: true
    
  • Avatar of nicholasooo nicholasooo Feb 23, 2013 at 08:54 UTC - 0 likes

    @Foxthorn: Go

    Sorry it took a while to get back. I forgot I had commented here. Yes I have all my permissions set up using groupmanager and nothing is working. It always tells me that nv is not allowed when I enable permission checks.

  • Avatar of Foxthorn Foxthorn Feb 18, 2013 at 16:32 UTC - 0 likes

    @nicholasooo: Go

    Is use_permissions set to true in config.yml?

  • Avatar of nicholasooo nicholasooo Feb 18, 2013 at 05:38 UTC - 0 likes

    I can't get nvg.use to work. Anyone else having trouble?

  • Avatar of BiweGas BiweGas Jan 30, 2013 at 19:42 UTC - 0 likes

    awesome thing also you should make economy support and timer(like you write /nv from you server picks 50$ and you have 5minutes of night vision effect)

    Last edited Jan 30, 2013 by BiweGas

    MyMinecraft Server

  • Avatar of tony311 tony311 Jan 30, 2013 at 18:27 UTC - 0 likes

    @ManBeastPigDev: Go

    I uploaded a new version (1.1) that adds support for actual permissions. Once it's approved, the single permission node for using the /nv command is nvg.use. Make sure use-permissions is enabled in the config.

    BFAK:TonyFox,90646708,9eeb965ce071a4b44b369a3adde41eea47aa28e189ba403b949c25e352ef14c2

  • Avatar of ManBeastPigDev ManBeastPigDev Jan 30, 2013 at 10:48 UTC - 0 likes

    What are the permissions?

    Crafty Creeper Party Server

Table of contents

  1. 1 Commands
  2. 2 Configuration

Facts

Date created
Jan 29, 2013
Category
Last update
May 08, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
NightVisionGoggles
Downloads
1,958
Recent files

Authors