NightVision icon

NightVision -----

Toggle NightVision w/ Milk Bypass & /heal PotionEffects Bypass)



NightVision Features:
  • Config.yml for choosing bypasses for milk and /heal.
  • Messages.yml for custom messages for toggling NightVision for yourself, others, when the targeted player is offline, and when players do not have permission.
    • For the use of custom messages when healing yourself, others, when a player is offline, and when players do not have permission.
  • Allows for the use of {player} and {target} placeholders in messages when using the commands.
Updating to version 2.0.0 from 1.5 - 1.6.1? Change to config.yml
Updating to version 2.0.0 from 1.4? Changes to messages.yml & config.yml
Code (YAML):

#Toggle whether NightVision bypasses Milk.
#True = Don't remove NightVision.
#False = Remove NightVision.
BypassMilK
: true
#Toggle what effects /heal bypasses when used.
#List of Effect Names or ("NONE"):
#   - (Heals Hearts & Food)
#   "NONE" = Heals the addition of all effects. (+Effects)
#   Link for Effect Names:
#   https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
#Positive/Neutral Effects List: {
#   Speed, Haste, Strength,
#   Instant Health, Jump Boost, Regeneration,
#   Resistance, Fire Resistance, Water Breathing,
#   Invisibility, Night Vision, Health Boost,
#   Absorption, Saturation, Glowing, Luck,
#   Slow Fall, Conduit Power, Dolphin's Grace,
#   Hero of the Village }
BypassHealingEffects
:
 - "ABSORPTION"
  - "BAD_OMEN"
  - "BLINDNESS"
  - "CONDUIT_POWER"
  - "CONFUSION"
  - "DAMAGE_RESISTANCE"
  - "DOLPHINS_GRACE"
  - "FAST_DIGGING"
  - "FIRE_RESISTANCE"
  - "GLOWING"
  - "HARM"
  - "HEAL"
  - "HEALTH_BOOST"
  - "HERO_OF_THE_VILLAGE"
  - "HUNGER"
  - "INCREASE_DAMAGE"
  - "INVISIBILITY"
  - "JUMP"
  - "LEVITATION"
  - "LUCK"
  - "NIGHT_VISION"
  - "POISON"
  - "REGENERATION"
  - "SATURATION"
  - "SLOW"
  - "SLOW_DIGGING"
  - "SLOW_FALLING"
  - "SPEED"
  - "UNLUCK"
  - "WATER_BREATHING"
  - "WEAKNESS"
  - "WITHER"
 
Code (YAML):
noPermissionReload : '&4You do not have permission to execute this command.'
nvPlayerOffline
: '&4That player is offline.'
nvNoPermissionSelf
: '&4You do not have permission to execute this command.'
nvNoPermissionOthers
: '&4You do not have permission to execute this command.'
nvSelfEnabled
: '&bNightVision has been &aEnabled.'
nvSelfDisabled
: '&bNightVision has been &4Disabled.'
nvSelfEnabledTarget
: '&bYou &aEnabled &b {target }''s NightVision.'
nvSelfDisabledTarget
: '&bYou &4Disabled &b {target }''s NightVision.'
nvTargetEnabledBy
: '&bYour NightVision was &aEnabled &bby {player }.'
nvTargetDisabledBy
: '&bYour NightVision was &4disabled &bby {player }.'
healPlayerOffline
: '&4That player is offline.'
healNoPermissionSelf
: '&4You do not have permission to execute this command.'
healNoPermissionOthers
: '&4You do not have permission to execute this command.'
healSelf
: '&bYou healed yourself.'
healSelfHealingTarget
: '&bYou healed {target }.'
healTargetHealedBy
: '&bYou were healed by {player }.'
NightVision Commands & Permissions:

Commands and their aliases:
/nv: [/nightvision]
/heal: [/eheal]


The ability to use all commands can be given through the permission nv.*

  • /nv
    • Permission: nv.use
    • Description: Toggle NightVision for yourself.
  • /nv [player]
    • Permission: nv.others
    • Description: Toggle NightVision for others.
  • /nv reload
    • Permission: nv.reload
    • Description: Reload the NightVision plugin.
  • /heal
    • Permission: nv.heal
    • Description: Heal yourself.
  • /heal [player]
    • Permission: nv.heal.others
    • Description: Heal others.
Terms of Service:
  1. You are not allowed to claim this plugin as your own.
  2. You are not allowed to decompile/alter/use/copy any code from this plugin.
Resource Information
Author:
----------
Total Downloads: 404
First Release: Jul 21, 2020
Last Update: Jan 16, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings