summaryrefslogtreecommitdiffstats
path: root/cwd
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-02-17 09:11:08 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:55:48 +0200
commit404b04570452fe24676b0294fdd77878806a904b (patch)
treeb4f6e8293239641874d835675ef7291edd81b041 /cwd
parentAdded lua-support (diff)
downloadAltCraft-404b04570452fe24676b0294fdd77878806a904b.tar
AltCraft-404b04570452fe24676b0294fdd77878806a904b.tar.gz
AltCraft-404b04570452fe24676b0294fdd77878806a904b.tar.bz2
AltCraft-404b04570452fe24676b0294fdd77878806a904b.tar.lz
AltCraft-404b04570452fe24676b0294fdd77878806a904b.tar.xz
AltCraft-404b04570452fe24676b0294fdd77878806a904b.tar.zst
AltCraft-404b04570452fe24676b0294fdd77878806a904b.zip
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