summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/scripts/init.lua
blob: 5fd9e1164efe9802b87c260e0ab1dd9d8bcb99bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local plugin = {
	name = 'altcraft',
	displayName = "AltCraft Core Plugin",
	onLoad = nil,
	onUnload = nil,
	onChangeState = nil,
}

function plugin.onLoad ()
	print("Loaded AltCraft plugin!")
end

function plugin.onChangeState (newState)
	AC:LogWarning("New state: "..newState)
end

AC:RegisterPlugin(plugin)