fCraft.DevCommands.Init C# (CSharp) Method

Init() public static method

public static Init ( ) : void
return void
        public static void Init()
        {
            /*
             * NOTE: These commands are unfinished, under development and non-supported.
             * If you are using a dev build of 800Craft, please comment these the below out to ensure
             * stability.
             * */

            //CommandManager.RegisterCommand(CdFeed);
            //CommandManager.RegisterCommand(CdBot);
            //CommandManager.RegisterCommand(CdSpell);
            //CommandManager.RegisterCommand(CdGame);
        }

Usage Example

Example #1
0
 // Sets up all the command hooks
 public static void Init()
 {
     DevCommands.Init();
     ModerationCommands.Init();
     BuildingCommands.Init();
     InfoCommands.Init();
     WorldCommands.Init();
     ZoneCommands.Init();
     MaintenanceCommands.Init();
     ChatCommands.Init();
     FunCommands.Init();
     MathCommands.Init();
     Logger.Log(LogType.Debug,
                "CommandManager: {0} commands registered ({1} hidden, {2} aliases)",
                Commands.Count,
                GetCommands(true).Length,
                Aliases.Count);
 }