Modules creation
You can create your own modules to use across different maps. To initialize a module, in an empty folder write:
This command will automatically download the module template and unpack it into the current folder, using the folder name as the module name.
Then you can add your scripts, imports, and so on. You can safely delete any unnecessary folders. When ready, push the result to a Git hosting service (Codeberg, GitHub, GitLab, etc.).
I don’t want others stealing my map code!
All hosting services let you create a private repository. Since the utility uses the gitpython library to clone repositories, authentication for cloning private repos is handled by that library — you will be prompted for your site login and password so the module can be fetched on your behalf.
Alarm!
And no, don’t panic — it’s not me asking for your credentials, it’s gitpython!!!!