PLugin gui keeps showing up when i start my game, even if the plugin is turned off

(FOR MODS)
Im not sure if this is the right category, but it seems like it is. Moderators, dont close my topic because its in the wrong category, let me just change it if it is.

(Actual post)
This is just really annoying, when i start a playtest it just pulls up 1-2 plugins on screen and i cant see anything untill i close them.

I have tried:
Restarting pc
restarting studio
turning off plugins
turning on plugins
closing plugins while game is started
looking through dev forum
traveling to a new state in America

Please help, im really annoyed by this. Thank you

2 Likes

This depends on how the plugin is scripted and when it is enabled, best you can do is disable the plugin fully from the plugin manager. If you did that and it still shows, then I assume that it is your plugin, which incase you should check if any of your scripts is the plugin it self.

If not the case, feel free to make a bug report at #bug-reports

1 Like

ik this was almost a year ago but when i was making a plugin i encountered this problem and finally i found the fix so here it is for anyone curious after a year like me lol:


local toolbar = plugin:CreateToolbar("plugin name in tool bar")

local pluginButton = toolbar:CreateButton(
	"plugin name", --Text that will appear below button
	"plugin description", --Text that will appear if you hover your mouse on button
	'http://www.roblox.com/asset/?id=17511949452' -- image
)

local widgetInfo = DockWidgetPluginGuiInfo.new(
	Enum.InitialDockState.Float, -- Dock position
	false,  -- Enabled by default
	false, -- No override for previous state
	471,   -- Default width
	1021,   -- Default height
	1500,   -- Min width
	3000    -- Min height
)

if not game["Run Service"]:IsRunning() then -- basically checks if the game is not running to make the plugin widget, if it is then it will not create it
	local pluginGui = plugin:CreateDockWidgetPluginGui("your plugin", widgetInfo)
	pluginGui.Title = "a title"
	pluginGui.Enabled = true

	local CoreGui = game:GetService("CoreGui")
	local MainFrame = script.Parent.MainFrame -- the main frame of the plugin (this is the approach i did with creating the widget but you can do whatever you want)

	MainFrame.Parent = pluginGui

	pluginButton.Click:Connect(function() -- the plugin button that you have
		pluginGui.Enabled = not pluginGui.Enabled
	end)
	
end