mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-12 11:00:25 +01:00
Update whoison
Add "played" alias to "timeonline"
This commit is contained in:
parent
54f3ed1fd7
commit
6753155ce1
@ -95,7 +95,7 @@ minetest.register_chatcommand("seen",{
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("played",{
|
minetest.register_chatcommand("timeonline",{
|
||||||
param = "<name>",
|
param = "<name>",
|
||||||
description = "Shows the cumulative time a player has been online",
|
description = "Shows the cumulative time a player has been online",
|
||||||
func = function (name, param)
|
func = function (name, param)
|
||||||
@ -111,6 +111,7 @@ minetest.register_chatcommand("played",{
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
minetest.register_chatcommand("timeonline", core.chatcommands["played"])
|
||||||
|
|
||||||
function breakdowntime(t)
|
function breakdowntime(t)
|
||||||
local countdown = t
|
local countdown = t
|
||||||
|
Loading…
Reference in New Issue
Block a user