private void OnRunCommand(ConsoleSdtd console, ConsoleCommand command, String[] args) { string[] commandAliases = command.Names(); Puts("The command that was executed is " + command.ToString()); Puts("This command is called with: "); foreach (string alias in commandAliases) { Puts(alias); } Puts("This command does the following: "); Puts(command.Description()); Puts("You have used " + args.Length.ToString() + " arguments with this command: "); foreach (string argss in args) { Puts(argss); } console.SendResult("This is a test reply from Oxide to the console!!"); HookCalled("OnRunCommand"); }
public LoadPrefabs(ConsoleSdtd cons) : base(cons) { }
public GetGamePrefs(ConsoleSdtd cons) : base(cons) { }
public Kill(ConsoleSdtd cons) : base(cons) { }
public SavePrefab(ConsoleSdtd cons) : base(cons) { }
public UnBan(ConsoleSdtd cons) : base(cons) { }
//private readonly string prefabsXMLpath = UnityEngine.Application.dataPath + "/../Data/Worlds/Random Gen/PrefabsKFP.xml"; //private readonly World world = CommonMappingFunctions.GetGameManager().World; public ListPrefabs(ConsoleSdtd cons) : base(cons) { }
public GetTime(ConsoleSdtd cons) : base(cons) { }
public ListPlayerIds(ConsoleSdtd cons) : base(cons) { }
public SpawnSupplyCrate(ConsoleSdtd _console) : base(_console) { _manager = CommonMappingFunctions.GetGameManager(); }
private void OnRunCommand(ConsoleSdtd console, ConsoleCommand command, String[] args) { string[] commandAliases = command.Names(); Puts("The command that was executed is " + command.ToString()); Puts("This command is called with: "); foreach (string alias in commandAliases) Puts(alias); Puts("This command does the following: "); Puts(command.Description()); Puts("You have used " + args.Length.ToString() + " arguments with this command: "); foreach (string argss in args) Puts(argss); console.SendResult("This is a test reply from Oxide to the console!!"); HookCalled("OnRunCommand"); }
public Recipes(ConsoleSdtd cons) : base(cons) { //K = cons.issuerOfCurrentClientCommand; }
public Version(ConsoleSdtd cons) : base(cons) { }
public SetTimeReal(ConsoleSdtd cons) : base(cons) { }