I decided to update the Night vision plugin to handle 1.21.11 AND! The feature of when leaving the server, and you had it on, it saves it into data.yml and when the player rejoins, it re-applies the night vision!!!
I've added newly added commands and simpled based the plugin! I hope you enjoy this update!!
Customize your permissions!, Now with new sound and notification updater!.
Code (Text):
NightVision:
OnMessage: '&eYour Night vision has been &aenabled&e.' #The enable message of the /nv
OffMessage: '&eYour Night vision has been &cdisabled&e.' #The Disable message of the /nv
NoPermissionMessage: '&cSorry!, you do not have permission to use this command!.' #No Permission message
ReloadMessage: '&aYou have successfully reloaded the plugin.' # Reload the configuration message.
Prefix: '&6&l(!)' #Prefix For the plugin
Settings:
Enable: "ORB_PICKUP" #/nv On sound
Disable: "BAT_DEATH" #/nv off sound
Reload: "LEVEL_UP" #/reload For nightvision
DeniedPermission: "SLIME_BLOCK_BREAK"
Perm: "NightVision.use"
HelpPerm: "NightVision.help"
ReloadPerm: "NightVision.reload"
# Get any of the sounds you want from here!
# 1.12 + Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# 1.8.8 Sounds: https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
Help:
- "&a&l &7[&0&lNig&3&lhtV&b&li&1&lsi&9&lon&7] &a&l"
- " "
- "&4\u25cf &3&lCommands &4\u25cf"
- " "
- "&4&l» &6/nv - &aToggles NightVision"
- "&4&l» &6/nv reload - &aReloads Configurations."
- "&4&l» &6/nv help - &aSends you this help msg."
- " "
- "&4\u25cf &3&lPermissions &4\u25cf"
- " "
- "&4&l» &anightvision.use - &aAllows you to use the /nv commands."
- "&6"
- "&3Developed by &bHusly"
New configuration and added Sound to the commands!!
Code (Text):
NightVision:
OnMessage: '&eYour Night vision has been &aenabled&e.' #The enable message of the /nv
OffMessage: '&eYour Night vision has been &cdisabled&e.' #The Disable message of the /nv
NoPermissionMessage: '&cSorry!, you do not have permission to use this command!.' #No Permission message
ReloadMessage: '&aYou have successfully reloaded the plugin.' # Reload the configuration message.
Prefix: '&6&l(!)' #Prefix For the plugin
Settings:
Enable: "ORB_PICKUP" #/nv On sound
Disable: "BAT_DEATH" #/nv off sound
Reload: "LEVEL_UP" #/reload For nightvision
DeniedPermission: "SLIME_BLOCK_BREAK"
# Get any of the sounds you want from here!
# 1.12 + Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# 1.8.8 Sounds: https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
Help:
- "&a&l &7[&0&lNig&3&lhtV&b&li&1&lsi&9&lon&7] &a&l"
- " "
- "&4\u25cf &3&lCommands &4\u25cf"
- " "
- "&4&l» &6/nv - &aToggles NightVision"
- "&4&l» &6/nv reload - &aReloads Configurations."
- "&4&l» &6/nv help - &aSends you this help msg."
- " "
- "&4\u25cf &3&lPermissions &4\u25cf"
- " "
- "&4&l» &anightvision.use - &aAllows you to use the /nv commands."
- "&6"
- "&3Developed by &bHusly"
I've updated the configuration and added a bit more commands.
NEW
Code (Text):
NightVision:
OnMessage: '&eYour Night vision has been &aenabled&e.'
OffMessage: '&eYour Night vision has been &cdisabled&e.'
NoPermissionMessage: '&cSorry!, you do not have permission to use this command!.'
ReloadMessage: '&aYou have successfully reloaded the plugin.'
Prefix: '&6&l(!) '
Help:
- "&a&l &7[&0&lNig&3&lhtV&b&li&1&lsi&9&lon&7] &a&l"
- " "
- "&4\u25cf &3&lCommands &4\u25cf"
- " "
- "&4&l» &6/nv - &aToggles NightVision"
- "&4&l» &6/nv reload - &aReloads Configurations."
- "&4&l» &6/nv help - &aSends you this help msg."
- " "
- "&4\u25cf &3&lPermissions &4\u25cf"
- " "
- "&4&l» &anightvision.use - &aAllows you to use the /nv commands."
- "&6"
- "&3Developed by &bHusly"