diff options
Diffstat (limited to 'MCServer/Plugins/Core/locate.lua')
-rw-r--r-- | MCServer/Plugins/Core/locate.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/locate.lua b/MCServer/Plugins/Core/locate.lua new file mode 100644 index 000000000..f5df698c9 --- /dev/null +++ b/MCServer/Plugins/Core/locate.lua @@ -0,0 +1,4 @@ +function HandleLocateCommand( Split, Player ) + 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()) ) + return true +end |