mulitple Editor Pugins
Asked Answered
T

4

0

having multiple plugins... am I missing something here??

`[plugin]
name="plugin1"
description="bla bla"
author="me"
version="1.0.0"
script="script1.gd"

[plugin]
name="plugin2"
description="bla bla"
author="me"
version="1.0.0"
script="script2.gd"`

ive tried EVERYTHING! having seperate files, writing plugin at the top only, renaming the files...
why wont both plugins show up in the project settings window?
i can only see 1. (the last one in the order I write them)
what am I doing wrong here??

Toledo answered 10/3 at 22:22 Comment(0)
S
0

Each of the plugins that I've used or written has its own plugin.cfg file. Inside a project, each plugin is normally in its own subfolder of res://addons.

If you're creating the plugin.cfg file outside of Godot, you might be making a mistake in the format.

You should create it here:
Project Settings / Plugins / Create New Plugin

Sirloin answered 10/3 at 22:51 Comment(0)
T
0

Sirloin Project Settings / Plugins / Create New Plugin did NOT work...
(well for me I had res:// / Addons / Plugin1 / files here )
so this worked:
res:// / Addons / Plugin1 / files here
res:// / Addons / Plugin2 / files here

i dunno why but the folder must be named Addons

Toledo answered 10/3 at 23:13 Comment(0)
S
0

Toledo must be named Addons

That's strange. Here's the documentation:
https://docs.godotengine.org/en/4.2/tutorials/plugins/editor/making_plugins.html#creating-a-plugin

Sirloin answered 11/3 at 0:51 Comment(0)
T
0

Sirloin dunno. just saying what worked. Im on godot 4.2...

Toledo answered 11/3 at 6:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.