From 9b47c1cb864414132b4eb0c90daf3630240ea91d Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 7 Jul 2016 23:12:18 +1000 Subject: [PATCH] Add /os map perbuild. (Thanks FabTheZen) --- Commands/CmdOverseer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Commands/CmdOverseer.cs b/Commands/CmdOverseer.cs index 815b4b6e8..c1cd51db9 100644 --- a/Commands/CmdOverseer.cs +++ b/Commands/CmdOverseer.cs @@ -220,6 +220,9 @@ namespace MCGalaxy.Commands } else if (cmd == "PERVISIT") { string rank = value == "" ? Server.defaultRank : value; Command.all.Find("pervisit").Use(p, rank); + } else if (cmd == "PERBUILD") { + string rank = value == "" ? Server.defaultRank : value; + Command.all.Find("perbuild").Use(p, rank); } else if (cmd == "TEXTURE") { if (value == "") { Command.all.Find("texture").Use(p, "level normal"); @@ -374,6 +377,7 @@ namespace MCGalaxy.Commands " Motd: If message is not given, server default is used.", "%T/os map guns %H- Toggles if guns can be used on your map", "%T/os map pervisit [rank] %H- Sets the pervisit of you map", + "%T/os map perbuild [rank] %H- Sets the perbuild of you map", "%T/os map texture [url] %H- Sets terrain.png for your map", "%T/os map texturezip [url] %H- Sets texture .zip for your map", "%T/os map buildable %H- Sets whether any blocks can be placed",