this post was submitted on 02 Apr 2025
7 points (88.9% liked)

Godot

6507 readers
4 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 2 years ago
MODERATORS
 

Hello!

So I installed an addon and saw that it made a license, readme and so on on the main folder. At the moment I didn't had those files there since I'm still very early on the game but shouldn't this files be inside the addon folder instead of the whole project?

The addon is as simple as check for the TODO on the comments but I want to do this properly. Where should I move this files of the addon? Or my License would substitute the one there if it's stronger?

Thanks!

top 5 comments
sorted by: hot top controversial new old
[–] jlothamer 2 points 1 day ago (1 children)

I see this kind of poor add-on "hygiene" alot, but I thought Godot flagged when this happened in the install dialog and you can uncheck anything that's outside of the addon folder. I'm pretty sure that now the damage is done you can just delete any non-code or non-resource files it added. Maybe do a commit before doing so, but it should be OK. If the addon has a license file (which is recommened in the Godot docs), it should only ever be in the addon folder itself and only pertains to the addon.

[–] [email protected] 1 points 1 day ago

Aah I see! I'll double check next time the dialogue options it might be possible that it just passed me though I think the default should be reversed if that's the case!

And I was wondering about the addon if it might change my project License. Thanks for the clarification! :)

[–] [email protected] 3 points 2 days ago (1 children)

Do you indend to share the code and files for your game? If not then put it where you like. If you plan to share the code then I'd be tempted to keep the license for that code in a folder with it, and move that readme to it.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

Yeah I was thinking to open source it and I saw the repo said the MIT license but that was because of the pluggin.

Thanks for answer! I'll move it to the folder and that's it then :)

[–] [email protected] 2 points 1 day ago

I find the way godot handles files in a plugin a bit poor. If the license file is outside the add-ons folder of the add-on, then it will add it in the main path of your project. I understand it's a GitHub thing, but adding multiple add-ons and having file collisions is not fun.