From 708375151da6b2aca71c6262d387bcf0fd0398ea Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 30 Nov 2016 11:24:29 +1100 Subject: [PATCH] Now /imp is nobody by default. --- MCGalaxy/Commands/Information/CmdMapInfo.cs | 2 +- MCGalaxy/Commands/other/CmdImpersonate.cs | 2 +- MCGalaxy/util/Formatter.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MCGalaxy/Commands/Information/CmdMapInfo.cs b/MCGalaxy/Commands/Information/CmdMapInfo.cs index 6613f9d6b..1366f0aa0 100644 --- a/MCGalaxy/Commands/Information/CmdMapInfo.cs +++ b/MCGalaxy/Commands/Information/CmdMapInfo.cs @@ -115,7 +115,7 @@ namespace MCGalaxy.Commands { if (blacklist.Count == 0) return; - builder.Append( " %S(but not "); + builder.Append( " %S(except "); foreach (string name in blacklist) builder.Append(PlayerInfo.GetColoredName(p, name) + ", "); builder.Remove(builder.Length - 2, 2); diff --git a/MCGalaxy/Commands/other/CmdImpersonate.cs b/MCGalaxy/Commands/other/CmdImpersonate.cs index 4d8734b9a..7aac64e2f 100644 --- a/MCGalaxy/Commands/other/CmdImpersonate.cs +++ b/MCGalaxy/Commands/other/CmdImpersonate.cs @@ -23,7 +23,7 @@ namespace MCGalaxy.Commands { public override string name { get { return "impersonate"; } } public override string shortcut { get { return "imp"; } } public override string type { get { return CommandTypes.Other; } } - public override LevelPermission defaultRank { get { return LevelPermission.Operator; } } + public override LevelPermission defaultRank { get { return LevelPermission.Nobody; } } public override void Use(Player p, string message) { if (!message.Contains(" ")) { Help(p); return; } diff --git a/MCGalaxy/util/Formatter.cs b/MCGalaxy/util/Formatter.cs index 50afd5a76..81c41c6f7 100644 --- a/MCGalaxy/util/Formatter.cs +++ b/MCGalaxy/util/Formatter.cs @@ -32,7 +32,7 @@ namespace MCGalaxy { } if (disallowed != null && disallowed.Count > 0) { - builder.Append( " (but not "); + builder.Append( " (except "); foreach (LevelPermission perm in disallowed) builder.Append(Group.GetColoredName(perm) + ", "); builder.Remove(builder.Length - 2, 2);