A new setting has been added that allows you to ignore players with the nighvision effect, as per request
Updated config.yml
Code (Text):
# The amount of hunger that is taken.
hunger-amount: 2
# The minimum light level at which hunger will be taken.
minimum-light-level: 7
# The time it takes for the plugin to check every players light levels.
# The default of 60 means, that every 60 seconds the players light levels will be checked.
hunger-interval: 60
enable-during-day: true
enable-during-night: true
enable-for-ops: true
# Disable the effect for players with nightvision.
# If set to true; players with nightvision will not get hungry in the dark.
disable-for-nightvision: false
# If you want to disable this plugin for specific worlds, you can add them to this list.
worlds-blacklist:
# - world_nether
# If you want to disable this plugin for specific players, you can add them to this list.
# You can also give these player the hungrynights.bypass permission.
players-blacklist:
# - Meglama