summaryrefslogtreecommitdiffstats
path: root/cwd
diff options
context:
space:
mode:
Diffstat (limited to 'cwd')
-rw-r--r--cwd/assets/altcraft/init.lua1
-rw-r--r--cwd/assets/altcraft/scripts/init.lua12
2 files changed, 12 insertions, 1 deletions
diff --git a/cwd/assets/altcraft/init.lua b/cwd/assets/altcraft/init.lua
deleted file mode 100644
index a3ea3c6..0000000
--- a/cwd/assets/altcraft/init.lua
+++ /dev/null
@@ -1 +0,0 @@
-print("Hello") \ No newline at end of file
diff --git a/cwd/assets/altcraft/scripts/init.lua b/cwd/assets/altcraft/scripts/init.lua
new file mode 100644
index 0000000..d48ecd0
--- /dev/null
+++ b/cwd/assets/altcraft/scripts/init.lua
@@ -0,0 +1,12 @@
+plug = {
+ name = 'altcraft',
+ displayName = "AltCraft Core Plugin",
+ onLoad = nil,
+ onUnload = nil,
+}
+
+function plug:onLoad ()
+ print("Loaded "..self.name.."-plugin!")
+end
+
+AC:RegisterPlugin(plug) \ No newline at end of file