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)
@MCer202
yeah but how do you give it to each person? just a command block at spawn? also it doesn't look cool because it announces it. also when people die they loose it or they drink milk its gone lol
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!
Umm... you can just do /effect and put the time to infinity...
@Foxthorn
Fox! That worked perfect.
@nicholasooo
It works if I set it up like this:
Inside plugins/GroupManager/worlds/world_name/users.yml:
Inside plugins/GroupManager/worlds/world_name/groups.yml:
And for completeness, the NightVisionGoggles config:
@Foxthorn
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.
@nicholasooo
Is use_permissions set to true in config.yml?
I can't get nvg.use to work. Anyone else having trouble?
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)
@ManBeastPigDev
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.
What are the permissions?
This is actually a great Idea I am going to get this for my server as I think people will enjoy it, Thanks.
@BiweGas
Okay, made a video and added a link in the description.
please admins aprove this plugin it is ganna be useful when i'm working on my server with a big building/project
photos please(or video)