Put more commands in appropriate categories.

This commit is contained in:
UnknownShadow200 2016-07-01 16:40:04 +10:00
parent b68eda6c66
commit 5a0e96788f
9 changed files with 17 additions and 19 deletions

View File

@ -23,7 +23,7 @@ namespace MCGalaxy.Commands {
public class CmdNick : Command {
public override string name { get { return "nick"; } }
public override string shortcut { get { return "nickname"; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Chat; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
public override CommandPerm[] AdditionalPerms {

View File

@ -22,7 +22,7 @@ namespace MCGalaxy.Commands {
public override string name { get { return "title"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Chat; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Admin; } }
public override CommandPerm[] AdditionalPerms {

View File

@ -21,7 +21,7 @@ namespace MCGalaxy.Commands
{
public override string name { get { return "vote"; } }
public override string shortcut { get { return "vo"; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Chat; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
public CmdVote() { }

View File

@ -19,7 +19,7 @@ namespace MCGalaxy.Commands {
public sealed class CmdVoteResults : Command {
public override string name { get { return "voteresults"; } }
public override string shortcut { get { return "vr"; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Chat; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public CmdVoteResults() { }

View File

@ -17,13 +17,12 @@
*/
using System;
using System.Globalization;
namespace MCGalaxy.Commands
{
public sealed class CmdTake : Command
{
namespace MCGalaxy.Commands {
public sealed class CmdTake : Command {
public override string name { get { return "take"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Economy; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Admin; } }
public override CommandEnable Enabled { get { return CommandEnable.Economy; } }

View File

@ -22,7 +22,7 @@ namespace MCGalaxy.Commands {
public sealed class CmdChangeLog : Command {
public override string name { get { return "changelog"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Information; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }

View File

@ -22,7 +22,7 @@ namespace MCGalaxy.Commands {
public sealed class CmdView : Command {
public override string name { get { return "view"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Information; } }
public override bool museumUsable { get { return true; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public CmdView() { }

View File

@ -15,13 +15,12 @@
or implied. See the Licenses for the specific language governing
permissions and limitations under the Licenses.
*/
using System.IO;
namespace MCGalaxy.Commands {
public sealed class CmdXJail : Command {
public sealed class CmdXJail : Command {
public override string name { get { return "xjail"; } }
public override string shortcut { get { return "xj"; } }
public override string type { get { return CommandTypes.Other; } }
public override string type { get { return CommandTypes.Moderation; } }
public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
public override bool museumUsable { get { return true; } }

View File

@ -183,6 +183,8 @@
<Compile Include="Commands\Chat\CmdSend.cs" />
<Compile Include="Commands\Chat\CmdTColor.cs" />
<Compile Include="Commands\Chat\CmdTitle.cs" />
<Compile Include="Commands\Chat\CmdVote.cs" />
<Compile Include="Commands\Chat\CmdVoteResults.cs" />
<Compile Include="Commands\Chat\CmdWhisper.cs" />
<Compile Include="Commands\CmdOverseer.cs" />
<Compile Include="Commands\Command.cs" />
@ -266,8 +268,8 @@
<Compile Include="Commands\Information\CmdTop.cs" />
<Compile Include="Commands\Information\CmdUnloaded.cs" />
<Compile Include="Commands\Information\CmdUpdate.cs" />
<Compile Include="Commands\Information\CmdView.cs" />
<Compile Include="Commands\Information\CmdViewRanks.cs" />
<Compile Include="Commands\Information\CmdVoteResults.cs" />
<Compile Include="Commands\Information\CmdWhere.cs" />
<Compile Include="Commands\Information\CmdWhoip.cs" />
<Compile Include="Commands\Information\CmdWhois.cs" />
@ -322,6 +324,7 @@
<Compile Include="Commands\Moderation\CmdWarn.cs" />
<Compile Include="Commands\Moderation\CmdWhitelist.cs" />
<Compile Include="Commands\Moderation\CmdXban.cs" />
<Compile Include="Commands\Moderation\CmdXJail.cs" />
<Compile Include="Commands\Moderation\CmdXmute.cs" />
<Compile Include="Commands\Moderation\CmdZone.cs" />
<Compile Include="Commands\other\CmdAgree.cs" />
@ -354,11 +357,8 @@
<Compile Include="Commands\other\CmdTp.cs" />
<Compile Include="Commands\other\CmdTpA.cs" />
<Compile Include="Commands\other\CmdTpZone.cs" />
<Compile Include="Commands\other\CmdView.cs" />
<Compile Include="Commands\other\CmdVote.cs" />
<Compile Include="Commands\other\CmdWarp.cs" />
<Compile Include="Commands\other\CmdWaypoint.cs" />
<Compile Include="Commands\other\CmdXJail.cs" />
<Compile Include="Commands\other\QuitCmds.cs" />
<Compile Include="Commands\Scripting\CmdCmdCreate.cs" />
<Compile Include="Commands\Scripting\CmdCmdLoad.cs" />