Пример #1
0
        public override void OnLoad(int version, int subversion, int buildversion)
        {
            /*
             * Setting[0] = new StringSetting("Owner name/uuid", "Player that the bots will follow.", "");
             * Setting[1] = new NumberSetting("Clicks per second", "How fast should the bot attack?", 5, 1, 60, 1);
             * Setting[2] = new NumberSetting("Miss rate", "How often does the bot miss?", 15, 0, 100, 1);
             * Setting[3] = new StringSetting("Friendly name(s)/uuid(s)", "Uuids of the user that own't be hit. Split by spaces'", "");
             * Setting[4] = new BoolSetting("Auto equip best armor?", "Should the bot auto equip the best armor it has?", true);
             * Setting[5] = new BoolSetting("Equip best weapon?", "Should the best item be auto equiped?", true);
             * Setting[6] = new ComboSetting("Mode", null, new string[] {"Passive", "Aggressive"}, 0);
             */

            Setting.Add(new StringSetting("Owner name/uuid", "Player that the bots will follow.", ""));
            Setting.Add(new StringListSetting("Friendly name(s)/uuid(s)", "Uuids of the user that own't be hit. Split by spaces'", ""));
            Setting.Add(new ComboSetting("Mode", null, new string[] { "Passive", "Aggressive" }, 0));

            var clickGroup = new GroupSetting("Clicks", "");

            clickGroup.Add(new NumberSetting("Clicks per second", "How fast should the bot attack?", 5, 1, 60, 1));
            clickGroup.Add(new NumberSetting("Miss rate", "How often does the bot miss?", 15, 0, 100, 1));
            Setting.Add(clickGroup);

            var equipmentGroup = new GroupSetting("Equipment", "");

            equipmentGroup.Add(new BoolSetting("Auto equip best armor?", "Should the bot auto equip the best armor it has?", true));
            equipmentGroup.Add(new BoolSetting("Equip best weapon?", "Should the best item be auto equiped?", true));
            Setting.Add(equipmentGroup);
        }
Пример #2
0
        public override void OnLoad(int version, int subversion, int buildversion)
        {
            this.Setting.Add(new LocationSetting("Start x y z", ""));
            this.Setting.Add(new LocationSetting("End x y z", ""));
            this.Setting.Add(new StringSetting("Macro on inventory full", "Starts the macro when the bots inventory is full.", ""));
            this.Setting.Add(new StringSetting("Macro on out of tools", "Starts the macro when the bot runs out of pickaxes.", ""));
            this.Setting.Add(new ComboSetting("Speed mode", null, new string[] { "Accurate", "Fast" }, 0));
            this.Setting.Add(new ComboSetting("Path mode", null, new string[] { "Advanced (mining & building)", "Basic" }, 0));

            var blockGroup = new GroupSetting("Blocks", "Block related settings can be found here.");

            blockGroup.Add(new BlockCollectionSetting("Ignore ids", "What blocks should be ignored.", "", true));
            this.Setting.Add(blockGroup);

            /*
             * this.Setting.Add(new LocationSetting("--TEMP", "--DESC", new Location(0, 0, 0)));
             * this.Setting.Add(new StringListSetting("--TEMP2", "--DESC2", ""));
             * this.Setting.Add(new BlockCollectionSetting("--TEMP3", "--DESC3", "", true));
             *
             * var group = new GroupSetting("Testing groups", "group description");
             * group.Add(new StringSetting("wow", "dab", "haters"));
             *
             * var temp = new ComboSetting("TEST SETTING", null, new string[] {"TEST 1", "TEST 2"}, 0);
             * temp.Add(0, new StringSetting("1.1", "What blocks should be ignored.", "1.1"));
             * temp.Add(0, new StringSetting("1.2", "What blocks should be ignored.", "1.2"));
             * temp.Add(0, new StringSetting("1.3", "What blocks should be ignored.", "1.3"));
             * temp.Add(1, new StringSetting("1.1", "What blocks should be ignored.", "1.1"));
             * group.Add(temp);
             *
             * this.Setting.Add(group);
             */
        }
Пример #3
0
        public override void OnLoad(int version, int subversion, int buildversion)
        {
            /*
             * Setting[0] = new NumberSetting("Height", "Height level that the bots should mine at", 12, 1, 256);
             * Setting[1] = new ComboSetting("Pattern", "", new[] { PATTERNS[0].GetName(), PATTERNS[1].GetName(), PATTERNS[2].GetName() }, 1);
             * Setting[2] = new StringSetting("Macro on inventory full", "Starts the macro when the bots inventory is full.", "");
             * Setting[3] = new BoolSetting("Diamond ore", "", true);
             * Setting[4] = new BoolSetting("Emerald ore", "", true);
             * Setting[5] = new BoolSetting("Iron ore", "", true);
             * Setting[6] = new BoolSetting("Gold ore", "", true);
             * Setting[7] = new BoolSetting("Redstone ore", "", false);
             * Setting[8] = new BoolSetting("Lapis Lazuli ore", "", false);
             * Setting[9] = new BoolSetting("Coal ore", "", false);
             */

            Setting.Add(new NumberSetting("Height", "Height level that the bots should mine at", 12, 1, 256));
            Setting.Add(new ComboSetting("Pattern", "", new[] { PATTERNS[0].GetName(), PATTERNS[1].GetName(), PATTERNS[2].GetName() }, 1));
            Setting.Add(new StringSetting("Macro on inventory full", "Starts the macro when the bots inventory is full.", ""));

            var group = new GroupSetting("Ore", "Select which ore types should the bot focus");

            group.Add(new BoolSetting("Diamond ore", "", true));
            group.Add(new BoolSetting("Emerald ore", "", true));
            group.Add(new BoolSetting("Iron ore", "", true));
            group.Add(new BoolSetting("Gold ore", "", true));
            group.Add(new BoolSetting("Redstone ore", "", false));
            group.Add(new BoolSetting("Lapis Lazuli ore", "", false));
            group.Add(new BoolSetting("Coal ore", "", false));
            Setting.Add(group);
        }
Пример #4
0
        public override void OnLoad(int version, int subversion, int buildversion)
        {
            Setting.Add(new NumberSetting("Radius (crop, x-radius):", "Radius around the initial bot spawn position that it will look around.", 64, 1, 1000, 1));
            Setting.Add(new NumberSetting("Radius (crop, y-radius):", "What can be the Y difference for the bot for it to find valid crops.", 4, 1, 256, 1));
            Setting.Add(new ComboSetting("Speed mode", null, new string[] { "Accurate", "Fast" }, 0));

            var automationGroup = new GroupSetting("Automation", "Use these settings to automate actions.");
            var storeSetting    = new ComboSetting("On Inventory Full", "What should the bot do once it's inventory is full.", new[] { "Nothing", "Store Inventory In Closest Chest", "Run Macro" }, 1);

            storeSetting.Add(2, new StringSetting("On Inventory Full Macro", null, ""));
            automationGroup.Add(storeSetting);
            this.Setting.Add(automationGroup);
        }
Пример #5
0
        public override void OnLoad(int version, int subversion, int buildversion)
        {
            /*
             * Setting[0] = new StringSetting("User or Channel ID", "Enable developer mode: Settings->Appearance->Developer mode. Copy id: right click channel and click 'Copy ID'.", "");
             * Setting[1] = new BoolSetting("Local notifications", "", true);
             * Setting[2] = new BoolSetting("Explosion notifications", "", true);
             * Setting[3] = new BoolSetting("Wither notifications", "", true);
             * Setting[4] = new BoolSetting("Creeper notifications", "", true);
             * Setting[5] = new BoolSetting("Player notifications", "", true);
             * Setting[6] = new StringSetting("Friendly uuid(s)/name(s)", "Uuids/name(s) split by space.", "");
             * Setting[7] = new StringSetting("Lamp coordinates", "Coordinates in the [X Y Z] format, split by a space", "[-1 -1 -1] [0 0 0] [1 1 1]");
             * Setting[8] = new ComboSetting("Mode", "Notification mode", new []{"none", "@everyone", "@everyone + tts"}, 1);
             * Setting[9] = new LinkSetting("Add bot", "Adds the bot to your discord channel (you must have administrator permissions).", "https://discordapp.com/oauth2/authorize?client_id=299708378236583939&scope=bot&permissions=6152");
             * Setting[10] = new BoolSetting("Detect falling blocks", "Should the bot detected falling sand and falling tnt", true);
             */

            Setting.Add(new StringSetting("User or Channel ID", "Enable developer mode: Settings->Appearance->Developer mode. Copy id: right click channel and click 'Copy ID'.", ""));
            Setting.Add(new BoolSetting("Local notifications", "", true));

            var notificationGroup = new GroupSetting("Notifications", "Select which notifications you wish to get here.");

            notificationGroup.Add(new BoolSetting("Explosion notifications", "", true));
            notificationGroup.Add(new BoolSetting("Wither notifications", "", true));
            notificationGroup.Add(new BoolSetting("Creeper notifications", "", true));
            notificationGroup.Add(new BoolSetting("Player notifications", "", true));
            notificationGroup.Add(new BoolSetting("Detect falling tnt", "Should the bot detected falling tnt", true));
            notificationGroup.Add(new BoolSetting("Detect falling sand", "Should the bot detected falling sand", true));
            Setting.Add(notificationGroup);

            var otherGroup = new GroupSetting("Miscellaneous", "");

            otherGroup.Add(new StringListSetting("Friendly uuid(s)/name(s)", "Uuids/name(s) split by space.", ""));
            otherGroup.Add(new StringListSetting("Lamp coordinates", "Coordinates in the [X Y Z] format, split by a space", "[-1 -1 -1] [0 0 0] [1 1 1]"));
            otherGroup.Add(new ComboSetting("Mode", "Notification mode", new[] { "none", "@everyone", "@everyone + tts" }, 1));
            Setting.Add(otherGroup);

            Setting.Add(new LinkSetting("Add bot", "Adds the bot to your discord channel (you must have administrator permissions).", "https://discordapp.com/oauth2/authorize?client_id=299708378236583939&scope=bot&permissions=6152"));
        }