myadmin/init.lua

31 lines
826 B
Lua
Raw Normal View History

2016-03-26 15:53:56 -07:00
local modpath = minetest.get_modpath("myadmin")
local input = io.open(modpath.."/settings.txt", "r")
myadmin = {}
if input then
dofile(modpath.."/settings.txt")
input:close()
end
2015-04-27 19:45:27 -07:00
dofile(minetest.get_modpath("myadmin").."/tools.lua")
dofile(minetest.get_modpath("myadmin").."/spawn.lua")
dofile(minetest.get_modpath("myadmin").."/chat.lua")
2016-03-21 18:30:00 -07:00
dofile(minetest.get_modpath("myadmin").."/privs.lua")
2016-03-25 11:03:38 -07:00
dofile(minetest.get_modpath("myadmin").."/curse.lua")
dofile(minetest.get_modpath("myadmin").."/extras.lua")
2016-03-26 15:53:56 -07:00
dofile(minetest.get_modpath("myadmin").."/start.lua")
2016-03-28 05:44:36 -07:00
dofile(minetest.get_modpath("myadmin").."/underworld.lua")
dofile(minetest.get_modpath("myadmin").."/guest.lua")
dofile(minetest.get_modpath("myadmin").."/npip.lua")
minetest.after(10,
function(params)
minetest.chat_send_all(myadmin.server_message)
end
)