generated from your-land/yl_template
33 lines
1.3 KiB
Lua
33 lines
1.3 KiB
Lua
-- Version 0.0.1
|
|
-- Author AliasAlreadyTaken
|
|
-- License MIT
|
|
|
|
-- Changelog
|
|
|
|
local mod_start_time = core.get_us_time()
|
|
core.log("action", "[MOD] yl_announcements loading")
|
|
|
|
yl_announcements = {}
|
|
yl_announcements.error = {}
|
|
yl_announcements.modstorage = core.get_mod_storage()
|
|
yl_announcements.modpath = core.get_modpath("yl_announcements") .. DIR_DELIM
|
|
-- yl_announcements.worldpath = core.get_worldpath() .. DIR_DELIM
|
|
|
|
yl_announcements.information = {}
|
|
yl_announcements.information.version = "0.0.1"
|
|
yl_announcements.information.author = "AliasAlreadyTaken"
|
|
yl_announcements.information.license = "MIT"
|
|
yl_announcements.information.name = "yl_announcements"
|
|
yl_announcements.information.source = "https://gitea.your-land.de/your-land/yl_announcements"
|
|
yl_announcements.information.additional = "Displays messages once per timeframe."
|
|
|
|
dofile(yl_announcements.modpath .. "config.lua")
|
|
dofile(yl_announcements.modpath .. "setup.lua")
|
|
dofile(yl_announcements.modpath .. "internal.lua")
|
|
dofile(yl_announcements.modpath .. "api.lua")
|
|
--dofile(yl_announcements.modpath .. "globalsteps.lua")
|
|
dofile(yl_announcements.modpath .. "chatcommands.lua")
|
|
|
|
local mod_end_time = (core.get_us_time() - mod_start_time) / 1000000
|
|
core.log("action", "[MOD] yl_announcements loaded in [" .. mod_end_time .. "s]")
|