Compare commits

...

3 Commits

  1. 4
      init.lua
  2. 2
      mod.conf

@ -13,7 +13,7 @@ function whoison.createFile(loopit)
local name = player:get_player_name()
whoison.updateStats(name)
local ppos = minetest.pos_to_string(player:getpos())
local ppos = minetest.pos_to_string(player:get_pos())
local datastring = name.."|"..ppos.."\n"
file:write( datastring )
end
@ -145,3 +145,5 @@ end
minetest.after(10,whoison.createFile,true)
whoison.loadLastSeen()
minetest.log("action", "[whoison] loaded.")

@ -0,0 +1,2 @@
name = whoison
description = Provide 'seen' and 'timeonline' chat command
Loading…
Cancel
Save