summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/locate.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/locate.lua')
-rw-r--r--MCServer/Plugins/Core/locate.lua4
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..27fcad229
--- /dev/null
+++ b/MCServer/Plugins/Core/locate.lua
@@ -0,0 +1,4 @@
+function HandleLocateCommand( Split, Player )
+ Player:SendMessage(cChatColor.Green .. string.format("[X:%0.2f] [Y:%0.2f] [Z:%0.2f]", Player:GetPosX(), Player:GetPosY(), Player:GetPosZ() ) )
+ return true
+end \ No newline at end of file