diff --git a/MCGalaxy/Commands/Moderation/CmdReview.cs b/MCGalaxy/Commands/Moderation/CmdReview.cs index a98760970..791d49896 100644 --- a/MCGalaxy/Commands/Moderation/CmdReview.cs +++ b/MCGalaxy/Commands/Moderation/CmdReview.cs @@ -97,7 +97,7 @@ namespace MCGalaxy.Commands.Moderation { int pos = 1; foreach (string name in Server.reviewlist) { Group grp = PlayerInfo.GetGroup(name); - Player.Message(p, "&a" + pos + ". &f" + name + "&a - Current Rank: " + grp.ColoredName); + Player.Message(p, "&a" + pos + ". &f" + name + " &a- Current Rank: " + grp.ColoredName); pos++; } } diff --git a/MCGalaxy/Commands/World/CmdLockdown.cs b/MCGalaxy/Commands/World/CmdLockdown.cs index 9a4df983f..6f941763b 100644 --- a/MCGalaxy/Commands/World/CmdLockdown.cs +++ b/MCGalaxy/Commands/World/CmdLockdown.cs @@ -29,19 +29,23 @@ namespace MCGalaxy.Commands.World { get { return new[] { new CommandAlias("WLock"), new CommandAlias("WUnlock") }; } } - public override void Use(Player p, string message) { - if (message.Length == 0) { Help(p); return; } - if (!Formatter.ValidName(p, message, "level")) return; + public override void Use(Player p, string map) { + if (map.Length == 0) { Help(p); return; } + if (!Formatter.ValidName(p, map, "level")) return; - bool unlocking = Server.lockdown.Contains(message); - Chat.MessageGlobal("The map {0} has been {1}locked", message, unlocking ? "un" : ""); + map = Matcher.FindMaps(p, map); + if (map == null) return; + + bool unlocking = Server.lockdown.Contains(map); + string action = unlocking ? "unlocked" : "locked"; + Chat.MessageGlobal("Map " + map + " was " + action); if (unlocking) { - Server.lockdown.Remove(message); - Chat.MessageFromOps(p, "Map unlocked by: λNICK"); + Server.lockdown.Remove(map); + Chat.MessageFromOps(p, "Map " + map + " unlocked by: λNICK"); } else { - Server.lockdown.AddIfNotExists(message); - Chat.MessageFromOps(p, "Map locked by: λNICK"); + Server.lockdown.AddIfNotExists(map); + Chat.MessageFromOps(p, "Map " + map + " locked by: λNICK"); } Server.lockdown.Save(); } diff --git a/MCGalaxy/Commands/World/CmdOverseer.cs b/MCGalaxy/Commands/World/CmdOverseer.cs index 3f9d4d79d..2822a8462 100644 --- a/MCGalaxy/Commands/World/CmdOverseer.cs +++ b/MCGalaxy/Commands/World/CmdOverseer.cs @@ -144,8 +144,8 @@ namespace MCGalaxy.Commands.World { }; static string[] gotoHelp = new string[] { - "%T/os goto %H- Teleports you to your first map.", - "%T/os goto [num] %H- Teleports you to your nth map.", + "%T/os go %H- Teleports you to your first map.", + "%T/os go [num] %H- Teleports you to your nth map.", }; static string[] kickHelp = new string[] {