From afa7d00939439cda240080fc2b92d3d327e20cf7 Mon Sep 17 00:00:00 2001 From: Zrips Date: Sat, 30 Jan 2016 14:45:13 +0200 Subject: [PATCH] Added option to turn off MythicMob support, as it will brake if you using old version of it. Optimized Jobs long shutdown caused by Explorer feature recording to data base taking to much time. Now its more or less instantaneous. Fixed (fingers crossed) issue with limited items, now its should work properly. Changed item name in itemList.yml for flint Changed default jobConfig.yml file, now there will be job with name of exampleJob witch one will be ignored even if left in config file.Put proper Woodcutter job beneath it to serve as correct woodcutter job. --- ItemList.yml | 1402 ++++++++--------- com/gamingmesh/jobs/JobsPlugin.java | 2 +- com/gamingmesh/jobs/config/JobConfig.java | 5 + .../jobs/config/JobsConfiguration.java | 4 + com/gamingmesh/jobs/dao/JobsDAO.java | 13 +- .../jobs/listeners/JobsListener.java | 66 +- .../jobs/listeners/JobsPaymentListener.java | 2 +- com/gamingmesh/jobs/stuff/Debug.java | 2 +- jobConfig.yml | 68 +- plugin.yml | 2 +- 10 files changed, 829 insertions(+), 737 deletions(-) diff --git a/ItemList.yml b/ItemList.yml index 6090ded4..2dcfa314 100644 --- a/ItemList.yml +++ b/ItemList.yml @@ -1,702 +1,702 @@ -# You can edit text between - and =, keep spaces! -# if you not sure how to edit it, dont do it at all :) -# You can use any color you want and translate to any text you want -# first 2 numbers are id with meta data, keep it as it is for block/item/mob -# Text after = are minecraft'ish name, like Stone/Granite/Diorite and so on, all of them are stone -# Ex: '5:3 - Jungle Wood Plank = planks' can be changed to '5:3 - &3Jungle &4Woody &3Planky = planks' -ItemList: - - '0 - Air = air' - - '1 - All Stone = stone' - - '1:0 - Stone = stone' - - '1:1 - Granite = stone' - - '1:2 - Polished Granite = stone' - - '1:3 - Diorite = stone' - - '1:4 - Polished Diorite = stone' - - '1:5 - Andesite = stone' - - '1:6 - Polished Andesite = stone' - - '2 - Grass = grass' - - '3 - All Dirt = dirt' - - '3:0 - Dirt = dirt' - - '3:1 - Coarse Dirt = dirt' - - '3:2 - Podzol = dirt' - - '4 - Cobblestone = cobblestone' - - '5 - All Wood Plank = planks' - - '5:0 - Oak Wood Plank = planks' - - '5:1 - Spruce Wood Plank = planks' - - '5:2 - Birch Wood Plank = planks' - - '5:3 - Jungle Wood Plank = planks' - - '5:4 - Acacia Wood Plank = planks' - - '5:5 - Dark Oak Wood Plank = planks' - - '6 - All Saplings = sapling' - - '6:0 - Oak Sapling = sapling' - - '6:1 - Spruce Sapling = sapling' - - '6:2 - Birch Sapling = sapling' - - '6:3 - Jungle Sapling = sapling' - - '6:4 - Acacia Sapling = sapling' - - '6:5 - Dark Oak Sapling = sapling' - - '7 - Bedrock = bedrock' - - '8 - Flowing Water = flowing_water' - - '9 - Still Water = water' - - '10 - Flowing Lava = flowing_lava' - - '11 - Still Lava = lava' - - '12 - All Sand = sand' - - '12:0 - Sand = sand' - - '12:1 - Red Sand = sand' - - '13 - Gravel = gravel' - - '14 - Gold Ore = gold_ore' - - '15 - Iron Ore = iron_ore' - - '16 - Coal Ore = coal_ore' - - '17 - All Wood = log' - - '17:0 - Oak Wood = log' - - '17:1 - Spruce Wood = log' - - '17:2 - Birch Wood = log' - - '17:3 - Jungle Wood = log' - - '18 - All Leaves = leaves' - - '18:0 - Oak Leaves = leaves' - - '18:1 - Spruce Leaves = leaves' - - '18:2 - Birch Leaves = leaves' - - '18:3 - Jungle Leaves = leaves' - - '19 - Sponge = sponge' - - '19:1 - Wet Sponge = sponge' - - '20 - Glass = glass' - - '21 - Lapis Lazuli Ore = lapis_ore' - - '22 - Lapis Lazuli Block = lapis_block' - - '23 - Dispenser = dispenser' - - '24 - Sandstone = sandstone' - - '24:1 - Chiseled Sandstone = sandstone' - - '24:2 - Smooth Sandstone = sandstone' - - '25 - Note Block = noteblock' - - '26 - Bed = bed' - - '27 - Powered Rail = golden_rail' - - '28 - Detector Rail = detector_rail' - - '29 - Sticky Piston = sticky_piston' - - '30 - Cobweb = web' - - '31 - Dead Shrub = tallgrass' - - '31:1 - Grass = tallgrass' - - '31:2 - Fern = tallgrass' - - '32 - Dead Shrub = deadbush' - - '33 - Piston = piston' - - '34 - Piston Head = piston_head' - - '35 - All Wool = wool' - - '35:0 - White Wool = wool' - - '35:1 - Orange Wool = wool' - - '35:2 - Magenta Wool = wool' - - '35:3 - Light Blue Wool = wool' - - '35:4 - Yellow Wool = wool' - - '35:5 - Lime Wool = wool' - - '35:6 - Pink Wool = wool' - - '35:7 - Gray Wool = wool' - - '35:8 - Light Gray Wool = wool' - - '35:9 - Cyan Wool = wool' - - '35:10 - Purple Wool = wool' - - '35:11 - Blue Wool = wool' - - '35:12 - Brown Wool = wool' - - '35:13 - Green Wool = wool' - - '35:14 - Red Wool = wool' - - '35:15 - Black Wool = wool' - - '37 - Dandelion = yellow_flower' - - '38 - All Flowers = red_flower' - - '38:0 - Poppy = red_flower' - - '38:1 - Blue Orchid = red_flower' - - '38:2 - Allium = red_flower' - - '38:3 - Azure Bluet = red_flower' - - '38:4 - Red Tulip = red_flower' - - '38:5 - Orange Tulip = red_flower' - - '38:6 - White Tulip = red_flower' - - '38:7 - Pink Tulip = red_flower' - - '38:8 - Oxeye Daisy = red_flower' - - '39 - Brown Mushroom = brown_mushroom' - - '40 - Red Mushroom = red_mushroom' - - '41 - Gold Block = gold_block' - - '42 - Iron Block = iron_block' - - '43 - All Double Slabs = double_stone_slab' - - '43:0 - Double Stone Slab = double_stone_slab' - - '43:1 - Double Sandstone Slab = double_stone_slab' - - '43:2 - Double Wooden Slab = double_stone_slab' - - '43:3 - Double Cobblestone Slab = double_stone_slab' - - '43:4 - Double Brick Slab = double_stone_slab' - - '43:5 - Double Stone Brick Slab = double_stone_slab' - - '43:6 - Double Nether Brick Slab = double_stone_slab' - - '43:7 - Double Quartz Slab = double_stone_slab' - - '44 - All Slabs = stone_slab' - - '44:0 - Stone Slab = stone_slab' - - '44:1 - Sandstone Slab = stone_slab' - - '44:2 - Wooden Slab = stone_slab' - - '44:3 - Cobblestone Slab = stone_slab' - - '44:4 - Brick Slab = stone_slab' - - '44:5 - Stone Brick Slab = stone_slab' - - '44:6 - Nether Brick Slab = stone_slab' - - '44:7 - Quartz Slab = stone_slab' - - '45 - Bricks = brick_block' - - '46 - TNT = tnt' - - '47 - Bookshelf = bookshelf' - - '48 - Moss Stone = mossy_cobblestone' - - '49 - Obsidian = obsidian' - - '50 - Torch = torch' - - '51 - Fire = fire' - - '52 - Monster Spawner = mob_spawner' - - '53 - Oak Wood Stairs = oak_stairs' - - '54 - Chest = chest' - - '55 - Redstone Wire = redstone_wire' - - '56 - Diamond Ore = diamond_ore' - - '57 - Diamond Block = diamond_block' - - '58 - Crafting Table = crafting_table' - - '59 - Wheat Crops = wheat' - - '60 - Farmland = farmland' - - '61 - Furnace = furnace' - - '62 - Burning Furnace = lit_furnace' - - '63 - Standing Sign Block = standing_sign' - - '64 - Wooden Door Block = wooden_door' - - '65 - Ladder = ladder' - - '66 - Rail = rail' - - '67 - Cobblestone Stairs = stone_stairs' - - '68 - Wall-mounted Sign Block = wall_sign' - - '69 - Lever = lever' - - '70 - Stone Pressure Plate = stone_pressure_plate' - - '71 - Iron Door Block = iron_door' - - '72 - Wooden Pressure Plate = wooden_pressure_plate' - - '73 - Redstone Ore = redstone_ore' - - '74 - Glowing Redstone Ore = lit_redstone_ore' - - '75 - Redstone Torch (off) = unlit_redstone_torch' - - '76 - Redstone Torch (on) = redstone_torch' - - '77 - Stone Button = stone_button' - - '78 - Snow = snow_layer' - - '79 - Ice = ice' - - '80 - Snow Block = snow' - - '81 - Cactus = cactus' - - '82 - Clay = clay' - - '83 - Sugar Canes = reeds' - - '84 - Jukebox = jukebox' - - '85 - Oak Fence = fence' - - '86 - Pumpkin = pumpkin' - - '87 - Netherrack = netherrack' - - '88 - Soul Sand = soul_sand' - - '89 - Glowstone = glowstone' - - '90 - Nether Portal = portal' - - '91 - Jack o''Lantern = lit_pumpkin' - - '92 - Cake Block = cake' - - '93 - Redstone Repeater Block (off) = unpowered_repeater' - - '94 - Redstone Repeater Block (on) = powered_repeater' - - '95 - All Stained Glass = stained_glass' - - '95:0 - White Stained Glass = stained_glass' - - '95:1 - Orange Stained Glass = stained_glass' - - '95:2 - Magenta Stained Glass = stained_glass' - - '95:3 - Light Blue Stained Glass = stained_glass' - - '95:4 - Yellow Stained Glass = stained_glass' - - '95:5 - Lime Stained Glass = stained_glass' - - '95:6 - Pink Stained Glass = stained_glass' - - '95:7 - Gray Stained Glass = stained_glass' - - '95:8 - Light Gray Stained Glass = stained_glass' - - '95:9 - Cyan Stained Glass = stained_glass' - - '95:10 - Purple Stained Glass = stained_glass' - - '95:11 - Blue Stained Glass = stained_glass' - - '95:12 - Brown Stained Glass = stained_glass' - - '95:13 - Green Stained Glass = stained_glass' - - '95:14 - Red Stained Glass = stained_glass' - - '95:15 - Black Stained Glass = stained_glass' - - '96 - Wooden Trapdoor = trapdoor' - - '97 - Stone Monster Egg = monster_egg' - - '97:1 - Cobblestone Monster Egg = monster_egg' - - '97:2 - Stone Brick Monster Egg = monster_egg' - - '97:3 - Mossy Stone Brick Monster Egg = monster_egg' - - '97:4 - Cracked Stone Brick Monster Egg = monster_egg' - - '97:5 - Chiseled Stone Brick Monster Egg = monster_egg' - - '98 - Stone Bricks = stonebrick' - - '98:1 - Mossy Stone Bricks = stonebrick' - - '98:2 - Cracked Stone Bricks = stonebrick' - - '98:3 - Chiseled Stone Bricks = stonebrick' - - '99 - Red Mushroom Cap = stonebrick' - - '100 - Brown Mushroom Cap = stonebrick' - - '101 - Iron Bars = iron_bars' - - '102 - Glass Pane = glass_pane' - - '103 - Melon Block = melon_block' - - '104 - Pumpkin Stem = pumpkin_stem' - - '105 - Melon Stem = melon_stem' - - '106 - Vines = vine' - - '107 - Oak Fence Gate = fence_gate' - - '108 - Brick Stairs = brick_stairs' - - '109 - Stone Brick Stairs = stone_brick_stairs' - - '110 - Mycelium = mycelium' - - '111 - Lily Pad = waterlily' - - '112 - Nether Brick = nether_brick' - - '113 - Nether Brick Fence = nether_brick_fence' - - '114 - Nether Brick Stairs = nether_brick_stairs' - - '115 - Nether Wart = nether_wart' - - '116 - Enchantment Table = enchanting_table' - - '117 - Brewing Stand = brewing_stand' - - '118 - Cauldron = cauldron' - - '119 - End Portal = end_portal' - - '120 - End Portal Frame = end_portal_frame' - - '121 - End Stone = end_stone' - - '122 - Dragon Egg = dragon_egg' - - '123 - Redstone Lamp (inactive) = redstone_lamp' - - '124 - Redstone Lamp (active) = lit_redstone_lamp' - - '125 - All Double Wood Slab = double_wooden_slab' - - '125:0 - Double Oak Wood Slab = double_wooden_slab' - - '125:1 - Double Spruce Wood Slab = double_wooden_slab' - - '125:2 - Double Birch Wood Slab = double_wooden_slab' - - '125:3 - Double Jungle Wood Slab = double_wooden_slab' - - '125:4 - Double Acacia Wood Slab = double_wooden_slab' - - '125:5 - Double Dark Oak Wood Slab = double_wooden_slab' - - '126 - All Wood Slab = wooden_slab' - - '126:0 - Oak Wood Slab = wooden_slab' - - '126:1 - Spruce Wood Slab = wooden_slab' - - '126:2 - Birch Wood Slab = wooden_slab' - - '126:3 - Jungle Wood Slab = wooden_slab' - - '126:4 - Acacia Wood Slab = wooden_slab' - - '126:5 - Dark Oak Wood Slab = wooden_slab' - - '127 - Cocoa = cocoa' - - '128 - Sandstone Stairs = sandstone_stairs' - - '129 - Emerald Ore = emerald_ore' - - '130 - Ender Chest = ender_chest' - - '131 - Tripwire Hook = tripwire_hook' - - '132 - Tripwire = tripwire_hook' - - '133 - Emerald Block = emerald_block' - - '134 - Spruce Wood Stairs = spruce_stairs' - - '135 - Birch Wood Stairs = birch_stairs' - - '136 - Jungle Wood Stairs = jungle_stairs' - - '137 - Command Block = command_block' - - '138 - Beacon = beacon' - - '139 - Cobblestone Wall = cobblestone_wall' - - '139:1 - Mossy Cobblestone Wall = cobblestone_wall' - - '140 - Flower Pot = flower_pot' - - '141 - Carrots = carrots' - - '142 - Potatoes = potatoes' - - '143 - Wooden Button = wooden_button' - - '144 - Mob Head = skull' - - '145 - Anvil = anvil' - - '146 - Trapped Chest = trapped_chest' - - '147 - Weighted Pressure Plate (light) = light_weighted_pressure_plate' - - '148 - Weighted Pressure Plate (heavy) = heavy_weighted_pressure_plate' - - '149 - Redstone Comparator (inactive) = unpowered_comparator' - - '150 - Redstone Comparator (active) = powered_comparator' - - '151 - Daylight Sensor = daylight_detector' - - '152 - Redstone Block = redstone_block' - - '153 - Nether Quartz Ore = quartz_ore' - - '154 - Hopper = hopper' - - '155 - Quartz Block = quartz_block' - - '155:1 - Chiseled Quartz Block = quartz_block' - - '155:2 - Pillar Quartz Block = quartz_block' - - '156 - Quartz Stairs = quartz_stairs' - - '157 - Activator Rail = activator_rail' - - '158 - Dropper = dropper' - - '159 - All Stained Clays = stained_hardened_clay' - - '159:0 - White Stained Clay = stained_hardened_clay' - - '159:1 - Orange Stained Clay = stained_hardened_clay' - - '159:2 - Magenta Stained Clay = stained_hardened_clay' - - '159:3 - Light Blue Stained Clay = stained_hardened_clay' - - '159:4 - Yellow Stained Clay = stained_hardened_clay' - - '159:5 - Lime Stained Clay = stained_hardened_clay' - - '159:6 - Pink Stained Clay = stained_hardened_clay' - - '159:7 - Gray Stained Clay = stained_hardened_clay' - - '159:8 - Light Gray Stained Clay = stained_hardened_clay' - - '159:9 - Cyan Stained Clay = stained_hardened_clay' - - '159:10 - Purple Stained Clay = stained_hardened_clay' - - '159:11 - Blue Stained Clay = stained_hardened_clay' - - '159:12 - Brown Stained Clay = stained_hardened_clay' - - '159:13 - Green Stained Clay = stained_hardened_clay' - - '159:14 - Red Stained Clay = stained_hardened_clay' - - '159:15 - Black Stained Clay = stained_hardened_clay' - - '160 - All Stained Glass Panes = stained_glass_pane' - - '160:0 - White Stained Glass Pane = stained_glass_pane' - - '160:1 - Orange Stained Glass Pane = stained_glass_pane' - - '160:2 - Magenta Stained Glass Pane = stained_glass_pane' - - '160:3 - Light Blue Stained Glass Pane = stained_glass_pane' - - '160:4 - Yellow Stained Glass Pane = stained_glass_pane' - - '160:5 - Lime Stained Glass Pane = stained_glass_pane' - - '160:6 - Pink Stained Glass Pane = stained_glass_pane' - - '160:7 - Gray Stained Glass Pane = stained_glass_pane' - - '160:8 - Light Gray Stained Glass Pane = stained_glass_pane' - - '160:9 - Cyan Stained Glass Pane = stained_glass_pane' - - '160:10 - Purple Stained Glass Pane = stained_glass_pane' - - '160:11 - Blue Stained Glass Pane = stained_glass_pane' - - '160:12 - Brown Stained Glass Pane = stained_glass_pane' - - '160:13 - Green Stained Glass Pane = stained_glass_pane' - - '160:14 - Red Stained Glass Pane = stained_glass_pane' - - '160:15 - Black Stained Glass Pane = stained_glass_pane' - - '161 - Acacia Or Dark Oak Leaves = leaves2' - - '161:0 - Acacia Leaves = leaves2' - - '161:1 - Dark Oak Leaves = leaves2' - - '162 - Acacia Or Dark Oak Wood = logs2' - - '162:0 - Acacia Wood = logs2' - - '162:1 - Dark Oak Wood = logs2' - - '163 - Acacia Wood Stairs = acacia_stairs' - - '164 - Dark Oak Wood Stairs = dark_oak_stairs' - - '165 - Slime Block = slime' - - '166 - Barrier = barrier' - - '167 - Iron Trapdoor = iron_trapdoor' - - '168 - All Prismarine = prismarine' - - '168:0 - Prismarine = prismarine' - - '168:1 - Prismarine Bricks = prismarine' - - '168:2 - Dark Prismarine = prismarine' - - '169 - Sea Lantern = sea_lantern' - - '170 - Hay Bale = hay_block' - - '171 - All Carpet = carpet' - - '171:0 - White Carpet = carpet' - - '171:1 - Orange Carpet = carpet' - - '171:2 - Magenta Carpet = carpet' - - '171:3 - Light Blue Carpet = carpet' - - '171:4 - Yellow Carpet = carpet' - - '171:5 - Lime Carpet = carpet' - - '171:6 - Pink Carpet = carpet' - - '171:7 - Gray Carpet = carpet' - - '171:8 - Light Gray Carpet = carpet' - - '171:9 - Cyan Carpet = carpet' - - '171:10 - Purple Carpet = carpet' - - '171:11 - Blue Carpet = carpet' - - '171:12 - Brown Carpet = carpet' - - '171:13 - Green Carpet = carpet' - - '171:14 - Red Carpet = carpet' - - '171:15 - Black Carpet = carpet' - - '172 - Hardened Clay = hardened_clay' - - '173 - Block of Coal = coal_block' - - '174 - Packed Ice = packed_ice' - - '175 - All Big Flowers = double_plant' - - '175:0 - Sunflower = double_plant' - - '175:1 - Lilac = double_plant' - - '175:2 - Double Tallgrass = double_plant' - - '175:3 - Large Fern = double_plant' - - '175:4 - Rose Bush = double_plant' - - '175:5 - Peony = double_plant' - - '176 - Free-standing Banner = standing_banner' - - '177 - Wall-mounted Banner = wall_banner' - - '178 - Inverted Daylight Sensor = daylight_detector_inverted' - - '179 - Red Sandstone = red_sandstone' - - '179:1 - Smooth Red Sandstone = red_sandstone' - - '179:2 - Chiseled Red Sandstone = red_sandstone' - - '180 - Red Sandstone Stairs = red_sandstone_stairs' - - '181 - Double Red Sandstone Slab = stone_slab2' - - '182 - Red Sandstone Slab = double_stone_slab2' - - '183 - Spruce Fence Gate = spruce_fence_gate' - - '184 - Birch Fence Gate = birch_fence_gate' - - '185 - Jungle Fence Gate = jungle_fence_gate' - - '186 - Dark Oak Fence Gate = dark_oak_fence_gate' - - '187 - Acacia Fence Gate = acacia_fence_gate' - - '188 - Spruce Fence = spruce_fence' - - '189 - Birch Fence = birch_fence' - - '190 - Jungle Fence = jungle_fence' - - '191 - Dark Oak Fence = dark_oak_fence' - - '192 - Acacia Fence = acacia_fence' - - '193 - Spure Door Block = spruce_door' - - '194 - Birch Door Block = birch_door' - - '195 - Jungle Door Block = jungle_door' - - '196 - Acacia Door Block = acacia_door' - - '197 - Dark Oak Door Block = dark_oak_door' - - '256 - Iron Shovel = iron_shovel' - - '257 - Iron Pickaxe = iron_pickaxe' - - '258 - Iron Axe = iron_axe' - - '259 - Flint and Steel = flint_and_steel' - - '260 - Apple = apple' - - '261 - Bow = bow' - - '262 - Arrow = arrow' - - '263 - Coal = coal' - - '263:1 - Charcoal = coal' - - '264 - Diamond = diamond' - - '265 - Iron Ingot = iron_ingot' - - '266 - Gold Ingot = gold_ingot' - - '267 - Iron Sword = iron_sword' - - '268 - Wooden Sword = wooden_sword' - - '269 - Wooden Shovel = wooden_shovel' - - '270 - Wooden Pickaxe = wooden_pickaxe' - - '271 - Wooden Axe = wooden_axe' - - '272 - Stone Sword = stone_sword' - - '273 - Stone Shovel = stone_shovel' - - '274 - Stone Pickaxe = stone_pickaxe' - - '275 - Stone Axe = stone_axe' - - '276 - Diamond Sword = diamond_sword' - - '277 - Diamond Shovel = diamond_shovel' - - '278 - Diamond Pickaxe = diamond_pickaxe' - - '279 - Diamond Axe = diamond_axe' - - '280 - Stick = stick' - - '281 - Bowl = bowl' - - '282 - Mushroom Stew = mushroom_stew' - - '283 - Golden Sword = golden_sword' - - '284 - Golden Shovel = golden_shovel' - - '285 - Golden Pickaxe = golden_pickaxe' - - '286 - Golden Axe = golden_axe' - - '287 - String = string' - - '288 - Feather = feather' - - '289 - Gunpowder = gunpowder' - - '290 - Wooden Hoe = wooden_hoe' - - '291 - Stone Hoe = stone_hoe' - - '292 - Iron Hoe = iron_hoe' - - '293 - Diamond Hoe = diamond_hoe' - - '294 - Golden Hoe = golden_hoe' - - '295 - Wheat Seeds = wheat_seeds' - - '296 - Wheat = wheat' - - '297 - Bread = bread' - - '298 - Leather Helmet = leather_helmet' - - '299 - Leather Tunic = leather_chestplate' - - '300 - Leather Pants = leather_leggings' - - '301 - Leather Boots = leather_boots' - - '302 - Chainmail Helmet = chainmail_helmet' - - '303 - Chainmail Chestplate = chainmail_chestplate' - - '304 - Chainmail Leggings = chainmail_leggings' - - '305 - Chainmail Boots = chainmail_boots' - - '306 - Iron Helmet = iron_helmet' - - '307 - Iron Chestplate = iron_chestplate' - - '308 - Iron Leggings = iron_leggings' - - '309 - Iron Boots = iron_boots' - - '310 - Diamond Helmet = diamond_helmet' - - '311 - Diamond Chestplate = diamond_chestplate' - - '312 - Diamond Leggings = diamond_leggings' - - '313 - Diamond Boots = diamond_boots' - - '314 - Golden Helmet = golden_helmet' - - '315 - Golden Chestplate = golden_chestplate' - - '316 - Golden Leggings = golden_leggings' - - '317 - Golden Boots = golden_boots' - - '318 - Flint = flint_and_steel' - - '319 - Raw Porkchop = porkchop' - - '320 - Cooked Porkchop = cooked_porkchop' - - '321 - Painting = painting' - - '322 - Golden Apple = golden_apple' - - '322:1 - Enchanted Golden Apple = golden_apple' - - '323 - Sign = sign' - - '324 - Wooden Door = wooden_door' - - '325 - Bucket = bucket' - - '326 - Water Bucket = water_bucket' - - '327 - Lava Bucket = lava_bucket' - - '328 - Minecart = minecart' - - '329 - Saddle = saddle' - - '330 - Iron Door = iron_door' - - '331 - Redstone = redstone' - - '332 - Snowball = snowball' - - '333 - Boat = boat' - - '334 - Leather = leather' - - '335 - Milk Bucket = milk_bucket' - - '336 - Brick = brick' - - '337 - Clay Ball = clay_ball' - - '338 - Sugar Canes = reeds' - - '339 - Paper = paper' - - '340 - Book = book' - - '341 - Slimeball = slime_ball' - - '342 - Minecart with Chest = chest_minecart' - - '343 - Minecart with Furnace = furnace_minecart' - - '344 - Egg = egg' - - '345 - Compass = compass' - - '346 - Fishing Rod = fishing_rod' - - '347 - Clock = clock' - - '348 - Glowstone Dust = glowstone_dust' - - '349 - Raw Fish = fish' - - '349:1 - Raw Salmon = fish' - - '349:2 - Clownfish = fish' - - '349:3 - Pufferfish = fish' - - '350 - Cooked Fish = cooked_fish' - - '350:1 - Cooked Salmon = cooked_fish' - - '351 - All Dyes = dye' - - '351:0 - Ink Sack = dye' - - '351:1 - Rose Red = dye' - - '351:2 - Cactus Green = dye' - - '351:3 - Coco Beans = dye' - - '351:4 - Lapis Lazuli = dye' - - '351:5 - Purple Dye = dye' - - '351:6 - Cyan Dye = dye' - - '351:7 - Light Gray Dye = dye' - - '351:8 - Gray Dye = dye' - - '351:9 - Pink Dye = dye' - - '351:10 - Lime Dye = dye' - - '351:11 - Dandelion Yellow = dye' - - '351:12 - Light Blue Dye = dye' - - '351:13 - Magenta Dye = dye' - - '351:14 - Orange Dye = dye' - - '351:15 - Bone Meal = dye' - - '352 - Bone = bone' - - '353 - Sugar = sugar' - - '354 - Cake = cake' - - '355 - Bed = bed' - - '356 - Redstone Repeater = repeater' - - '357 - Cookie = cookie' - - '358 - Map = filled_map' - - '359 - Shears = shears' - - '360 - Melon = melon' - - '361 - Pumpkin Seeds = pumpkin_seeds' - - '362 - Melon Seeds = melon_seeds' - - '363 - Raw Beef = beef' - - '364 - Steak = cooked_beef' - - '365 - Raw Chicken = chicken' - - '366 - Cooked Chicken = cooked_chicken' - - '367 - Rotten Flesh = rotten_flesh' - - '368 - Ender Pearl = ender_pearl' - - '369 - Blaze Rod = blaze_rod' - - '370 - Ghast Tear = ghast_tear' - - '371 - Gold Nugget = gold_nugget' - - '372 - Nether Wart = nether_wart' - - '373 - Potion = potion' - - '374 - Glass Bottle = glass_bottle' - - '375 - Spider Eye = spider_eye' - - '376 - Fermented Spider Eye = fermented_spider_eye' - - '377 - Blaze Powder = blaze_powder' - - '378 - Magma Cream = magma_cream' - - '379 - Brewing Stand = brewing_stand' - - '380 - Cauldron = cauldron' - - '381 - Eye of Ender = ender_eye' - - '382 - Glistering Melon = speckled_melon' - - '383:50 - Spawn Creeper = spawn_egg' - - '383:51 - Spawn Skeleton = spawn_egg' - - '383:52 - Spawn Spider = spawn_egg' - - '383:54 - Spawn Zombie = spawn_egg' - - '383:55 - Spawn Slime = spawn_egg' - - '383:56 - Spawn Ghast = spawn_egg' - - '383:57 - Spawn Pigman = spawn_egg' - - '383:58 - Spawn Enderman = spawn_egg' - - '383:59 - Spawn Cave Spider = spawn_egg' - - '383:60 - Spawn Silverfish = spawn_egg' - - '383:61 - Spawn Blaze = spawn_egg' - - '383:62 - Spawn Magma Cube = spawn_egg' - - '383:65 - Spawn Bat = spawn_egg' - - '383:66 - Spawn Witch = spawn_egg' - - '383:67 - Spawn Endermite = spawn_egg' - - '383:68 - Spawn Guardian = spawn_egg' - - '383:90 - Spawn Pig = spawn_egg' - - '383:91 - Spawn Sheep = spawn_egg' - - '383:92 - Spawn Cow = spawn_egg' - - '383:93 - Spawn Chicken = spawn_egg' - - '383:94 - Spawn Squid = spawn_egg' - - '383:95 - Spawn Wolf = spawn_egg' - - '383:96 - Spawn Mooshroom = spawn_egg' - - '383:98 - Spawn Ocelot = spawn_egg' - - '383:100 - Spawn Horse = spawn_egg' - - '383:101 - Spawn Rabbit = spawn_egg' - - '383:120 - Spawn Villager = spawn_egg' - - '384 - Bottle o'' Enchanting = experience_bottle' - - '385 - Fire Charge = fire_charge' - - '386 - Book and Quill = writable_book' - - '387 - Written Book = written_book' - - '388 - Emerald = emerald' - - '389 - Item Frame = item_frame' - - '390 - Flower Pot = flower_pot' - - '391 - Carrot = carrot' - - '392 - Potato = potato' - - '393 - Baked Potato = baked_potato' - - '394 - Poisonous Potato = poisonous_potato' - - '395 - Empty Map = map' - - '396 - Golden Carrot = golden_carrot' - - '397 - Mob Head (Skeleton) = skull' - - '397:1 - Mob Head (Wither Skeleton) = skull' - - '397:2 - Mob Head (Zombie) = skull' - - '397:3 - Mob Head (Human) = skull' - - '397:4 - Mob Head (Creeper) = skull' - - '398 - Carrot on a Stick = carrot_on_a_stick' - - '399 - Nether Star = nether_star' - - '400 - Pumpkin Pie = pumpkin_pie' - - '401 - Firework Rocket = fireworks' - - '402 - Firework Star = firework_charge' - - '403 - Enchanted Book = enchanted_book' - - '404 - Redstone Comparator = comparator' - - '405 - Nether Brick = netherbrick' - - '406 - Nether Quartz = quartz' - - '407 - Minecart with TNT = tnt_minecart' - - '408 - Minecart with Hopper = hopper_minecart' - - '409 - Prismarine Shard = prismarine_shard' - - '410 - Prismarine Crystals = prismarine_crystals' - - '411 - Raw Rabbit = rabbit' - - '412 - Cooked Rabbit = cooked_rabbit' - - '413 - Rabbit Stew = rabbit_stew' - - '414 - Rabbit''s Foot = rabbit_foot' - - '415 - Rabbit Hide = rabbit_hide' - - '416 - Armor Stand = armor_stand' - - '417 - Iron Horse Armor = iron_horse_armor' - - '418 - Golden Horse Armor = golden_horse_armor' - - '419 - Diamond Horse Armor = diamond_horse_armor' - - '420 - Lead = lead' - - '421 - Name Tag = name_tag' - - '422 - Minecart with Command Block = command_block_minecart' - - '423 - Raw Mutton = mutton' - - '424 - Cooked Mutton = cooked_mutton' - - '425 - Banner = banner' - - '427 - Spruce Door = spruce_door' - - '428 - Birch Door = birch_door' - - '429 - Jungle Door = jungle_door' - - '430 - Acacia Door = acacia_door' - - '431 - Dark Oak Door = dark_oak_door' - - '2256 - 13 Disc = record_13' - - '2257 - Cat Disc = record_cat' - - '2258 - Blocks Disc = record_blocks' - - '2259 - Chirp Disc = record_chirp' - - '2260 - Far Disc = record_far' - - '2261 - Mall Disc = record_mall' - - '2262 - Mellohi Disc = record_mellohi' - - '2263 - Stal Disc = record_stal' - - '2264 - Strad Disc = record_strad' - - '2265 - Ward Disc = record_ward' - - '2266 - 11 Disc = record_11' - - '2267 - Wait Disc = record_wait' -EntityList: - - '50 - Creeper = Creeper' - - '51 - Skeleton = Skeleton' - - '51:1 - WitherSkeleton = Skeleton' - - '52 - Spider = Spider' - - '53 - Giant = Giant' - - '54 - Zombie = Zombie' - - '54:1 - Zombie Villager = Zombie' - - '55 - Slime = Slime' - - '56 - Ghast = Ghast' - - '57 - Zombie Pigman = PigZombie' - - '58 - Enderman = Enderman' - - '59 - Cave Spider = CaveSpider' - - '60 - Silverfish = Silverfish' - - '61 - Blaze = Blaze' - - '62 - LavaSlime = LavaSlime' - - '63 - EnderDragon = EnderDragon' - - '64 - Wither = WitherBoss' - - '65 - Bat = Bat' - - '66 - Witch = Witch' - - '67 - Endermite = Endermite' - - '68 - Guardian = Guardian' - - '68:1 - Elder Guardian = Guardian' - - '90 - Pig = Pig' - - '91 - Sheep = Sheep' - - '92 - Cow = Cow' - - '93 - Chicken = Chicken' - - '94 - Squid = Squid' - - '95 - Wolf = Wolf' - - '96 - MushroomCow = MushroomCow' - - '97 - Snow Golem = SnowMan' - - '98 - Ocelot = Ozelot' - - '99 - Iron Golem = VillagerGolem' - - '100 - Horse = EntityHorse' - - '101 - Rabbit = Rabbit' - - '120 - Villager = Villager' -EnchantList: - - '0 - Protection = PROTECTION_ENVIRONMENTAL' - - '1 - Fire Protection = PROTECTION_FIRE' - - '2 - Feather Falling = PROTECTION_FALL' - - '3 - Blast Protection = PROTECTION_EXPLOSIONS' - - '4 - Projectile Protection = ROTECTION_PROJECTILE' - - '5 - Respiration = OXYGEN' - - '6 - Aqua Affinity = DIG_SPEED' - - '7 - Thorns = THORNS' - - '8 - Depth Strider = DEPTH_STRIDER' - - '16 - Sharpness = DAMAGE_ALL' - - '17 - Smite = DAMAGE_UNDEAD' - - '18 - Bane of Arthropods = DAMAGE_ARTHROPODS' - - '19 - Knockback = KNOCKBACK' - - '20 - Fire Aspect = FIRE_ASPECT' - - '21 - Looting = LOOT_BONUS_MOBS' - - '32 - Efficiency = DIG_SPEED' - - '33 - Silk Touch = SILK_TOUCH' - - '34 - Unbreaking = DURABILITY' - - '35 - Fortune = LOOT_BONUS_BLOCKS' - - '48 - Power = ARROW_DAMAGE' - - '49 - Punch = ARROW_KNOCKBACK' - - '50 - Flame = ARROW_FIRE' - - '51 - Infinity = ARROW_INFINITE' - - '61 - Luck of the Sea = LUCK' - - '62 - Lure = LURE' -ColorList: - - '0 - &fWhite = white' - - '1 - &6Orange = orange' - - '2 - &dMagenta = magenta' - - '3 - %9Light blue = lightBlue' - - '4 - &eYellow = yellow' - - '5 - &aLime = lime' - - '6 - &dPink = pink' - - '7 - &8Gray = gray' - - '8 - &7Light gray = silver' - - '9 - &3Cyan = cyan' - - '10 - &5Purple = purple' - - '11 - &1Blue = blue' - - '12 - &4Brown = brown' - - '13 - &2Green = green' - - '14 - &cRed = red' +# You can edit text between - and =, keep spaces! +# if you not sure how to edit it, dont do it at all :) +# You can use any color you want and translate to any text you want +# first 2 numbers are id with meta data, keep it as it is for block/item/mob +# Text after = are minecraft'ish name, like Stone/Granite/Diorite and so on, all of them are stone +# Ex: '5:3 - Jungle Wood Plank = planks' can be changed to '5:3 - &3Jungle &4Woody &3Planky = planks' +ItemList: + - '0 - Air = air' + - '1 - All Stone = stone' + - '1:0 - Stone = stone' + - '1:1 - Granite = stone' + - '1:2 - Polished Granite = stone' + - '1:3 - Diorite = stone' + - '1:4 - Polished Diorite = stone' + - '1:5 - Andesite = stone' + - '1:6 - Polished Andesite = stone' + - '2 - Grass = grass' + - '3 - All Dirt = dirt' + - '3:0 - Dirt = dirt' + - '3:1 - Coarse Dirt = dirt' + - '3:2 - Podzol = dirt' + - '4 - Cobblestone = cobblestone' + - '5 - All Wood Plank = planks' + - '5:0 - Oak Wood Plank = planks' + - '5:1 - Spruce Wood Plank = planks' + - '5:2 - Birch Wood Plank = planks' + - '5:3 - Jungle Wood Plank = planks' + - '5:4 - Acacia Wood Plank = planks' + - '5:5 - Dark Oak Wood Plank = planks' + - '6 - All Saplings = sapling' + - '6:0 - Oak Sapling = sapling' + - '6:1 - Spruce Sapling = sapling' + - '6:2 - Birch Sapling = sapling' + - '6:3 - Jungle Sapling = sapling' + - '6:4 - Acacia Sapling = sapling' + - '6:5 - Dark Oak Sapling = sapling' + - '7 - Bedrock = bedrock' + - '8 - Flowing Water = flowing_water' + - '9 - Still Water = water' + - '10 - Flowing Lava = flowing_lava' + - '11 - Still Lava = lava' + - '12 - All Sand = sand' + - '12:0 - Sand = sand' + - '12:1 - Red Sand = sand' + - '13 - Gravel = gravel' + - '14 - Gold Ore = gold_ore' + - '15 - Iron Ore = iron_ore' + - '16 - Coal Ore = coal_ore' + - '17 - All Wood = log' + - '17:0 - Oak Wood = log' + - '17:1 - Spruce Wood = log' + - '17:2 - Birch Wood = log' + - '17:3 - Jungle Wood = log' + - '18 - All Leaves = leaves' + - '18:0 - Oak Leaves = leaves' + - '18:1 - Spruce Leaves = leaves' + - '18:2 - Birch Leaves = leaves' + - '18:3 - Jungle Leaves = leaves' + - '19 - Sponge = sponge' + - '19:1 - Wet Sponge = sponge' + - '20 - Glass = glass' + - '21 - Lapis Lazuli Ore = lapis_ore' + - '22 - Lapis Lazuli Block = lapis_block' + - '23 - Dispenser = dispenser' + - '24 - Sandstone = sandstone' + - '24:1 - Chiseled Sandstone = sandstone' + - '24:2 - Smooth Sandstone = sandstone' + - '25 - Note Block = noteblock' + - '26 - Bed = bed' + - '27 - Powered Rail = golden_rail' + - '28 - Detector Rail = detector_rail' + - '29 - Sticky Piston = sticky_piston' + - '30 - Cobweb = web' + - '31 - Dead Shrub = tallgrass' + - '31:1 - Grass = tallgrass' + - '31:2 - Fern = tallgrass' + - '32 - Dead Shrub = deadbush' + - '33 - Piston = piston' + - '34 - Piston Head = piston_head' + - '35 - All Wool = wool' + - '35:0 - White Wool = wool' + - '35:1 - Orange Wool = wool' + - '35:2 - Magenta Wool = wool' + - '35:3 - Light Blue Wool = wool' + - '35:4 - Yellow Wool = wool' + - '35:5 - Lime Wool = wool' + - '35:6 - Pink Wool = wool' + - '35:7 - Gray Wool = wool' + - '35:8 - Light Gray Wool = wool' + - '35:9 - Cyan Wool = wool' + - '35:10 - Purple Wool = wool' + - '35:11 - Blue Wool = wool' + - '35:12 - Brown Wool = wool' + - '35:13 - Green Wool = wool' + - '35:14 - Red Wool = wool' + - '35:15 - Black Wool = wool' + - '37 - Dandelion = yellow_flower' + - '38 - All Flowers = red_flower' + - '38:0 - Poppy = red_flower' + - '38:1 - Blue Orchid = red_flower' + - '38:2 - Allium = red_flower' + - '38:3 - Azure Bluet = red_flower' + - '38:4 - Red Tulip = red_flower' + - '38:5 - Orange Tulip = red_flower' + - '38:6 - White Tulip = red_flower' + - '38:7 - Pink Tulip = red_flower' + - '38:8 - Oxeye Daisy = red_flower' + - '39 - Brown Mushroom = brown_mushroom' + - '40 - Red Mushroom = red_mushroom' + - '41 - Gold Block = gold_block' + - '42 - Iron Block = iron_block' + - '43 - All Double Slabs = double_stone_slab' + - '43:0 - Double Stone Slab = double_stone_slab' + - '43:1 - Double Sandstone Slab = double_stone_slab' + - '43:2 - Double Wooden Slab = double_stone_slab' + - '43:3 - Double Cobblestone Slab = double_stone_slab' + - '43:4 - Double Brick Slab = double_stone_slab' + - '43:5 - Double Stone Brick Slab = double_stone_slab' + - '43:6 - Double Nether Brick Slab = double_stone_slab' + - '43:7 - Double Quartz Slab = double_stone_slab' + - '44 - All Slabs = stone_slab' + - '44:0 - Stone Slab = stone_slab' + - '44:1 - Sandstone Slab = stone_slab' + - '44:2 - Wooden Slab = stone_slab' + - '44:3 - Cobblestone Slab = stone_slab' + - '44:4 - Brick Slab = stone_slab' + - '44:5 - Stone Brick Slab = stone_slab' + - '44:6 - Nether Brick Slab = stone_slab' + - '44:7 - Quartz Slab = stone_slab' + - '45 - Bricks = brick_block' + - '46 - TNT = tnt' + - '47 - Bookshelf = bookshelf' + - '48 - Moss Stone = mossy_cobblestone' + - '49 - Obsidian = obsidian' + - '50 - Torch = torch' + - '51 - Fire = fire' + - '52 - Monster Spawner = mob_spawner' + - '53 - Oak Wood Stairs = oak_stairs' + - '54 - Chest = chest' + - '55 - Redstone Wire = redstone_wire' + - '56 - Diamond Ore = diamond_ore' + - '57 - Diamond Block = diamond_block' + - '58 - Crafting Table = crafting_table' + - '59 - Wheat Crops = wheat' + - '60 - Farmland = farmland' + - '61 - Furnace = furnace' + - '62 - Burning Furnace = lit_furnace' + - '63 - Standing Sign Block = standing_sign' + - '64 - Wooden Door Block = wooden_door' + - '65 - Ladder = ladder' + - '66 - Rail = rail' + - '67 - Cobblestone Stairs = stone_stairs' + - '68 - Wall-mounted Sign Block = wall_sign' + - '69 - Lever = lever' + - '70 - Stone Pressure Plate = stone_pressure_plate' + - '71 - Iron Door Block = iron_door' + - '72 - Wooden Pressure Plate = wooden_pressure_plate' + - '73 - Redstone Ore = redstone_ore' + - '74 - Glowing Redstone Ore = lit_redstone_ore' + - '75 - Redstone Torch (off) = unlit_redstone_torch' + - '76 - Redstone Torch (on) = redstone_torch' + - '77 - Stone Button = stone_button' + - '78 - Snow = snow_layer' + - '79 - Ice = ice' + - '80 - Snow Block = snow' + - '81 - Cactus = cactus' + - '82 - Clay = clay' + - '83 - Sugar Canes = reeds' + - '84 - Jukebox = jukebox' + - '85 - Oak Fence = fence' + - '86 - Pumpkin = pumpkin' + - '87 - Netherrack = netherrack' + - '88 - Soul Sand = soul_sand' + - '89 - Glowstone = glowstone' + - '90 - Nether Portal = portal' + - '91 - Jack o''Lantern = lit_pumpkin' + - '92 - Cake Block = cake' + - '93 - Redstone Repeater Block (off) = unpowered_repeater' + - '94 - Redstone Repeater Block (on) = powered_repeater' + - '95 - All Stained Glass = stained_glass' + - '95:0 - White Stained Glass = stained_glass' + - '95:1 - Orange Stained Glass = stained_glass' + - '95:2 - Magenta Stained Glass = stained_glass' + - '95:3 - Light Blue Stained Glass = stained_glass' + - '95:4 - Yellow Stained Glass = stained_glass' + - '95:5 - Lime Stained Glass = stained_glass' + - '95:6 - Pink Stained Glass = stained_glass' + - '95:7 - Gray Stained Glass = stained_glass' + - '95:8 - Light Gray Stained Glass = stained_glass' + - '95:9 - Cyan Stained Glass = stained_glass' + - '95:10 - Purple Stained Glass = stained_glass' + - '95:11 - Blue Stained Glass = stained_glass' + - '95:12 - Brown Stained Glass = stained_glass' + - '95:13 - Green Stained Glass = stained_glass' + - '95:14 - Red Stained Glass = stained_glass' + - '95:15 - Black Stained Glass = stained_glass' + - '96 - Wooden Trapdoor = trapdoor' + - '97 - Stone Monster Egg = monster_egg' + - '97:1 - Cobblestone Monster Egg = monster_egg' + - '97:2 - Stone Brick Monster Egg = monster_egg' + - '97:3 - Mossy Stone Brick Monster Egg = monster_egg' + - '97:4 - Cracked Stone Brick Monster Egg = monster_egg' + - '97:5 - Chiseled Stone Brick Monster Egg = monster_egg' + - '98 - Stone Bricks = stonebrick' + - '98:1 - Mossy Stone Bricks = stonebrick' + - '98:2 - Cracked Stone Bricks = stonebrick' + - '98:3 - Chiseled Stone Bricks = stonebrick' + - '99 - Red Mushroom Cap = stonebrick' + - '100 - Brown Mushroom Cap = stonebrick' + - '101 - Iron Bars = iron_bars' + - '102 - Glass Pane = glass_pane' + - '103 - Melon Block = melon_block' + - '104 - Pumpkin Stem = pumpkin_stem' + - '105 - Melon Stem = melon_stem' + - '106 - Vines = vine' + - '107 - Oak Fence Gate = fence_gate' + - '108 - Brick Stairs = brick_stairs' + - '109 - Stone Brick Stairs = stone_brick_stairs' + - '110 - Mycelium = mycelium' + - '111 - Lily Pad = waterlily' + - '112 - Nether Brick = nether_brick' + - '113 - Nether Brick Fence = nether_brick_fence' + - '114 - Nether Brick Stairs = nether_brick_stairs' + - '115 - Nether Wart = nether_wart' + - '116 - Enchantment Table = enchanting_table' + - '117 - Brewing Stand = brewing_stand' + - '118 - Cauldron = cauldron' + - '119 - End Portal = end_portal' + - '120 - End Portal Frame = end_portal_frame' + - '121 - End Stone = end_stone' + - '122 - Dragon Egg = dragon_egg' + - '123 - Redstone Lamp (inactive) = redstone_lamp' + - '124 - Redstone Lamp (active) = lit_redstone_lamp' + - '125 - All Double Wood Slab = double_wooden_slab' + - '125:0 - Double Oak Wood Slab = double_wooden_slab' + - '125:1 - Double Spruce Wood Slab = double_wooden_slab' + - '125:2 - Double Birch Wood Slab = double_wooden_slab' + - '125:3 - Double Jungle Wood Slab = double_wooden_slab' + - '125:4 - Double Acacia Wood Slab = double_wooden_slab' + - '125:5 - Double Dark Oak Wood Slab = double_wooden_slab' + - '126 - All Wood Slab = wooden_slab' + - '126:0 - Oak Wood Slab = wooden_slab' + - '126:1 - Spruce Wood Slab = wooden_slab' + - '126:2 - Birch Wood Slab = wooden_slab' + - '126:3 - Jungle Wood Slab = wooden_slab' + - '126:4 - Acacia Wood Slab = wooden_slab' + - '126:5 - Dark Oak Wood Slab = wooden_slab' + - '127 - Cocoa = cocoa' + - '128 - Sandstone Stairs = sandstone_stairs' + - '129 - Emerald Ore = emerald_ore' + - '130 - Ender Chest = ender_chest' + - '131 - Tripwire Hook = tripwire_hook' + - '132 - Tripwire = tripwire_hook' + - '133 - Emerald Block = emerald_block' + - '134 - Spruce Wood Stairs = spruce_stairs' + - '135 - Birch Wood Stairs = birch_stairs' + - '136 - Jungle Wood Stairs = jungle_stairs' + - '137 - Command Block = command_block' + - '138 - Beacon = beacon' + - '139 - Cobblestone Wall = cobblestone_wall' + - '139:1 - Mossy Cobblestone Wall = cobblestone_wall' + - '140 - Flower Pot = flower_pot' + - '141 - Carrots = carrots' + - '142 - Potatoes = potatoes' + - '143 - Wooden Button = wooden_button' + - '144 - Mob Head = skull' + - '145 - Anvil = anvil' + - '146 - Trapped Chest = trapped_chest' + - '147 - Weighted Pressure Plate (light) = light_weighted_pressure_plate' + - '148 - Weighted Pressure Plate (heavy) = heavy_weighted_pressure_plate' + - '149 - Redstone Comparator (inactive) = unpowered_comparator' + - '150 - Redstone Comparator (active) = powered_comparator' + - '151 - Daylight Sensor = daylight_detector' + - '152 - Redstone Block = redstone_block' + - '153 - Nether Quartz Ore = quartz_ore' + - '154 - Hopper = hopper' + - '155 - Quartz Block = quartz_block' + - '155:1 - Chiseled Quartz Block = quartz_block' + - '155:2 - Pillar Quartz Block = quartz_block' + - '156 - Quartz Stairs = quartz_stairs' + - '157 - Activator Rail = activator_rail' + - '158 - Dropper = dropper' + - '159 - All Stained Clays = stained_hardened_clay' + - '159:0 - White Stained Clay = stained_hardened_clay' + - '159:1 - Orange Stained Clay = stained_hardened_clay' + - '159:2 - Magenta Stained Clay = stained_hardened_clay' + - '159:3 - Light Blue Stained Clay = stained_hardened_clay' + - '159:4 - Yellow Stained Clay = stained_hardened_clay' + - '159:5 - Lime Stained Clay = stained_hardened_clay' + - '159:6 - Pink Stained Clay = stained_hardened_clay' + - '159:7 - Gray Stained Clay = stained_hardened_clay' + - '159:8 - Light Gray Stained Clay = stained_hardened_clay' + - '159:9 - Cyan Stained Clay = stained_hardened_clay' + - '159:10 - Purple Stained Clay = stained_hardened_clay' + - '159:11 - Blue Stained Clay = stained_hardened_clay' + - '159:12 - Brown Stained Clay = stained_hardened_clay' + - '159:13 - Green Stained Clay = stained_hardened_clay' + - '159:14 - Red Stained Clay = stained_hardened_clay' + - '159:15 - Black Stained Clay = stained_hardened_clay' + - '160 - All Stained Glass Panes = stained_glass_pane' + - '160:0 - White Stained Glass Pane = stained_glass_pane' + - '160:1 - Orange Stained Glass Pane = stained_glass_pane' + - '160:2 - Magenta Stained Glass Pane = stained_glass_pane' + - '160:3 - Light Blue Stained Glass Pane = stained_glass_pane' + - '160:4 - Yellow Stained Glass Pane = stained_glass_pane' + - '160:5 - Lime Stained Glass Pane = stained_glass_pane' + - '160:6 - Pink Stained Glass Pane = stained_glass_pane' + - '160:7 - Gray Stained Glass Pane = stained_glass_pane' + - '160:8 - Light Gray Stained Glass Pane = stained_glass_pane' + - '160:9 - Cyan Stained Glass Pane = stained_glass_pane' + - '160:10 - Purple Stained Glass Pane = stained_glass_pane' + - '160:11 - Blue Stained Glass Pane = stained_glass_pane' + - '160:12 - Brown Stained Glass Pane = stained_glass_pane' + - '160:13 - Green Stained Glass Pane = stained_glass_pane' + - '160:14 - Red Stained Glass Pane = stained_glass_pane' + - '160:15 - Black Stained Glass Pane = stained_glass_pane' + - '161 - Acacia Or Dark Oak Leaves = leaves2' + - '161:0 - Acacia Leaves = leaves2' + - '161:1 - Dark Oak Leaves = leaves2' + - '162 - Acacia Or Dark Oak Wood = logs2' + - '162:0 - Acacia Wood = logs2' + - '162:1 - Dark Oak Wood = logs2' + - '163 - Acacia Wood Stairs = acacia_stairs' + - '164 - Dark Oak Wood Stairs = dark_oak_stairs' + - '165 - Slime Block = slime' + - '166 - Barrier = barrier' + - '167 - Iron Trapdoor = iron_trapdoor' + - '168 - All Prismarine = prismarine' + - '168:0 - Prismarine = prismarine' + - '168:1 - Prismarine Bricks = prismarine' + - '168:2 - Dark Prismarine = prismarine' + - '169 - Sea Lantern = sea_lantern' + - '170 - Hay Bale = hay_block' + - '171 - All Carpet = carpet' + - '171:0 - White Carpet = carpet' + - '171:1 - Orange Carpet = carpet' + - '171:2 - Magenta Carpet = carpet' + - '171:3 - Light Blue Carpet = carpet' + - '171:4 - Yellow Carpet = carpet' + - '171:5 - Lime Carpet = carpet' + - '171:6 - Pink Carpet = carpet' + - '171:7 - Gray Carpet = carpet' + - '171:8 - Light Gray Carpet = carpet' + - '171:9 - Cyan Carpet = carpet' + - '171:10 - Purple Carpet = carpet' + - '171:11 - Blue Carpet = carpet' + - '171:12 - Brown Carpet = carpet' + - '171:13 - Green Carpet = carpet' + - '171:14 - Red Carpet = carpet' + - '171:15 - Black Carpet = carpet' + - '172 - Hardened Clay = hardened_clay' + - '173 - Block of Coal = coal_block' + - '174 - Packed Ice = packed_ice' + - '175 - All Big Flowers = double_plant' + - '175:0 - Sunflower = double_plant' + - '175:1 - Lilac = double_plant' + - '175:2 - Double Tallgrass = double_plant' + - '175:3 - Large Fern = double_plant' + - '175:4 - Rose Bush = double_plant' + - '175:5 - Peony = double_plant' + - '176 - Free-standing Banner = standing_banner' + - '177 - Wall-mounted Banner = wall_banner' + - '178 - Inverted Daylight Sensor = daylight_detector_inverted' + - '179 - Red Sandstone = red_sandstone' + - '179:1 - Smooth Red Sandstone = red_sandstone' + - '179:2 - Chiseled Red Sandstone = red_sandstone' + - '180 - Red Sandstone Stairs = red_sandstone_stairs' + - '181 - Double Red Sandstone Slab = stone_slab2' + - '182 - Red Sandstone Slab = double_stone_slab2' + - '183 - Spruce Fence Gate = spruce_fence_gate' + - '184 - Birch Fence Gate = birch_fence_gate' + - '185 - Jungle Fence Gate = jungle_fence_gate' + - '186 - Dark Oak Fence Gate = dark_oak_fence_gate' + - '187 - Acacia Fence Gate = acacia_fence_gate' + - '188 - Spruce Fence = spruce_fence' + - '189 - Birch Fence = birch_fence' + - '190 - Jungle Fence = jungle_fence' + - '191 - Dark Oak Fence = dark_oak_fence' + - '192 - Acacia Fence = acacia_fence' + - '193 - Spure Door Block = spruce_door' + - '194 - Birch Door Block = birch_door' + - '195 - Jungle Door Block = jungle_door' + - '196 - Acacia Door Block = acacia_door' + - '197 - Dark Oak Door Block = dark_oak_door' + - '256 - Iron Shovel = iron_shovel' + - '257 - Iron Pickaxe = iron_pickaxe' + - '258 - Iron Axe = iron_axe' + - '259 - Flint and Steel = flint_and_steel' + - '260 - Apple = apple' + - '261 - Bow = bow' + - '262 - Arrow = arrow' + - '263 - Coal = coal' + - '263:1 - Charcoal = coal' + - '264 - Diamond = diamond' + - '265 - Iron Ingot = iron_ingot' + - '266 - Gold Ingot = gold_ingot' + - '267 - Iron Sword = iron_sword' + - '268 - Wooden Sword = wooden_sword' + - '269 - Wooden Shovel = wooden_shovel' + - '270 - Wooden Pickaxe = wooden_pickaxe' + - '271 - Wooden Axe = wooden_axe' + - '272 - Stone Sword = stone_sword' + - '273 - Stone Shovel = stone_shovel' + - '274 - Stone Pickaxe = stone_pickaxe' + - '275 - Stone Axe = stone_axe' + - '276 - Diamond Sword = diamond_sword' + - '277 - Diamond Shovel = diamond_shovel' + - '278 - Diamond Pickaxe = diamond_pickaxe' + - '279 - Diamond Axe = diamond_axe' + - '280 - Stick = stick' + - '281 - Bowl = bowl' + - '282 - Mushroom Stew = mushroom_stew' + - '283 - Golden Sword = golden_sword' + - '284 - Golden Shovel = golden_shovel' + - '285 - Golden Pickaxe = golden_pickaxe' + - '286 - Golden Axe = golden_axe' + - '287 - String = string' + - '288 - Feather = feather' + - '289 - Gunpowder = gunpowder' + - '290 - Wooden Hoe = wooden_hoe' + - '291 - Stone Hoe = stone_hoe' + - '292 - Iron Hoe = iron_hoe' + - '293 - Diamond Hoe = diamond_hoe' + - '294 - Golden Hoe = golden_hoe' + - '295 - Wheat Seeds = wheat_seeds' + - '296 - Wheat = wheat' + - '297 - Bread = bread' + - '298 - Leather Helmet = leather_helmet' + - '299 - Leather Tunic = leather_chestplate' + - '300 - Leather Pants = leather_leggings' + - '301 - Leather Boots = leather_boots' + - '302 - Chainmail Helmet = chainmail_helmet' + - '303 - Chainmail Chestplate = chainmail_chestplate' + - '304 - Chainmail Leggings = chainmail_leggings' + - '305 - Chainmail Boots = chainmail_boots' + - '306 - Iron Helmet = iron_helmet' + - '307 - Iron Chestplate = iron_chestplate' + - '308 - Iron Leggings = iron_leggings' + - '309 - Iron Boots = iron_boots' + - '310 - Diamond Helmet = diamond_helmet' + - '311 - Diamond Chestplate = diamond_chestplate' + - '312 - Diamond Leggings = diamond_leggings' + - '313 - Diamond Boots = diamond_boots' + - '314 - Golden Helmet = golden_helmet' + - '315 - Golden Chestplate = golden_chestplate' + - '316 - Golden Leggings = golden_leggings' + - '317 - Golden Boots = golden_boots' + - '318 - Flint = flint' + - '319 - Raw Porkchop = porkchop' + - '320 - Cooked Porkchop = cooked_porkchop' + - '321 - Painting = painting' + - '322 - Golden Apple = golden_apple' + - '322:1 - Enchanted Golden Apple = golden_apple' + - '323 - Sign = sign' + - '324 - Wooden Door = wooden_door' + - '325 - Bucket = bucket' + - '326 - Water Bucket = water_bucket' + - '327 - Lava Bucket = lava_bucket' + - '328 - Minecart = minecart' + - '329 - Saddle = saddle' + - '330 - Iron Door = iron_door' + - '331 - Redstone = redstone' + - '332 - Snowball = snowball' + - '333 - Boat = boat' + - '334 - Leather = leather' + - '335 - Milk Bucket = milk_bucket' + - '336 - Brick = brick' + - '337 - Clay Ball = clay_ball' + - '338 - Sugar Canes = reeds' + - '339 - Paper = paper' + - '340 - Book = book' + - '341 - Slimeball = slime_ball' + - '342 - Minecart with Chest = chest_minecart' + - '343 - Minecart with Furnace = furnace_minecart' + - '344 - Egg = egg' + - '345 - Compass = compass' + - '346 - Fishing Rod = fishing_rod' + - '347 - Clock = clock' + - '348 - Glowstone Dust = glowstone_dust' + - '349 - Raw Fish = fish' + - '349:1 - Raw Salmon = fish' + - '349:2 - Clownfish = fish' + - '349:3 - Pufferfish = fish' + - '350 - Cooked Fish = cooked_fish' + - '350:1 - Cooked Salmon = cooked_fish' + - '351 - All Dyes = dye' + - '351:0 - Ink Sack = dye' + - '351:1 - Rose Red = dye' + - '351:2 - Cactus Green = dye' + - '351:3 - Coco Beans = dye' + - '351:4 - Lapis Lazuli = dye' + - '351:5 - Purple Dye = dye' + - '351:6 - Cyan Dye = dye' + - '351:7 - Light Gray Dye = dye' + - '351:8 - Gray Dye = dye' + - '351:9 - Pink Dye = dye' + - '351:10 - Lime Dye = dye' + - '351:11 - Dandelion Yellow = dye' + - '351:12 - Light Blue Dye = dye' + - '351:13 - Magenta Dye = dye' + - '351:14 - Orange Dye = dye' + - '351:15 - Bone Meal = dye' + - '352 - Bone = bone' + - '353 - Sugar = sugar' + - '354 - Cake = cake' + - '355 - Bed = bed' + - '356 - Redstone Repeater = repeater' + - '357 - Cookie = cookie' + - '358 - Map = filled_map' + - '359 - Shears = shears' + - '360 - Melon = melon' + - '361 - Pumpkin Seeds = pumpkin_seeds' + - '362 - Melon Seeds = melon_seeds' + - '363 - Raw Beef = beef' + - '364 - Steak = cooked_beef' + - '365 - Raw Chicken = chicken' + - '366 - Cooked Chicken = cooked_chicken' + - '367 - Rotten Flesh = rotten_flesh' + - '368 - Ender Pearl = ender_pearl' + - '369 - Blaze Rod = blaze_rod' + - '370 - Ghast Tear = ghast_tear' + - '371 - Gold Nugget = gold_nugget' + - '372 - Nether Wart = nether_wart' + - '373 - Potion = potion' + - '374 - Glass Bottle = glass_bottle' + - '375 - Spider Eye = spider_eye' + - '376 - Fermented Spider Eye = fermented_spider_eye' + - '377 - Blaze Powder = blaze_powder' + - '378 - Magma Cream = magma_cream' + - '379 - Brewing Stand = brewing_stand' + - '380 - Cauldron = cauldron' + - '381 - Eye of Ender = ender_eye' + - '382 - Glistering Melon = speckled_melon' + - '383:50 - Spawn Creeper = spawn_egg' + - '383:51 - Spawn Skeleton = spawn_egg' + - '383:52 - Spawn Spider = spawn_egg' + - '383:54 - Spawn Zombie = spawn_egg' + - '383:55 - Spawn Slime = spawn_egg' + - '383:56 - Spawn Ghast = spawn_egg' + - '383:57 - Spawn Pigman = spawn_egg' + - '383:58 - Spawn Enderman = spawn_egg' + - '383:59 - Spawn Cave Spider = spawn_egg' + - '383:60 - Spawn Silverfish = spawn_egg' + - '383:61 - Spawn Blaze = spawn_egg' + - '383:62 - Spawn Magma Cube = spawn_egg' + - '383:65 - Spawn Bat = spawn_egg' + - '383:66 - Spawn Witch = spawn_egg' + - '383:67 - Spawn Endermite = spawn_egg' + - '383:68 - Spawn Guardian = spawn_egg' + - '383:90 - Spawn Pig = spawn_egg' + - '383:91 - Spawn Sheep = spawn_egg' + - '383:92 - Spawn Cow = spawn_egg' + - '383:93 - Spawn Chicken = spawn_egg' + - '383:94 - Spawn Squid = spawn_egg' + - '383:95 - Spawn Wolf = spawn_egg' + - '383:96 - Spawn Mooshroom = spawn_egg' + - '383:98 - Spawn Ocelot = spawn_egg' + - '383:100 - Spawn Horse = spawn_egg' + - '383:101 - Spawn Rabbit = spawn_egg' + - '383:120 - Spawn Villager = spawn_egg' + - '384 - Bottle o'' Enchanting = experience_bottle' + - '385 - Fire Charge = fire_charge' + - '386 - Book and Quill = writable_book' + - '387 - Written Book = written_book' + - '388 - Emerald = emerald' + - '389 - Item Frame = item_frame' + - '390 - Flower Pot = flower_pot' + - '391 - Carrot = carrot' + - '392 - Potato = potato' + - '393 - Baked Potato = baked_potato' + - '394 - Poisonous Potato = poisonous_potato' + - '395 - Empty Map = map' + - '396 - Golden Carrot = golden_carrot' + - '397 - Mob Head (Skeleton) = skull' + - '397:1 - Mob Head (Wither Skeleton) = skull' + - '397:2 - Mob Head (Zombie) = skull' + - '397:3 - Mob Head (Human) = skull' + - '397:4 - Mob Head (Creeper) = skull' + - '398 - Carrot on a Stick = carrot_on_a_stick' + - '399 - Nether Star = nether_star' + - '400 - Pumpkin Pie = pumpkin_pie' + - '401 - Firework Rocket = fireworks' + - '402 - Firework Star = firework_charge' + - '403 - Enchanted Book = enchanted_book' + - '404 - Redstone Comparator = comparator' + - '405 - Nether Brick = netherbrick' + - '406 - Nether Quartz = quartz' + - '407 - Minecart with TNT = tnt_minecart' + - '408 - Minecart with Hopper = hopper_minecart' + - '409 - Prismarine Shard = prismarine_shard' + - '410 - Prismarine Crystals = prismarine_crystals' + - '411 - Raw Rabbit = rabbit' + - '412 - Cooked Rabbit = cooked_rabbit' + - '413 - Rabbit Stew = rabbit_stew' + - '414 - Rabbit''s Foot = rabbit_foot' + - '415 - Rabbit Hide = rabbit_hide' + - '416 - Armor Stand = armor_stand' + - '417 - Iron Horse Armor = iron_horse_armor' + - '418 - Golden Horse Armor = golden_horse_armor' + - '419 - Diamond Horse Armor = diamond_horse_armor' + - '420 - Lead = lead' + - '421 - Name Tag = name_tag' + - '422 - Minecart with Command Block = command_block_minecart' + - '423 - Raw Mutton = mutton' + - '424 - Cooked Mutton = cooked_mutton' + - '425 - Banner = banner' + - '427 - Spruce Door = spruce_door' + - '428 - Birch Door = birch_door' + - '429 - Jungle Door = jungle_door' + - '430 - Acacia Door = acacia_door' + - '431 - Dark Oak Door = dark_oak_door' + - '2256 - 13 Disc = record_13' + - '2257 - Cat Disc = record_cat' + - '2258 - Blocks Disc = record_blocks' + - '2259 - Chirp Disc = record_chirp' + - '2260 - Far Disc = record_far' + - '2261 - Mall Disc = record_mall' + - '2262 - Mellohi Disc = record_mellohi' + - '2263 - Stal Disc = record_stal' + - '2264 - Strad Disc = record_strad' + - '2265 - Ward Disc = record_ward' + - '2266 - 11 Disc = record_11' + - '2267 - Wait Disc = record_wait' +EntityList: + - '50 - Creeper = Creeper' + - '51 - Skeleton = Skeleton' + - '51:1 - WitherSkeleton = Skeleton' + - '52 - Spider = Spider' + - '53 - Giant = Giant' + - '54 - Zombie = Zombie' + - '54:1 - Zombie Villager = Zombie' + - '55 - Slime = Slime' + - '56 - Ghast = Ghast' + - '57 - Zombie Pigman = PigZombie' + - '58 - Enderman = Enderman' + - '59 - Cave Spider = CaveSpider' + - '60 - Silverfish = Silverfish' + - '61 - Blaze = Blaze' + - '62 - LavaSlime = LavaSlime' + - '63 - EnderDragon = EnderDragon' + - '64 - Wither = WitherBoss' + - '65 - Bat = Bat' + - '66 - Witch = Witch' + - '67 - Endermite = Endermite' + - '68 - Guardian = Guardian' + - '68:1 - Elder Guardian = Guardian' + - '90 - Pig = Pig' + - '91 - Sheep = Sheep' + - '92 - Cow = Cow' + - '93 - Chicken = Chicken' + - '94 - Squid = Squid' + - '95 - Wolf = Wolf' + - '96 - MushroomCow = MushroomCow' + - '97 - Snow Golem = SnowMan' + - '98 - Ocelot = Ozelot' + - '99 - Iron Golem = VillagerGolem' + - '100 - Horse = EntityHorse' + - '101 - Rabbit = Rabbit' + - '120 - Villager = Villager' +EnchantList: + - '0 - Protection = PROTECTION_ENVIRONMENTAL' + - '1 - Fire Protection = PROTECTION_FIRE' + - '2 - Feather Falling = PROTECTION_FALL' + - '3 - Blast Protection = PROTECTION_EXPLOSIONS' + - '4 - Projectile Protection = ROTECTION_PROJECTILE' + - '5 - Respiration = OXYGEN' + - '6 - Aqua Affinity = DIG_SPEED' + - '7 - Thorns = THORNS' + - '8 - Depth Strider = DEPTH_STRIDER' + - '16 - Sharpness = DAMAGE_ALL' + - '17 - Smite = DAMAGE_UNDEAD' + - '18 - Bane of Arthropods = DAMAGE_ARTHROPODS' + - '19 - Knockback = KNOCKBACK' + - '20 - Fire Aspect = FIRE_ASPECT' + - '21 - Looting = LOOT_BONUS_MOBS' + - '32 - Efficiency = DIG_SPEED' + - '33 - Silk Touch = SILK_TOUCH' + - '34 - Unbreaking = DURABILITY' + - '35 - Fortune = LOOT_BONUS_BLOCKS' + - '48 - Power = ARROW_DAMAGE' + - '49 - Punch = ARROW_KNOCKBACK' + - '50 - Flame = ARROW_FIRE' + - '51 - Infinity = ARROW_INFINITE' + - '61 - Luck of the Sea = LUCK' + - '62 - Lure = LURE' +ColorList: + - '0 - &fWhite = white' + - '1 - &6Orange = orange' + - '2 - &dMagenta = magenta' + - '3 - %9Light blue = lightBlue' + - '4 - &eYellow = yellow' + - '5 - &aLime = lime' + - '6 - &dPink = pink' + - '7 - &8Gray = gray' + - '8 - &7Light gray = silver' + - '9 - &3Cyan = cyan' + - '10 - &5Purple = purple' + - '11 - &1Blue = blue' + - '12 - &4Brown = brown' + - '13 - &2Green = green' + - '14 - &cRed = red' - '15 - &0Black = black' \ No newline at end of file diff --git a/com/gamingmesh/jobs/JobsPlugin.java b/com/gamingmesh/jobs/JobsPlugin.java index 7f977200..668adb72 100644 --- a/com/gamingmesh/jobs/JobsPlugin.java +++ b/com/gamingmesh/jobs/JobsPlugin.java @@ -135,7 +135,7 @@ public class JobsPlugin extends JavaPlugin { if (McMMOlistener.CheckmcMMO()) getServer().getPluginManager().registerEvents(new McMMOlistener(this), this); - if (MythicMobsListener.Check()) + if (MythicMobsListener.Check() && ConfigManager.getJobsConfiguration().MythicMobsEnabled) getServer().getPluginManager().registerEvents(new MythicMobsListener(this), this); if (ConfigManager.getJobsConfiguration().useBlockProtection) diff --git a/com/gamingmesh/jobs/config/JobConfig.java b/com/gamingmesh/jobs/config/JobConfig.java index 95cc8c77..1cb4d55a 100644 --- a/com/gamingmesh/jobs/config/JobConfig.java +++ b/com/gamingmesh/jobs/config/JobConfig.java @@ -105,6 +105,11 @@ public class JobConfig { // jobsSection = conf.createSection("Jobs"); //} for (String jobKey : jobsSection.getKeys(false)) { + + // Ignoring example job + if (jobKey.equalsIgnoreCase("exampleJob")) + continue; + ConfigurationSection jobSection = jobsSection.getConfigurationSection(jobKey); String jobName = jobSection.getString("fullname"); diff --git a/com/gamingmesh/jobs/config/JobsConfiguration.java b/com/gamingmesh/jobs/config/JobsConfiguration.java index f2d699f1..dffc0661 100644 --- a/com/gamingmesh/jobs/config/JobsConfiguration.java +++ b/com/gamingmesh/jobs/config/JobsConfiguration.java @@ -74,6 +74,7 @@ public class JobsConfiguration { protected int economyBatchDelay; protected boolean saveOnDisconnect; public boolean LocalOfflinePlayersData; + public boolean MythicMobsEnabled; public boolean LoggingUse; public boolean EconomyLimitUse, EconomyExpLimitUse, PayForRenaming, PayForEachCraft, SignsEnabled, SignsColorizeJobName, ShowToplistInScoreboard, useGlobalTimer, useCoreProtect, BlockPlaceUse, @@ -654,6 +655,9 @@ public class JobsConfiguration { writer.addComment("ExploitProtections.McMMO.superBreakerMultiplier", "Players will get part of money from braking blocks with super breaker ability enabled.", "0.2 means 20% of original price"); superBreakerMultiplier = getDouble("ExploitProtections.McMMO.superBreakerMultiplier", 0.2, config, writer); + + writer.addComment("ExploitProtections.MythicMobs", "MythicMobs plugin support","Disable if you having issues with it or using old version"); + MythicMobsEnabled = getBoolean("ExploitProtections.MythicMobs.enabled", true, config, writer); writer.addComment("ExploitProtections.Spawner.PreventSlimeSplit", "Prevent slime spliting when they are from spawner", "Protects agains exploiting as new splited slimes is treated as naturaly spawned and not from spawner"); diff --git a/com/gamingmesh/jobs/dao/JobsDAO.java b/com/gamingmesh/jobs/dao/JobsDAO.java index aa0a1a58..edc4d7ee 100644 --- a/com/gamingmesh/jobs/dao/JobsDAO.java +++ b/com/gamingmesh/jobs/dao/JobsDAO.java @@ -46,6 +46,7 @@ import com.gamingmesh.jobs.container.Log; import com.gamingmesh.jobs.container.LogAmounts; import com.gamingmesh.jobs.container.TopList; import com.gamingmesh.jobs.stuff.ChatColor; +import com.gamingmesh.jobs.stuff.Debug; import com.gamingmesh.jobs.stuff.Loging; import com.gamingmesh.jobs.stuff.OfflinePlayerList; import com.gamingmesh.jobs.stuff.TimeManage; @@ -643,7 +644,8 @@ public abstract class JobsDAO { if (conn == null) return; try { - PreparedStatement prest = conn.prepareStatement("UPDATE `" + prefix + "jobs` SET `level` = ?, `experience` = ?, `username` = ? WHERE `player_uuid` = ? AND `job` = ?;"); + PreparedStatement prest = conn.prepareStatement("UPDATE `" + prefix + + "jobs` SET `level` = ?, `experience` = ?, `username` = ? WHERE `player_uuid` = ? AND `job` = ?;"); for (JobProgression progression : player.getJobProgression()) { prest.setInt(1, progression.getLevel()); prest.setInt(2, (int) progression.getExperience()); @@ -748,6 +750,8 @@ public abstract class JobsDAO { if (!Jobs.getExplore().isExploreEnabled()) return; + Debug.D("Starting explorer save"); + JobsConnection conn = getConnection(); if (conn == null) return; @@ -763,6 +767,7 @@ public abstract class JobsDAO { prest.close(); PreparedStatement prest2 = conn.prepareStatement("INSERT INTO `" + prefix + "explore` (`worldname`, `chunkX`, `chunkZ`, `playerName`) VALUES (?, ?, ?, ?);"); + conn.setAutoCommit(false); for (Entry worlds : Jobs.getExplore().getWorlds().entrySet()) { for (ExploreChunk oneChunk : worlds.getValue().getChunks()) { for (String oneuser : oneChunk.getPlayers()) { @@ -770,14 +775,18 @@ public abstract class JobsDAO { prest2.setInt(2, oneChunk.getX()); prest2.setInt(3, oneChunk.getZ()); prest2.setString(4, oneuser); - prest2.execute(); + prest2.addBatch(); } } } + prest2.executeBatch(); + conn.commit(); + conn.setAutoCommit(true); prest2.close(); } catch (SQLException e) { e.printStackTrace(); } + Debug.D("Explorer saved"); } /** diff --git a/com/gamingmesh/jobs/listeners/JobsListener.java b/com/gamingmesh/jobs/listeners/JobsListener.java index 75ba193e..3da08d26 100644 --- a/com/gamingmesh/jobs/listeners/JobsListener.java +++ b/com/gamingmesh/jobs/listeners/JobsListener.java @@ -521,33 +521,12 @@ public class JobsListener implements Listener { String meinOk = null; mein: for (JobProgression one : prog) { - second: for (JobLimitedItems oneItem : one.getJob().getLimitedItems()) { - - if (oneItem.getId() != iih.getTypeId()) + for (JobLimitedItems oneItem : one.getJob().getLimitedItems()) { + if (one.getLevel() >= oneItem.getLevel()) + continue; + if (!isThisItem(oneItem, iih.getTypeId(), name, lore, enchants)) continue; - meinOk = one.getJob().getName(); - - if (oneItem.getName() != null && name != null) - if (!org.bukkit.ChatColor.translateAlternateColorCodes('&', oneItem.getName()).equalsIgnoreCase(name)) - continue; - - if (one.getLevel() < oneItem.getLevel()) - continue; - - for (Entry oneE : enchants.entrySet()) { - if (oneItem.getenchants().containsKey(oneE.getKey())) { - if (oneItem.getenchants().get(oneE.getKey()) < oneE.getValue()) { - continue second; - } - } else - continue second; - } - for (String onelore : oneItem.getLore()) { - if (!lore.contains(onelore)) - continue second; - } - meinOk = null; break mein; } } @@ -558,6 +537,43 @@ public class JobsListener implements Listener { } } + private boolean isThisItem(JobLimitedItems oneItem, int id, String name, List lore, Map enchants) { + + if (oneItem.getId() != id) + return false; + + if (oneItem.getName() != null && name != null) { + if (!org.bukkit.ChatColor.translateAlternateColorCodes('&', oneItem.getName()).equalsIgnoreCase(name)) { + return false; + } + } + + for (String onelore : oneItem.getLore()) { + if (!lore.contains(onelore)) { + return false; + } + } + + boolean foundEnc = false; + for (Entry oneE : enchants.entrySet()) { + if (oneItem.getenchants().containsKey(oneE.getKey())) { + if (oneItem.getenchants().get(oneE.getKey()) <= oneE.getValue()) { + foundEnc = true; + break; + } else { + continue; + } + } else { + continue; + } + } + + if (!foundEnc) + return false; + + return true; + } + @EventHandler public void onChunkChangeMove(PlayerMoveEvent event) { diff --git a/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index 5f21272f..cb7ea096 100644 --- a/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -870,7 +870,7 @@ public class JobsPaymentListener implements Listener { if (lVictim.getKiller().hasMetadata("NPC")) return; - if (MythicMobsListener.Present) { + if (ConfigManager.getJobsConfiguration().MythicMobsEnabled && MythicMobsListener.Present) { if (JobsPlugin.MMAPI.getMobAPI().isMythicMob(lVictim)) return; } diff --git a/com/gamingmesh/jobs/stuff/Debug.java b/com/gamingmesh/jobs/stuff/Debug.java index 7766bd47..2dbf8bb5 100644 --- a/com/gamingmesh/jobs/stuff/Debug.java +++ b/com/gamingmesh/jobs/stuff/Debug.java @@ -9,7 +9,7 @@ public class Debug { Player player = Bukkit.getPlayer("Zrips"); if (player == null) return; - player.sendMessage(ChatColor.DARK_GRAY + "[Debug] " + ChatColor.DARK_AQUA + ChatColor.translateAlternateColorCodes('&', message)); + player.sendMessage(ChatColor.DARK_GRAY + "[Jobs Debug] " + ChatColor.DARK_AQUA + ChatColor.translateAlternateColorCodes('&', message)); return; } } diff --git a/jobConfig.yml b/jobConfig.yml index 2e33a787..d9abd53a 100644 --- a/jobConfig.yml +++ b/jobConfig.yml @@ -11,8 +11,8 @@ # they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience. Jobs: - # must be one word - Woodcutter: + # must be one word. This job will be ignored as this is just example of all posible actions + exampleJob: # full name of the job (displayed when browsing a job, used when joining and leaving) # also can be used as a prefix for the user's name if the option is enabled. # Shown as a prefix only when the user has 1 job. @@ -29,13 +29,13 @@ Jobs: # options are: full, title, job, shortfull, shorttitle, shortjob and none chat-display: full # [OPTIONAL] - the maximum level of this class - #max-level: 10 + max-level: 10 # [OPTIONAL] - the maximum level of this class with specific permission # use jobs.[jobsname].vipmaxlevel - #vip-max-level: 20 + vip-max-level: 20 # [OPTIONAL] - the maximum number of users on the server that can have this job at # any one time (includes offline players). - #slots: 1 + slots: 1 # Equation used for calculating how much experience is needed to go to the next level. # Available parameters: # numjobs - the number of jobs the player has @@ -427,6 +427,64 @@ Jobs: cmd-on-leave: - 'msg [name] You have left this awesome [jobname] job' - 'msg [name] See you soon!' +# from this point you can edit jobs by your liking, rename, remove or add new ones + Woodcutter: + fullname: Woodcutter + shortname: W + description: Earns money felling and planting trees + ChatColour: GREEN + chat-display: full + leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1)) + income-progression-equation: baseincome*((1.05)^(joblevel-1)) + experience-progression-equation: baseexperience*((1.05)^(joblevel-1)) + Gui: + Id: 17 + Data: 2 + Break: + 17-0: + income: 2.5 + experience: 2.5 + 17-1: + income: 2.0 + experience: 2.0 + 17-2: + income: 2.5 + experience: 2.5 + 17-3: + income: 2.5 + experience: 2.5 + 18-0: + income: 0.5 + experience: 0.5 + 18-1: + income: 0.5 + experience: 0.5 + 18-2: + income: 0.5 + experience: 0.5 + 18-3: + income: 0.5 + experience: 0.5 + 161-0: + income: 0.5 + experience: 0.5 + 161-1: + income: 0.5 + experience: 0.5 + 162-0: + income: 2.5 + experience: 2.5 + 162-1: + income: 2.5 + experience: 2.5 + Kill: + Player: + income: 7.5 + experience: 7.5 + custom-kill: + Woodcutter: + income: 10.0 + experience: 10.0 Miner: fullname: Miner shortname: M diff --git a/plugin.yml b/plugin.yml index 958c18bd..ce879550 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,7 +1,7 @@ name: Jobs description: Jobs Plugin for the BukkitAPI main: com.gamingmesh.jobs.JobsPlugin -version: 2.61.0 +version: 2.62.0 author: phrstbrn softdepend: [Vault, CoreProtect, MythicMobs, McMMO] commands: