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..9e0b50d8b
--- /dev/null
+++ b/MCServer/Plugins/Core/locate.lua
@@ -0,0 +1,4 @@
+function HandleLocateCommand( Split, Player )
+ Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. 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 \ No newline at end of file