Files
cuberite-2a/MCServer/Plugins/Core/locate.lua
T

5 lines
236 B
Lua
Raw Normal View History

2013-07-27 16:24:03 +01:00
function HandleLocateCommand( Split, Player )
2013-08-11 16:00:53 +01:00
SendMessage( Player, string.format("You are at [X:%0.2f Y:%0.2f Z:%0.2f] in world %s", Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), Player:GetWorld():GetName()) )
2013-07-27 16:24:03 +01:00
return true
2013-08-11 16:00:53 +01:00
end