factions/databases.lua
Coder12a 308932b9b5 Major update:
Add new features to claim and unclaim.
Sort help from a-z.
Sort functions into diff lua files.
2019-05-02 23:05:52 -05:00

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 = {}