{"id":30384337,"url":"https://github.com/rapha149/clearfog","last_synced_at":"2025-08-21T01:34:33.213Z","repository":{"id":130638360,"uuid":"439114582","full_name":"Rapha149/ClearFog","owner":"Rapha149","description":"Unnerved by 1.18 fog? This Spigot plugin will remove it!","archived":false,"fork":false,"pushed_at":"2025-07-30T10:37:42.000Z","size":178,"stargazers_count":8,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T12:55:22.063Z","etag":null,"topics":["fog","minecraft","minecraft-plugin","spigot","spigot-plugin"],"latest_commit_sha":null,"homepage":"https://www.spigotmc.org/resources/clearfog.98448/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rapha149.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-16T20:09:42.000Z","updated_at":"2025-07-30T10:37:46.000Z","dependencies_parsed_at":"2023-03-24T14:20:07.554Z","dependency_job_id":"bad94f73-e289-4e20-b73c-55bc41513fad","html_url":"https://github.com/Rapha149/ClearFog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rapha149/ClearFog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapha149%2FClearFog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapha149%2FClearFog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapha149%2FClearFog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapha149%2FClearFog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rapha149","download_url":"https://codeload.github.com/Rapha149/ClearFog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapha149%2FClearFog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271415243,"owners_count":24755629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fog","minecraft","minecraft-plugin","spigot","spigot-plugin"],"created_at":"2025-08-21T01:34:32.672Z","updated_at":"2025-08-21T01:34:33.207Z","avatar_url":"https://github.com/Rapha149.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClearFog\n\nAre you also unnerved by the new 1.18 fog system? And you tried to increase the server view distance?  \n**You don't have to!** This Spigot plugin \"tells\" the player that the view distance is higher than it actually is.\nThe server view distance won't change.  \nYou can even change the default view distance or set individual view distances for different players!\n\n## URLs\n\n- [Spigot](https://www.spigotmc.org/resources/clearfog.98448)\n- [bStats](https://bstats.org/plugin/bukkit/ClearFog/13628)\n\n## Why?\n\nAs of 1.18 the fog in Minecraft is not done by the client anymore but by the server.\nThis raises the problem that the server view distance may not be that high and the player will have very unnerving fog.  \nIf 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.\n\n## How this plugin works\n\nThe plugin modifies the login packet that is sent to the client when the client joins and changes the view distance.  \nHow that looks:  \n#### Before\n![2021-12-17_17 54 32](https://user-images.githubusercontent.com/49787110/146580689-1eab2fab-446b-4d83-a49d-2d79984fd01f.png)\n#### After\n![2021-12-17_17 54 14](https://user-images.githubusercontent.com/49787110/146580691-a13337b8-a76a-4f0c-916d-bcd688c57a6a.png)\n\n## Config\n\nThe default `config.yml` looks like this:\n```yml\ncheck-for-updates: true\ndirect-view-distance-updates: false\ndefault:\n  enabled: true\n  view-distance: 32\nindividual:\n  enabled: false\n  players: {}\nworld:\n  enabled: false\n  worlds: {}\n```\nYou can change all values using commands, but you can edit the config, too.  \nHere's what the values do:\n\n- `check-for-updates` - Whether to check for plugin updates on startup.\n- `direct-view-distance-updates` - Whether view distances should be updated directly when they are being changed by commands or by reloading the config. Please note that this is not recommended because it does not look good and the method for doing so is messy.\n- `default`\n  - `enabled` - Changes whether the default view distance is applied.  \n  - `view-distance` - The default view distance.  \n- `distances`  \n  - `enabled` - Changes whether player specific view distances are applied.\n  - `players` - Here are player specific view distances saved.\n- `world`\n  - `enabled` - Changes whether world specific view distances are applied.\n  - `worlds` - Here are world specific view distances saved.\n\n### Messages\n\nYou can also change all messages in the `messages.yml` file!\n\n## Commands\n\nThe plugin contains one basic command: `/fog`  \nSub commands are:\n- `/fog reload` - Reloads the config.\n- `/fog directupdates status` - Checks whether direct updates are enabled.\n- `/fog directupdates \u003cenable|disable\u003e` - Enable or disable direct updates.\n- `/fog default status` - Checks whether the default view distance is enabled.\n- `/fog default \u003cenable/disable\u003e` - Enables or disables the default view distance.\n- `/fog default get` - Returns the default view distance.\n- `/fog default set \u003cView Distance\u003e` - Sets the default view distance.\n- `/fog world status` - Checks whether world specific view distances are enabled.\n- `/fog world \u003cenable|disable\u003e` - Enables or disables world specific view distances.\n- `/fog world list` - Lists world specific view distances.\n- `/fog world get [World]` - Returns the world specific view distance for a specific world or the world where you are currently in.\n- `/fog world set \u003cView Distance\u003e [World]` - Sets the world specific view distance for a specific world or the world where you are currently in.\n- `/fog world unset [World]` - Removes the world specific view distance for a specific world or the world where you are currently in.\n- `/fog individual status` - Checks whether player specific view distances are enabled.\n- `/fog individual \u003cenable|disable\u003e` - Enables or disables player specific view distances.\n- `/fog individual list` - Lists player specific view distances.\n- `/fog individual get [Player]` - Returns the player specific view distance for yourself or another player.\n- `/fog individual set \u003cView Distance\u003e [Player]` - Sets the player specific view distance for yourself or another player.\n- `/fog individual unset [Player]` - Removes the player specific view distance for yourself or another player.\n\nYou can also use the alias `/worldfog` for all `/fog world` commands and the alias `/myfog` for all `/fog individual` commmands.  \nFor example: You can use `/myfog set 16` instead of `/fog individual set 16`.\n\nPlease 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.\n\n## Permissions\n\n- `clearfog.reload` - Permission for `/fog reload`\n- `clearfog.directupdates` - Permission for `/fog directupdates`\n- `clearfog.default.status` - Permission for `/fog default status` and `/fog default \u003cenable|disable\u003e`\n- `clearfog.default.values` - Permission for `/fog default get` and `/fog default set`\n- `clearfog.world.status` - Permission for `/fog world status` and `/fog world \u003cenable|disable\u003e`\n- `clearfog.world.list` - Permission for `/fog world list`\n- `clearfog.world.values` - Permission for `/fog world get`, `/fog world set` and `/fog world unset`\n- `clearfog.individual.status` - Permission for `/fog individual status` and `/fog individual \u003cenable|disable\u003e`\n- `clearfog.individual.list` - Permission for `/fog individual list`\n- `clearfog.individual.values` - Permission for `/fog individual get`, `/fog individual set` and `/fog individual unset`\n- `clearfog.individual.values.others` - Allows players to change the player specific view distances for other players.\n\n## Additional information\n\nThis plugin collects anonymous server stats with [bStats](https://bstats.org), an open-source statistics service for Minecraft software. If you don't want this, you can deactivate it in `plugins/bStats/config.yml`.\n\n## Credits\n\nCredits go to [dmulloy2](https://github.com/dmulloy2) and aadnk for [TinyProtocol](https://github.com/dmulloy2/ProtocolLib/blob/master/TinyProtocol/src/main/java/com/comphenix/tinyprotocol/TinyProtocol.java) (a part of [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997)) from which I used some code. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapha149%2Fclearfog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapha149%2Fclearfog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapha149%2Fclearfog/lists"}