Home›Java›Mods›ClearFog
ClearFog
ModsJava

ClearFog

Java mod listed for Minecraft 1.18–1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Are you also unnerved by the new 1.18 fog system? And you tried to increase the server view distance?
You don't have to! This plugin "tells" the player that the view distance is higher than it actually is. The server view distance won't change.
You can even change the default view distance or set individual view distances for different players!

Why?
As of 1.18 the fog in Minecraft is not done by the client anymore but by the server. This raises the problem that the server view distance may not be that high and the player will have very unnerving fog.
If you can't increase it for some reason or you don't want to in order to save performance this was getting even more annoying.

How it works
The plugin modifies the login packet that is sent to the client when the client joins and changes the view distance.
How that looks:
Before
[​IMG]
After
[​IMG]

Config
The default config.yml looks like this:
Code (YAML):
check-for-updates : true
direct-view-distance-updates
: false
default
:
  enabled
: true
  view-distance
: 32
individual
:
  enabled
: false
  players
: { }
world
:
  enabled
: false
  worlds
: { }
You can change all values using commands, but you can edit the config, too.
Here's what the values do:
Messages
You can also change all messages in the messages.yml file!

Commands
The plugin contains one basic command: /fog
The Sub commands are:

You can also use the alias /worldfog for all /fog world commands and the alias /myfog for all /fog individual commmands.
For example: You can use /myfog set 16 instead of /fog individual set 16.

Please also note that if direct updates are distabled, fog is only applied on join, so you have to rejoin for the changes to take effect.

Permissions
Additional information
This plugin collects anonymous server stats with bStats, an open-source statistics service for Minecraft software. If you don't want this, you can deactivate it in plugins/bStats/config.yml.

Credits

Credits go to dmulloy2 and aadnk for TinyProtocol (a part of ProtocolLib) from which I used some code.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ClearFog is a free Minecraft Java mod. Compatible with Minecraft 1.18, 1.19, 1.20, 1.20.6 and newer. Downloaded 13,116 times (via Spigot). Download it and open it directly in the game.

Explore more