summaryrefslogtreecommitdiffstats
path: root/Plugins/Core/coords.lua
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
commitae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5 (patch)
tree2b0994ab5e9709562f4dec862456c51762986ae9 /Plugins/Core/coords.lua
parentAdded error messages to socket closing error conditions for *nix (diff)
downloadcuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.gz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.bz2
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.lz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.xz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.zst
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.zip
Diffstat (limited to 'Plugins/Core/coords.lua')
-rw-r--r--Plugins/Core/coords.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/Plugins/Core/coords.lua b/Plugins/Core/coords.lua
new file mode 100644
index 000000000..07cda1a92
--- /dev/null
+++ b/Plugins/Core/coords.lua
@@ -0,0 +1,4 @@
+function HandleCoordsCommand( 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