Installing GodotNWS is a straightforward process that mirrors how any Godot 4 editor plugin is added to a project. You copy a folder, flip a toggle in Project Settings, and the globalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/OdintheDoggo/GodotNWS/llms.txt
Use this file to discover all available pages before exploring further.
Nws singleton becomes available everywhere in your codebase. No package manager, no external dependencies, and no API key registration is required — the U.S. National Weather Service API is free and open.
Download the plugin from GitHub
Visit the GodotNWS repository and download the source. You can either:The file you need is the
- Click Code → Download ZIP and extract it, or
- Clone the repository with Git:
addons/GodotNws/ folder found at the root of the downloaded or cloned repository.Copy the plugin folder into your project
Inside your Godot project’s root directory, create an Do not rename the folder — Godot locates the plugin by the path declared inside
addons/ folder if one does not already exist. Then copy the entire GodotNws folder into it so that the final structure looks like this:plugin.cfg.Enable the plugin in the Godot editor
Open your project in the Godot editor, then navigate to:Project → Project Settings → PluginsFind GodotNWS in the plugin list and toggle the Enable checkbox. The status column will change to Active.If the plugin does not appear, verify that
addons/GodotNws/plugin.cfg exists and that Godot has finished scanning the filesystem (try Project → Reload Current Project if needed).Verify the Nws autoload is registered
After enabling the plugin, navigate to:Project → Project Settings → AutoloadYou should see an entry named Nws pointing to
res://addons/godotnws/NwsSingleton.gd. This confirms the singleton was registered successfully.In any script, you can also verify at runtime:How the Autoload Is Registered
When you enable GodotNWS, the editor plugin’s_enable_plugin() method in NWS.gd calls:
godotnws directory name. The folder on disk is named GodotNws (capital G, lowercase nws), but the path registered in the autoload uses godotnws (all lowercase). Godot’s filesystem is case-insensitive on Windows but case-sensitive on Linux and macOS — the plugin handles this internally, so no manual adjustment is needed as long as you have not renamed the folder.
This is why Nws appears globally without any additional setup on your part. Godot adds it to the autoload list and instantiates it before any of your scenes load, making it available from the very first _ready() call in your project.
Disabling the plugin is equally clean. When you toggle GodotNWS off in Project Settings, the editor plugin’s
_disable_plugin() method calls remove_autoload_singleton("Nws"), which removes the entry from your autoload list automatically. No manual cleanup is needed.