Compare commits

...

3 Commits

Author SHA1 Message Date
bri cassa d27043fb7d Add mod.conf 2022-03-06 11:18:30 +01:00
bri cassa 346ccd72e0 Change deprecated getpos method to get_pos 2021-03-06 17:26:19 +01:00
sys4-fr 5e30eea8b7 Ajoute message de chargement du mod dans le journal "action" 2019-01-19 20:02:40 +01:00
2 changed files with 5 additions and 1 deletions

View File

@ -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.")

2
mod.conf Normal file
View File

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