Ok, this is what I would do is do this command.
Just change the bit that says CommandInHere to whatever command you would like to remove in the following line.....
- Code: Select all
Command.all.Remove(Command.all.Find("CommandInHere"));
The command itself below vvv
- Code: Select all
using System;
namespace MCDzienny
{
public class CmdDelcorecmd : Command
{
public override string name { get { return "delcorecmd"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return ""; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Nobody; } }
public override bool ConsoleAccess { get { return false; } }
public override void Init()
{
Command.all.Remove(Command.all.Find("CommandInHere"));
}
public override void Use(Player p, string message)
{
}
public override void Help(Player p)
{
Player.SendMessage(p, "/delcorecmd CommandName - Removes the command you put in the CmdDelcorecmd.cs file");
}
}
}
[The command is called /delcorecmd]
Once that is done try to use that command you tried to remove to see if it worked.
Also this should work because I tried this on a local server.