summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/CurrentLng.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 21:20:49 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 21:20:49 +0200
commit89d9abf9115a74a063e547f84a076165196954bf (patch)
tree131d27b85f7da7cd9cf19482b00549bda04aaf17 /MCServer/Plugins/ProtectionAreas/CurrentLng.lua
parentBlock entities with storage now correctly mark the chunk as dirty when their contents change. (diff)
downloadcuberite-89d9abf9115a74a063e547f84a076165196954bf.tar
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.gz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.bz2
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.lz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.xz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.zst
cuberite-89d9abf9115a74a063e547f84a076165196954bf.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/ProtectionAreas/CurrentLng.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/CurrentLng.lua b/MCServer/Plugins/ProtectionAreas/CurrentLng.lua
new file mode 100644
index 000000000..0c5fc636b
--- /dev/null
+++ b/MCServer/Plugins/ProtectionAreas/CurrentLng.lua
@@ -0,0 +1,27 @@
+
+-- CurrentLng.lua
+-- This file provides all the translatable strings
+-- The expectation is that the translators will create copies of this file, translate the texts and then the users will overwrite this file with a specific language version
+-- Note that the individual languages must not have ".lua" extension, otherwise MCServer will load them and the plugin won't work!
+
+
+
+
+-- Individual commands, and their help strings. Don't touch the first symbol on each line!
+
+function CommandReg()
+ return {
+ -- Handler function | Command | Permission | Help text
+ {HandleAddArea, "/ProtAdd", "Prot.Add", "Adds a new protected area"},
+ {HandleAddAreaCoords, "/ProtAddCoords", "Prot.Add", "Adds a new protected area by coords"},
+ {HandleAddAreaUser, "/ProtAddUser", "Prot.AddUser", "Adds a new user to an existing protected area"},
+ {HandleDelArea, "/ProtDelID", "Prot.Del", "Deletes a protected area by ID"},
+ {HandleGiveWand, "/ProtWand", "Prot.Wand", "Gives you the wand used for protection"},
+ {HandleListAreas, "/ProtList", "Prot.List", "Lists all areas for the marked block"},
+ {HandleRemoveUser, "/ProtRemUser", "Prot.RemUser", "Removes a user from the protected area"},
+ {HandleRemoveUserAll, "/ProtRemUserAll", "Prot.RemUser", "Removes a user from all protected areas"},
+ };
+end;
+
+
+