public static void RegisterJobCommand(string commandName, Action <Command> commandFunc, JobType requiredLevel, bool skipDutyCheck = false)
        {
            var jobTypes = Enum.GetValues(typeof(JobType)).Cast <JobType>().ToList();

            jobTypes.ForEach(o =>
            {
                if (requiredLevel.ToString().Contains(o.ToString()))
                {
                    var dutyFunc = new Action <Command>(cmd =>
                    {
                        if (Server.Server.Instance.Get <JobHandler>().OnDutyAs(cmd.Session, requiredLevel) || skipDutyCheck)
                        {
                            commandFunc(cmd);
                        }
                    });
                    ACEWrappers.CreateRestrictedCommand(commandName, dutyFunc, o, true);
                }
            });
        }
 public static void RegisterAdminCommand(string commandName, Action <Command> commandFunc, AdminLevel requiredLevel)
 {
     ACEWrappers.CreateRestrictedCommand(commandName, commandFunc, requiredLevel);
 }