308932b9b5
Add new features to claim and unclaim. Sort help from a-z. Sort functions into diff lua files.
13 lines
478 B
Lua
13 lines
478 B
Lua
--! @class factions
|
|
--! @brief main class for factions
|
|
factions = {}
|
|
|
|
-- Create cold databases.
|
|
factions.factions = colddb.Colddb(minetest.get_worldpath() .. "/factions/factions")
|
|
factions.parcels = colddb.Colddb(minetest.get_worldpath() .. "/factions/parcels")
|
|
factions.players = colddb.Colddb(minetest.get_worldpath() .. "/factions/players")
|
|
factions.player_ips = colddb.Colddb(minetest.get_worldpath() .. "/factions/ips")
|
|
|
|
-- Memory only storage.
|
|
factions.onlineplayers = {}
|