https://github.com/SillyDev2026/PluginWrapper/tree/main
It's a plugin wrapper so it's able to be creating plugin but now this is the basic part
#Any ideas that I can add into this system
1 messages · Page 1 of 1 (latest)
I just looked over this and WOW this looks pretty easy to make a plugin. I've always been intimidated of making plugins but with this, it makes it looks so much easier. I will definitely be giving this a try!
** You are now Level 3! **
Ok it will get updates but any idea
And thx
yw
Any other idea I could implement into the PluginWrapper to make the system easier to use
1 to 10 how do u think the wrapper is
I haven't tried it yet but from the looks I'd say a 8.5 or 9
wait so how would you set it up? I've seen the github but im still confused.
So u see the examples script
yeah
That's how to setup the plugin creation
And u saw the image right
Yes
yes I what about this?
So
Script--[[
Modules --[[ Class system, EventBus, Signal]]
PluginWrapper]]
yes
So which part is confusing
the entire structure of a plugin. I've never made a plugin before. Yes i do understand that classSystem is probably the main part of plugin, event bus has events and signal sends signals, however, composing a plugin is just so confusing
like for example, how would I create a simple plugin that prints "hi"
ah
i see
do you know how to script?
so u want a button to print hi?
yes
local PluginWrapper = require(script.PluginWrapper)
local wrapper = PluginWrapper.new(plugin)
local toolbar = wrapper:CreateToolbar("Test")
local button = wrapper:CreateButton(toolbar, "Test", "Opens Test", "")
local dockInfo = DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
false, true,
350, 420, -- Default size
250, 200 -- Min size
)
local widget = wrapper:CreateWidget("Test", dockInfo)
widget.Gui.Title = "🎨 Test Widget"
wrapper:Clicked("Test", function()
widget:Toggle()
print('Hi')
end)
this is how
ok WOW
thats SIMPLE
so I'm guessing "Test" would be like the name of the action? and then function would be the code to run?
the button is the button and the toolbar is the Test
OHHHHHH
so how would I export this plugin to the roblox marketplace for example if I wanted people to be able to install it?
** You are now Level 5! **
I'm going to test this right now!
ok so the Modules folder is a built in part of the package if i'm correct?
so I shouldn't modify it?
yes
so u just copy the scripts to the places
where ever u want
oh
ok
what does:
local button = wrapper:CreateButton(toolbar, "Test", "Opens Test", "")
do?
i know what the first two params do but not the 3rd one
oh wiat
nvm I know what it does
I tried your code:
local PluginWrapper = require(script.PluginWrapper)
local wrapper = PluginWrapper.new(plugin)
local toolbar = wrapper:CreateToolbar("Test")
local button = wrapper:CreateButton(toolbar, "Test", "Opens Test", "")
local dockInfo = DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
false, true,
350, 420, -- Default size
250, 200 -- Min size
)
local widget = wrapper:CreateWidget("Test", dockInfo)
widget.Gui.Title = "🎨 Test Widget"
wrapper:Clicked("Test", function()
widget:Toggle()
print('Hi')
end)
but there was an error in Plugin Wrapper on line 65 or so:
attempt to index nil with 'CreateToolbar'
in the class.Define in the methods table.
did u name the modules
ill make a package
ok
did u get the Package in ur dm
sad
so what line was it
65
here:
CreateToolbar = function(self: PluginWrapper, name: string): StudioToolbar
return self.Plugin:CreateToolbar(name)
end,
and here's the toolbar:
local toolbar = wrapper:CreateToolbar("Test")
ok try the update Git scripts
did u try the new update
the Plugin Wrapper
ok
im still getting the same error here:
return self.Plugin:CreateToolbar(name)
it says that it's nil
ok add me
DataStore_Genius
on Roblox and i can see whats wrong
ok now u can add me to the test
did u add me to that studio
ok did u publish the plugin as a plugin
nooooooo how do i do that?
nevermind I found out how to
wiat local plugin or plugin?
then manage plugins
ye u can rename the plugin later
publish if u did it already
as local plugin or just as a normal plugin?
normal
ok
if u already did that for public u whould need to hit this
** You are now Level 6! **
go to toolbar
toolbar?
wait toolbox
ok
then scroll down to ur plugin
as in this then what u named it
then press it then install plugin
ok
it would install what u made
smth like this
wdym
i think it did lol
before when you clicked a plugin, for some plugins they had a dropdown menu where you can click different parts
for example if you had a weld plugin, the dropdown would be like "weld in place" or "weld to joint"
ok try this for a mini test```lua
local PluginWrapper = require(script.PluginWrapper)
local wrapper = PluginWrapper.new(plugin)
local toolbar = wrapper:CreateToolbar("Test")
local button = wrapper:CreateButton(toolbar, "Test", "Opens Test", "")
local button2 = wrapper:CreateButton(toolbar, 'NotifyTest', 'Click Test', '')
local dockInfo = DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
false, true,
350, 420, -- Default size
250, 200 -- Min size
)
local widget = wrapper:CreateWidget("Test", dockInfo)
widget.Gui.Title = "🎨 Test Widget"
wrapper:Clicked("Test", function()
widget:Toggle()
print('Hi')
end)
wrapper:Clicked('NotifyTest', function()
wrapper:Notify('Test notification', Color3.new(0, 1, 0))
end)```
since i added the Notify()