1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-23 05:10:16 +02:00
server-nalc/mods/factions/init.lua
sys4-fr 2869d4e006 [Fix issue #17] Fix faction crash when invoking the faction command : /factions version
To use factions admin command, the player must have the the faction_admin privilege.
2018-01-06 18:51:14 +01:00

31 lines
789 B
Lua
Executable File

-------------------------------------------------------------------------------
-- factions Mod by Sapier
--
-- License WTFPL
--
--! @file init.lua
--! @brief factions mod to be used by other mods
--! @copyright Sapier
--! @author Sapier
--! @date 2013-05-08
--!
-- Contact sapier a t gmx net
-------------------------------------------------------------------------------
local factions_version = "0.1.6"
core.log("action", "MOD: factions (by sapier) loading ...")
--!path of mod
factions_modpath = minetest.get_modpath("factions")
dofile (factions_modpath .. "/factions.lua")
dofile (factions_modpath .. "/chatcommands.lua")
factions.version = factions_version
factions.load()
factions_chat.init()
core.log("action","MOD: factions (by sapier) " .. factions_version .. " loaded.")