Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67278b9ba7 | ||
|
|
243937a293 | ||
|
|
5e637da68f |
No files matched your search
@@ -4,7 +4,7 @@
|
|||||||
"$className": "DataModel",
|
"$className": "DataModel",
|
||||||
|
|
||||||
"ServerScriptService": {
|
"ServerScriptService": {
|
||||||
"MarcSync": {
|
"MarcSync-feature/SetupManager": {
|
||||||
"$path": "src/MarcSync"
|
"$path": "src/MarcSync"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
-- VARIABLES
|
||||||
|
local MarcSync = script.Parent.Parent
|
||||||
|
|
||||||
|
local SetupManager = {}
|
||||||
|
|
||||||
|
function SetupManager.checkInstallation()
|
||||||
|
if not MarcSync:FindFirstChild("Plugins") or not MarcSync:FindFirstChild("Plugins"):IsA("Folder") then return end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
function SetupManager._new()
|
||||||
|
local self = setmetatable({}, SetupManager)
|
||||||
|
return self
|
||||||
|
end
|
||||||
|
|
||||||
|
return SetupManager
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
|
||||||
|
local MarcSync = script.Parent.Parent.Parent
|
||||||
|
type MarcSyncClient = typeof(require(MarcSync.Types.MARCSYNC_CLIENT))
|
||||||
|
|
||||||
|
local TestPlugin = {}
|
||||||
|
|
||||||
|
TestPlugin.Config = {
|
||||||
|
Name = "TestPlugin",
|
||||||
|
Description = "A Test Plugin",
|
||||||
|
Author = "Marc",
|
||||||
|
Version = "0.0.1",
|
||||||
|
Support = {
|
||||||
|
URL = "https://marcsync.dev",
|
||||||
|
Email = "test@example.com"
|
||||||
|
},
|
||||||
|
Setup = {
|
||||||
|
MarcSyncVersions = { "0.5.0" },
|
||||||
|
SetupAPIVersion = "v1",
|
||||||
|
Variables = {
|
||||||
|
TestVariable = {
|
||||||
|
Type = "string",
|
||||||
|
Required = true,
|
||||||
|
Default = "Hello World!",
|
||||||
|
Description = "A Test Variable"
|
||||||
|
},
|
||||||
|
TestVariable2 = {
|
||||||
|
Type = "number",
|
||||||
|
Required = false,
|
||||||
|
Description = "A Test Variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function TestPlugin.init(client: MarcSyncClient)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
return TestPlugin
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
return require(script.Parent.Parent["MarcSyncv0.5"])
|
||||||
Reference in new issue
Block a user