diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index 807dc0cf..a8841f78 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -397,6 +397,19 @@ public class ConfigManager { private boolean migrateJobs() { YamlConfiguration oldConf = getJobConfig(); if (oldConf == null) { + if (jobsPathFolder.exists()) { + return false; + } + + jobsPathFolder.mkdirs(); + + try { + for (String f : Util.getFilesFromPackage("jobs", "", "yml")) { + Jobs.getInstance().saveResource("jobs/" + f + ".yml", false); + } + } catch (Exception c) { + } + return false; } @@ -1110,7 +1123,7 @@ public class ConfigManager { if (jobKey.equalsIgnoreCase("none")) Jobs.setNoneJob(job); - else if (getJobConfig().getBoolean("migratedToNewFile")) { + else if (getJobConfig() == null || getJobConfig().getBoolean("migratedToNewFile")) { return job; } } diff --git a/src/main/java/com/gamingmesh/jobs/stuff/Util.java b/src/main/java/com/gamingmesh/jobs/stuff/Util.java index a8e4d039..cedd3982 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/Util.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/Util.java @@ -233,7 +233,7 @@ public class Util { if (name.contains("$")) name = name.split("\\$")[0]; - if (cleaner != null) + if (cleaner != null && !cleaner.isEmpty()) name = name.replace(cleaner, ""); listOfCommands.add(name); diff --git a/src/main/resources/jobs/brewer.yml b/src/main/resources/jobs/brewer.yml new file mode 100644 index 00000000..913ffc41 --- /dev/null +++ b/src/main/resources/jobs/brewer.yml @@ -0,0 +1,100 @@ +Brewer: + fullname: Brewer + shortname: Br + description: Earns money brewing potions. + ChatColour: LIGHT_PURPLE + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Heavy drinker + Objectives: + - Brew;glowstone_dust;2 + - Brew;redstone;2 + - Brew;sugar;2 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Brew some stuff and get money + - Get 100 for this! + Gui: + Id: 379 + Data: 0 + Brew: + nether_wart: + income: 6.0 + points: 6.0 + experience: 6.0 + redstone: + income: 6.0 + points: 6.0 + experience: 6.0 + glowstone_dust: + income: 8.0 + points: 8.0 + experience: 8.0 + fermented_spider_eye: + income: 12.0 + points: 12.0 + experience: 12.0 + gunpowder: + income: 6.0 + points: 6.0 + experience: 6.0 + dragon_breath: + income: 25.0 + points: 25.0 + experience: 25.0 + sugar: + income: 7.0 + points: 7.0 + experience: 7.0 + rabbit_foot: + income: 18.0 + points: 18.0 + experience: 18.0 + glistering_melon_slice: + income: 10.0 + points: 10.0 + experience: 10.0 + spider_eye: + income: 9.0 + points: 9.0 + experience: 9.0 + pufferfish: + income: 14.0 + points: 14.0 + experience: 14.0 + magma_cream: + income: 12.0 + points: 12.0 + experience: 12.0 + golden_carrot: + income: 14.0 + points: 14.0 + experience: 14.0 + blaze_powder: + income: 12.0 + points: 12.0 + experience: 12.0 + ghast_tear: + income: 22.0 + points: 22.0 + experience: 22.0 + turtle_helmet: + income: 12.0 + points: 12.0 + experience: 12.0 + phantom_membrane: + income: 12.0 + points: 12.0 + experience: 12.0 diff --git a/src/main/resources/jobs/builder.yml b/src/main/resources/jobs/builder.yml new file mode 100644 index 00000000..b74c1f91 --- /dev/null +++ b/src/main/resources/jobs/builder.yml @@ -0,0 +1,704 @@ +Builder: + fullname: Builder + shortname: B + description: Earns money for building structures. + ChatColour: WHITE + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Architect + Objectives: + - Place;spruce_planks;50 + - Place;birch_planks;50 + - Place;wool;50 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Place blocks and get money + - Get 100 for this! + Gui: + Item: brick_stairs + Place: + stone: + income: 1.3 + points: 1.3 + experience: 2 + andesite: + income: 1.3 + points: 1.3 + experience: 2 + granite: + income: 1.3 + points: 1.3 + experience: 2 + diorite: + income: 1.3 + points: 1.3 + experience: 2 + cobblestone: + income: 0.7 + points: 0.7 + experience: 2 + oak_planks: + income: 1.5 + points: 1.5 + experience: 2 + spruce_planks: + income: 1.5 + points: 1.5 + experience: 2 + birch_planks: + income: 1.5 + points: 1.5 + experience: 2 + jungle_planks: + income: 1.5 + points: 1.5 + experience: 2 + acacia_planks: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_planks: + income: 1.5 + points: 1.5 + experience: 2 + wool: + income: 1.5 + points: 1.5 + experience: 2 + gold_block: + income: 1.5 + points: 1.5 + experience: 2 + iron_block: + income: 1.5 + points: 1.5 + experience: 2 + oak_slab: + income: 0.8 + points: 0.8 + experience: 2 + spruce_slab: + income: 0.8 + points: 0.8 + experience: 2 + birch_slab: + income: 0.8 + points: 0.8 + experience: 2 + jungle_slab: + income: 0.8 + points: 0.8 + experience: 2 + acacia_slab: + income: 0.8 + points: 0.8 + experience: 2 + dark_oak_slab: + income: 0.8 + points: 0.8 + experience: 2 + stone_slab: + income: 0.8 + points: 0.8 + experience: 2 + sandstone_slab: + income: 0.8 + points: 0.8 + experience: 2 + petrified_oak_slab: + income: 0.8 + points: 0.8 + experience: 2 + cobblestone_slab: + income: 0.8 + points: 0.8 + experience: 2 + brick_slab: + income: 0.8 + points: 0.8 + experience: 2 + stone_brick_slab: + income: 0.8 + points: 0.8 + experience: 2 + nether_brick_slab: + income: 0.8 + points: 0.8 + experience: 2 + quartz_slab: + income: 0.8 + points: 0.8 + experience: 2 + red_sandstone_slab: + income: 0.8 + points: 0.8 + experience: 2 + purpur_slab: + income: 0.8 + points: 0.8 + experience: 2 + bricks: + income: 1.5 + points: 1.5 + experience: 2 + bookshelf: + income: 1.5 + points: 1.5 + experience: 2 + mossy_cobblestone: + income: 1.5 + points: 1.5 + experience: 2 + obsidian: + income: 1.5 + points: 1.5 + experience: 2 + cobblestone_stairs: + income: 1.5 + points: 1.5 + experience: 2 + acacia_stairs: + income: 1.5 + points: 1.5 + experience: 2 + birch_stairs: + income: 1.5 + points: 1.5 + experience: 2 + brick_stairs: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_stairs: + income: 1.5 + points: 1.5 + experience: 2 + dark_prismarine_stairs: + income: 1.5 + points: 1.5 + experience: 2 + jungle_stairs: + income: 1.5 + points: 1.5 + experience: 2 + oak_stairs: + income: 1.5 + points: 1.5 + experience: 2 + prismarine_brick_stairs: + income: 1.5 + points: 1.5 + experience: 2 + prismarine_stairs: + income: 1.5 + points: 1.5 + experience: 2 + purpur_stairs: + income: 1.5 + points: 1.5 + experience: 2 + quartz_stairs: + income: 1.5 + points: 1.5 + experience: 2 + red_sandstone_stairs: + income: 1.5 + points: 1.5 + experience: 2 + sandstone_stairs: + income: 1.5 + points: 1.5 + experience: 2 + spruce_stairs: + income: 1.5 + points: 1.5 + experience: 2 + stone_brick_stairs: + income: 1.5 + points: 1.5 + experience: 2 + chest: + income: 1.5 + points: 1.5 + experience: 2 + diamond_block: + income: 1.5 + points: 1.5 + experience: 2 + crafting_table: + income: 1.5 + points: 1.5 + experience: 2 + furnace: + income: 1.5 + points: 1.5 + experience: 2 + ladder: + income: 1.5 + points: 1.5 + experience: 2 + ice: + income: 1.5 + points: 1.5 + experience: 2 + snow_block: + income: 1.0 + points: 1.0 + experience: 2 + jukebox: + income: 1.0 + points: 1.0 + experience: 2 + oak_fence: + income: 1.5 + points: 1.5 + experience: 2 + spruce_fence: + income: 1.5 + points: 1.5 + experience: 2 + birch_fence: + income: 1.5 + points: 1.5 + experience: 2 + jungle_fence: + income: 1.5 + points: 1.5 + experience: 2 + acacia_fence: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_fence: + income: 1.5 + points: 1.5 + experience: 2 + oak_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + spruce_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + birch_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + jungle_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + acacia_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_fence_gate: + income: 1.5 + points: 1.5 + experience: 2 + glowstone: + income: 1.5 + points: 1.5 + experience: 2 + glass: + income: 1.5 + points: 1.5 + experience: 2 + white_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + orange_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + magenta_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + light_blue_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + yellow_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + lime_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + pink_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + gray_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + light_gray_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + cyan_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + purple_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + blue_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + brown_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + green_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + red_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + black_stained_glass: + income: 1.5 + points: 1.5 + experience: 2 + iron_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + oak_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + spruce_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + birch_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + jungle_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + acacia_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_trapdoor: + income: 1.5 + points: 1.5 + experience: 2 + stone_bricks: + income: 1.5 + points: 1.5 + experience: 2 + mossy_stone_bricks: + income: 1.5 + points: 1.5 + experience: 2 + cracked_stone_bricks: + income: 1.5 + points: 1.5 + experience: 2 + chiseled_stone_bricks: + income: 1.5 + points: 1.5 + experience: 2 + iron_bars: + income: 1.5 + points: 1.5 + experience: 2 + glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + white_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + orange_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + magenta_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + light_blue_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + yellow_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + lime_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + pink_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + gray_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + light_gray_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + cyan_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + purple_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + blue_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + brown_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + green_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + red_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + black_stained_glass_pane: + income: 1.5 + points: 1.5 + experience: 2 + nether_bricks: + income: 1.5 + points: 1.5 + experience: 2 + nether_brick_fence: + income: 1.5 + points: 1.5 + experience: 2 + nether_brick_stairs: + income: 1.5 + points: 1.5 + experience: 2 + enchanting_table: + income: 1.5 + points: 1.5 + experience: 2 + end_portal_frame: + income: 1.5 + points: 1.5 + experience: 2 + redstone_lamp: + income: 1.0 + points: 1.0 + experience: 2 + ender_chest: + income: 1.5 + points: 1.5 + experience: 2 + emerald_block: + income: 1.5 + points: 1.5 + experience: 2 + cobblestone_wall: + income: 1.5 + points: 1.5 + experience: 2 + mossy_cobblestone_wall: + income: 1.5 + points: 1.5 + experience: 2 + trapped_chest: + income: 1.5 + points: 1.5 + experience: 2 + redstone_block: + income: 1.5 + points: 1.5 + experience: 2 + hopper: + income: 1.5 + points: 1.5 + experience: 2 + quartz_block: + income: 1.5 + points: 1.5 + experience: 2 + smooth_quartz: + income: 1.5 + points: 1.5 + experience: 2 + quartz_pillar: + income: 1.5 + points: 1.5 + experience: 2 + chiseled_quartz_block: + income: 1.5 + points: 1.5 + experience: 2 + terracotta: + income: 1.5 + points: 1.5 + experience: 2 + white_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + orange_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + magenta_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + light_blue_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + yellow_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + lime_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + pink_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + gray_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + light_gray_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + cyan_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + purple_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + blue_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + brown_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + green_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + red_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + black_terracotta: + income: 1.5 + points: 1.5 + experience: 2 + oak_leaves: + income: 1.5 + points: 1.5 + experience: 2 + spruce_leaves: + income: 1.5 + points: 1.5 + experience: 2 + birch_leaves: + income: 1.5 + points: 1.5 + experience: 2 + jungle_leaves: + income: 1.5 + points: 1.5 + experience: 2 + acacia_leaves: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_leaves: + income: 1.5 + points: 1.5 + experience: 2 + prismarine: + income: 1.3 + points: 1.3 + experience: 1.9 + prismarine_bricks: + income: 1.3 + points: 1.3 + experience: 1.9 + dark_prismarine: + income: 1.3 + points: 1.3 + experience: 1.9 + sea_lantern: + income: 1.5 + points: 1.5 + experience: 2 + hay_block: + income: 1.5 + points: 1.5 + experience: 2 + coal_block: + income: 1.5 + points: 1.5 + experience: 2 + packed_ice: + income: 1.5 + points: 1.5 + experience: 2 + red_sandstone: + income: 1.5 + points: 1.5 + experience: 2 + chiseled_red_sandstone: + income: 1.5 + points: 1.5 + experience: 2 + cut_red_sandstone: + income: 1.5 + points: 1.5 + experience: 2 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/crafter.yml b/src/main/resources/jobs/crafter.yml new file mode 100644 index 00000000..9abd962f --- /dev/null +++ b/src/main/resources/jobs/crafter.yml @@ -0,0 +1,489 @@ +Crafter: + fullname: Crafter + shortname: Cr + description: Earns money from crafting items. + ChatColour: RED + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Master Crafter + Objectives: + - Craft;dispenser;10 + - Craft;chest;10 + - Craft;ladder;30 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Craft and get money + - Get 100 for this! + Gui: + Item: crafting_table + Craft: + stick: + income: 0.1 + points: 0.1 + experience: 0.1 + dispenser: + income: 4.0 + points: 4.0 + experience: 4.0 + note_block: + income: 1.5 + points: 1.5 + experience: 3.0 + powered_rail: + income: 5.0 + points: 5 + experience: 5.0 + detector_rail: + income: 5.0 + points: 4.0 + experience: 5.0 + sticky_piston: + income: 3.0 + points: 3.0 + experience: 3.0 + tnt: + income: 4.0 + points: 4.0 + experience: 4.0 + chest: + income: 1.3 + points: 1.3 + experience: 1.3 + crafting_table: + income: 0.7 + points: 0.7 + experience: 1.0 + furnace: + income: 1.0 + points: 1.0 + experience: 1.0 + ladder: + income: 0.1 + points: 0.1 + experience: 0.1 + rail: + income: 1.1 + points: 1.0 + experience: 1.1 + jukebox: + income: 10.0 + points: 10.0 + experience: 20.0 + white_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + orange_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + magenta_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + light_blue_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + yellow_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + lime_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + pink_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + gray_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + light_gray_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + cyan_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + purple_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + blue_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + brown_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + green_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + red_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + black_stained_glass: + income: 0.3 + points: 0.3 + experience: 0.3 + cobblestone_stairs: + income: 2.5 + points: 2.5 + experience: 3 + acacia_stairs: + income: 2.5 + points: 2.5 + experience: 3 + birch_stairs: + income: 2.5 + points: 2.5 + experience: 3 + brick_stairs: + income: 2.5 + points: 2.5 + experience: 3 + dark_oak_stairs: + income: 2.5 + points: 2.5 + experience: 3 + dark_prismarine_stairs: + income: 2.5 + points: 2.5 + experience: 3 + jungle_stairs: + income: 2.5 + points: 2.5 + experience: 3 + nether_brick_stairs: + income: 2.5 + points: 2.5 + experience: 3 + oak_stairs: + income: 2.5 + points: 2.5 + experience: 3 + prismarine_brick_stairs: + income: 2.5 + points: 2.5 + experience: 3 + prismarine_stairs: + income: 2.5 + points: 2.5 + experience: 3 + purpur_stairs: + income: 2.5 + points: 2.5 + experience: 3 + quartz_stairs: + income: 2.5 + points: 2.5 + experience: 3 + red_sandstone_stairs: + income: 2.5 + points: 2.5 + experience: 3 + sandstone_stairs: + income: 2.5 + points: 2.5 + experience: 3 + spruce_stairs: + income: 2.5 + points: 2.5 + experience: 3 + stone_brick_stairs: + income: 2.5 + points: 2.5 + experience: 3 + enchanting_table: + income: 30.0 + points: 30.0 + experience: 40.0 + beacon: + income: 100.0 + points: 100.0 + experience: 300.0 + anvil: + income: 20.0 + points: 20.0 + experience: 25.0 + trapped_chest: + income: 1.5 + points: 1.5 + experience: 1.5 + stone_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + oak_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + spruce_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + birch_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + jungle_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + acacia_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + dark_oak_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + light_weighted_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + heavy_weighted_pressure_plate: + income: 3.0 + points: 3.0 + experience: 3.0 + daylight_detector: + income: 2.5 + points: 2.5 + experience: 2.5 + hopper: + income: 7.0 + points: 7.0 + experience: 7.0 + activator_rail: + income: 4.0 + points: 4.0 + experience: 4.0 + dropper: + income: 2.0 + points: 2.0 + experience: 3.0 + terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + white_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + orange_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + magenta_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + light_blue_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + yellow_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + lime_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + pink_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + gray_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + light_gray_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + cyan_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + purple_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + blue_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + brown_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + green_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + red_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + black_terracotta: + income: 1.5 + points: 1.5 + experience: 1.5 + glass: + income: 0.2 + points: 0.2 + experience: 0.2 + slime_block: + income: 1.0 + points: 1.0 + experience: 1.0 + prismarine: + income: 3.0 + points: 3.0 + experience: 3.0 + prismarine_bricks: + income: 3.0 + points: 3.0 + experience: 3.0 + dark_prismarine: + income: 3.0 + points: 3.0 + experience: 3.0 + sea_lantern: + income: 10.0 + points: 10.0 + experience: 10.0 + oak_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + spruce_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + birch_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + jungle_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + acacia_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + dark_oak_fence_gate: + income: 0.5 + points: 0.5 + experience: 0.5 + oak_fence: + income: 1.5 + points: 1.5 + experience: 2 + spruce_fence: + income: 1.5 + points: 1.5 + experience: 2 + birch_fence: + income: 1.5 + points: 1.5 + experience: 2 + jungle_fence: + income: 1.5 + points: 1.5 + experience: 2 + acacia_fence: + income: 1.5 + points: 1.5 + experience: 2 + dark_oak_fence: + income: 1.5 + points: 1.5 + experience: 2 + oak_door: + income: 0.5 + points: 0.5 + experience: 0.5 + spruce_door: + income: 0.5 + points: 0.5 + experience: 0.5 + birch_door: + income: 0.5 + points: 0.5 + experience: 0.5 + jungle_door: + income: 0.5 + points: 0.5 + experience: 0.5 + acacia_door: + income: 0.5 + points: 0.5 + experience: 0.5 + dark_oak_door: + income: 0.5 + points: 0.5 + experience: 0.5 + iron_door: + income: 8.0 + points: 8.0 + experience: 8.0 + book: + income: 1.0 + points: 1.0 + experience: 1.0 + compass: + income: 4.0 + points: 4.0 + experience: 7.0 + clock: + income: 7.0 + points: 7.0 + experience: 7.0 + cake: + income: 8.0 + points: 8.0 + experience: 10.0 + bed: + income: 3.0 + points: 3.0 + experience: 3.0 + brewing_stand: + income: 2.8 + points: 2.8 + experience: 3.5 + cauldron: + income: 7.0 + points: 7.0 + experience: 7.0 + Smelt: + cooked_chicken: + income: 3.0 + points: 3.0 + experience: 3.0 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/digger.yml b/src/main/resources/jobs/digger.yml new file mode 100644 index 00000000..1ff3abca --- /dev/null +++ b/src/main/resources/jobs/digger.yml @@ -0,0 +1,70 @@ +Digger: + fullname: Digger + shortname: D + description: Earns money for terraforming the world. + ChatColour: GOLD + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Ground Mole + Objectives: + - Break;dirt;50 + - Break;grass_block;50 + - Break;gravel;50 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Dig blocks and get money + - Get 100 for this! + Gui: + Id: 269 + Data: 0 + Break: + red_sand: + income: 1 + points: 1 + experience: 1 + coarse_dirt: + income: 1 + points: 1 + experience: 1 + dirt: + income: 0.25 + points: 0.25 + experience: 0.25 + grass_block: + income: 0.3 + points: 0.3 + experience: 0.3 + gravel: + income: 1 + points: 1 + experience: 1.0 + sand: + income: 0.4 + points: 0.4 + experience: 0.5 + clay: + income: 1 + points: 1 + experience: 1.0 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 + custom-kill: + Digger: + income: 10.0 + points: 10.0 + experience: 10.0 diff --git a/src/main/resources/jobs/enchanter.yml b/src/main/resources/jobs/enchanter.yml new file mode 100644 index 00000000..c21ddc13 --- /dev/null +++ b/src/main/resources/jobs/enchanter.yml @@ -0,0 +1,132 @@ +Enchanter: + fullname: Enchanter + shortname: E + description: Earns money enchanting weapons. + ChatColour: DARK_BLUE + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Harry the wizard + Objectives: + - Enchant;wood_sword;1 + - Enchant;diamond_sword;1 + - Enchant;ARROW_DAMAGE;1 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Be a wizard and get money + - Get 100 for this! + Gui: + Id: 116 + Data: 0 + Enchant: + wood_sword: + income: 1.5 + points: 1.5 + experience: 3.0 + leather_boots: + income: 1.0 + points: 1.0 + experience: 6.0 + leather_chestplate: + income: 2.0 + points: 2.0 + experience: 6.0 + leather_helmet: + income: 1.0 + points: 1.0 + experience: 6.0 + leather_leggings: + income: 2.0 + points: 2.0 + experience: 6.0 + iron_sword: + income: 3.0 + points: 3.0 + experience: 6.0 + iron_boots: + income: 2.5 + points: 2.5 + experience: 9.0 + iron_chestplate: + income: 4.5 + points: 4.5 + experience: 9.0 + iron_helmet: + income: 2.5 + points: 2.5 + experience: 9.0 + iron_leggings: + income: 4.5 + points: 4.5 + experience: 9.0 + gold_sword: + income: 4.5 + points: 4.5 + experience: 15.0 + gold_boots: + income: 2.5 + points: 2.5 + experience: 15.0 + gold_chestplate: + income: 5.5 + points: 5.5 + experience: 15.0 + gold_helmet: + income: 2.5 + points: 2.5 + experience: 15.0 + gold_leggings: + income: 5.5 + points: 5.5 + experience: 15.0 + diamond_sword: + income: 9.0 + points: 9.0 + experience: 30.0 + diamond_spade: + income: 5.0 + points: 5.0 + experience: 30.0 + diamond_pickaxe: + income: 10.0 + points: 10.0 + experience: 30.0 + diamond_axe: + income: 10.0 + points: 10.0 + experience: 30.0 + diamond_helmet: + income: 6.0 + points: 6.0 + experience: 30.0 + diamond_chestplate: + income: 12.0 + points: 12.0 + experience: 50.0 + diamond_leggings: + income: 12.0 + points: 12.0 + experience: 50.0 + diamond_boots: + income: 6.0 + points: 6.0 + experience: 30.0 + durability-1: + income: 10.0 + points: 10.0 + experience: 10.0 + fire_aspect-2: + income: 20.0 + points: 20.0 + experience: 20.0 diff --git a/src/main/resources/jobs/explorer.yml b/src/main/resources/jobs/explorer.yml new file mode 100644 index 00000000..11312bec --- /dev/null +++ b/src/main/resources/jobs/explorer.yml @@ -0,0 +1,54 @@ +Explorer: + fullname: Explorer + shortname: Ex + description: Earns money from exploring map. + ChatColour: AQUA + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Galileo + Objectives: + - Explore;1;30 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Go on a trip and get money + - Get 100 for this! + Gui: + Id: 301 + Data: 0 + Explore: + '1': + income: 5.0 + points: 5 + experience: 5.0 + '2': + income: 2.5 + points: 2.5 + experience: 2.5 + '3': + income: 1.0 + points: 1.0 + experience: 1.0 + '4': + income: 0.5 + points: 0.5 + experience: 0.5 + '5': + income: 0.1 + points: 0.1 + experience: 0.1 + Kill: + Player: + income: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/farmer.yml b/src/main/resources/jobs/farmer.yml new file mode 100644 index 00000000..1465c314 --- /dev/null +++ b/src/main/resources/jobs/farmer.yml @@ -0,0 +1,329 @@ +Farmer: + fullname: Farmer + shortname: Fa + description: Earns money farming crops. + ChatColour: BLUE + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Regular Joe + Objectives: + - Breed;Sheep;10 + - Shear;White;10 + - Milk;Cow;3 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Be a farmer and get money + - Get 100 for this! + Gui: + Item: wooden_hoe + Tame: + Wolf: + income: 5.0 + points: 5.0 + experience: 5.0 + Horse: + income: 5.0 + points: 5.0 + experience: 5.0 + Parrot: + income: 5.0 + points: 5.0 + experience: 5.0 + Ocelot: + income: 5.0 + points: 5.0 + experience: 5.0 + Llama: + income: 5.0 + points: 5.0 + experience: 5.0 + Breed: + Horse: + income: 4.0 + points: 4.0 + experience: 5.0 + Sheep: + income: 4.0 + points: 4.0 + experience: 5.0 + Cow: + income: 4.0 + points: 4.0 + experience: 5.0 + mushroom_cow: + income: 4.0 + points: 4.0 + experience: 5.0 + Pig: + income: 4.0 + points: 4.0 + experience: 5.0 + Chicken: + income: 4.0 + points: 4.0 + experience: 5.0 + Wolf: + income: 4.0 + points: 4.0 + experience: 5.0 + Ocelot: + income: 4.0 + points: 4.0 + experience: 5.0 + Rabbit: + income: 4.0 + points: 4.0 + experience: 5.0 + Llama: + income: 4.0 + points: 4.0 + experience: 5.0 + Turtle: + income: 4.0 + points: 4.0 + experience: 5.0 + Shear: + Red: + income: 4.0 + points: 4.0 + experience: 5.0 + Orange: + income: 4.0 + points: 4.0 + experience: 5.0 + Yellow: + income: 4.0 + points: 4.0 + experience: 5.0 + Green: + income: 4.0 + points: 4.0 + experience: 5.0 + Blue: + income: 4.0 + points: 4.0 + experience: 5.0 + Light_Blue: + income: 4.0 + points: 4.0 + experience: 5.0 + Magenta: + income: 4.0 + points: 4.0 + experience: 5.0 + Pink: + income: 4.0 + points: 4.0 + experience: 5.0 + White: + income: 4.0 + points: 4.0 + experience: 5.0 + Light_Gray: + income: 4.0 + points: 4.0 + experience: 5.0 + Black: + income: 4.0 + points: 4.0 + experience: 5.0 + Brown: + income: 4.0 + points: 4.0 + experience: 5.0 + Purple: + income: 4.0 + points: 4.0 + experience: 5.0 + Cyan: + income: 4.0 + points: 4.0 + experience: 5.0 + Gray: + income: 4.0 + points: 4.0 + experience: 5.0 + Lime: + income: 4.0 + points: 4.0 + experience: 5.0 + Milk: + Cow: + income: 5.0 + points: 5.0 + experience: 5.0 + Break: + chorus_plant: + income: 1.5 + points: 1.5 + experience: 3.0 + chorus_flower: + income: 1.5 + points: 1.5 + experience: 3.0 + beetroots-3: + income: 1.5 + points: 1.5 + experience: 3.0 + wheat-7: + income: 1.5 + points: 1.5 + experience: 3.0 + carrots-7: + income: 1.0 + points: 1.0 + experience: 1.0 + potatoes-7: + income: 1.0 + points: 1.0 + experience: 1.0 + pumpkin-7: + income: 0.5 + points: 0.5 + experience: 1.0 + sugar_cane: + income: 0.2 + points: 0.2 + experience: 0.2 + cocoa-2: + income: 4 + points: 4 + experience: 4.0 + oak_sapling: + income: 2 + points: 2 + experience: 2.0 + spruce_sapling: + income: 2 + points: 2 + experience: 2.0 + birch_sapling: + income: 2 + points: 2 + experience: 2.0 + jungle_sapling: + income: 2 + points: 2 + experience: 2.0 + acacia_sapling: + income: 2 + points: 2 + experience: 2.0 + dark_oak_sapling: + income: 2 + points: 2 + experience: 2.0 + lily_pad: + income: 2 + points: 2 + experience: 2.0 + dandelion: + income: 2 + points: 2 + experience: 2.0 + poppy: + income: 2 + points: 2 + experience: 2.0 + blue_orchid: + income: 2 + points: 2 + experience: 2.0 + allium: + income: 2 + points: 2 + experience: 2.0 + azure_bluet: + income: 2 + points: 2 + experience: 2.0 + red_tulip: + income: 2 + points: 2 + experience: 2.0 + orange_tulip: + income: 2 + points: 2 + experience: 2.0 + white_tulip: + income: 2 + points: 2 + experience: 2.0 + pink_tulip: + income: 2 + points: 2 + experience: 2.0 + oxeye_daisy: + income: 2 + points: 2 + experience: 2.0 + brown_mushroom: + income: 1 + points: 1 + experience: 1.0 + red_mushroom: + income: 1 + points: 1 + experience: 1.0 + vine: + income: 1 + points: 1 + experience: 1.0 + cactus: + income: 1 + points: 1 + experience: 1.0 + nether_wart: + income: 1 + points: 1 + experience: 1.0 + Place: + wheat: + income: 1 + points: 1 + experience: 1 + potatoes: + income: 1 + points: 1 + experience: 1 + carrots: + income: 1 + points: 1 + experience: 1 + beetroots: + income: 1 + points: 1 + experience: 1 + cocoa: + income: 1 + points: 1 + experience: 1 + sugar_cane: + income: -1 + points: -1 + experience: -1 + pumpkin_stem: + income: 1 + points: 1 + experience: 1 + melon_stem: + income: 1 + points: 1 + experience: 1 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/fisherman.yml b/src/main/resources/jobs/fisherman.yml new file mode 100644 index 00000000..f0ebc113 --- /dev/null +++ b/src/main/resources/jobs/fisherman.yml @@ -0,0 +1,52 @@ +Fisherman: + fullname: Fisherman + shortname: Fi + description: Earns money from fishing. + ChatColour: AQUA + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Catcher + Objectives: + - Fish;cod;2 + - Fish;salmon;2 + - Fish;tropical_fish;2 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Catch fish and get money + - Get 100 for this! + Gui: + Item: fishing_rod + Fish: + cod: + income: 15.0 + points: 15.0 + experience: 15.0 + salmon: + income: 20.0 + points: 20.0 + experience: 25.0 + tropical_fish: + income: 25.0 + points: 25.0 + experience: 25.0 + pufferfish: + income: 25.0 + points: 25.0 + experience: 25.0 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/hunter.yml b/src/main/resources/jobs/hunter.yml new file mode 100644 index 00000000..5984fc09 --- /dev/null +++ b/src/main/resources/jobs/hunter.yml @@ -0,0 +1,157 @@ +Hunter: + fullname: Hunter + shortname: H + description: Earns money killing animals and monsters. + ChatColour: RED + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Predator + Objectives: + - Kill;Wolf;10 + - Kill;Creeper;3 + - Kill;Skeleton;10 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Kill everything what moves and get money + - Get 100 for this! + Gui: + Id: 261 + Data: 0 + Tame: + Wolf: + income: 20.0 + points: 20 + experience: 15.0 + Ocelot: + income: 20.0 + points: 20 + experience: 15.0 + Horse: + income: 20.0 + points: 20 + experience: 15.0 + Kill: + Chicken: + income: 5.0 + points: 5 + experience: 5.0 + Cow: + income: 6.0 + points: 5 + experience: 5.0 + Pig: + income: 5.0 + points: 5 + experience: 5.0 + Sheep: + income: 5.0 + points: 5 + experience: 5.0 + Wolf: + income: 10.0 + points: 10 + experience: 5.0 + Creeper: + income: 15.0 + points: 15 + experience: 15.0 + Skeleton: + income: 10.0 + points: 10 + experience: 15.0 + Spider: + income: 10.0 + points: 10 + experience: 15.0 + Zombie: + income: 10.0 + points: 10 + experience: 15.0 + BLAZE: + income: 20.0 + points: 20 + experience: 15.0 + CAVE_SPIDER: + income: 20.0 + points: 20 + experience: 15.0 + ENDERMAN: + income: 2.0 + points: 2 + experience: 2.0 + GHAST: + income: 30.0 + points: 30 + experience: 30.0 + GIANT: + income: 250.0 + points: 250 + experience: 100.0 + IRON_GOLEM: + income: 30.0 + points: 30 + experience: 30.0 + mushroom_cow: + income: 5.0 + points: 5 + experience: 5.0 + SILVERFISH: + income: 3.0 + points: 3 + experience: 5.0 + SNOWMAN: + income: 2.0 + points: 2 + experience: 4.0 + SQUID: + income: 2.0 + points: 2 + experience: 2.0 + RABBIT: + income: 2.0 + points: 2 + experience: 2.0 + GUARDIAN: + income: 2.0 + points: 2 + experience: 2.0 + SHULKER: + income: 5.0 + points: 5 + experience: 5.0 + PHANTOM: + income: 5.0 + points: 5 + experience: 5.0 + DROWNED: + income: 5.0 + points: 5 + experience: 5.0 + HUSK: + income: 5.0 + points: 5 + experience: 5.0 + WITHER: + income: 50.0 + points: 50 + experience: 120.0 + ENDER_DRAGON: + income: 2000.0 + points: 2000 + experience: 2000.0 + Player: + income: 9.0 + points: 9 + experience: 7.5 diff --git a/src/main/resources/jobs/miner.yml b/src/main/resources/jobs/miner.yml new file mode 100644 index 00000000..1c3259ba --- /dev/null +++ b/src/main/resources/jobs/miner.yml @@ -0,0 +1,175 @@ +Miner: + fullname: Miner + shortname: M + description: Earns money mining minerals and ores. + ChatColour: DARK_GRAY + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: DarkOne + Objectives: + - Break;stone;50 + - Break;granite;50 + - Break;sandstone;50 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Break blocks and get money + - Get 100 for this! + Gui: + Id: 270 + Data: 0 + TNTBreak: + stone: + income: 0.25 + points: 0.25 + experience: 0.5 + granite: + income: 0.25 + points: 0.25 + experience: 0.5 + diorite: + income: 0.25 + points: 0.25 + experience: 0.5 + andesite: + income: 0.25 + points: 0.25 + experience: 0.5 + Break: + andesite: + income: 1 + points: 1 + experience: 1 + stone: + income: 1 + points: 1 + experience: 1 + granite: + income: 1 + points: 1 + experience: 1 + diorite: + income: 1 + points: 1 + experience: 1 + sandstone: + income: 0.15 + points: 0.15 + experience: 0.2 + chiseled_sandstone: + income: 0.15 + points: 0.15 + experience: 0.2 + cut_sandstone: + income: 0.15 + points: 0.15 + experience: 0.2 + coal_ore: + income: 3 + points: 2 + experience: 2 + redstone_ore: + income: 2.5 + points: 2 + experience: 2 + iron_ore: + income: 3.5 + points: 3 + experience: 2 + gold_ore: + income: 5 + points: 4 + experience: 2 + lapis_ore: + income: 7.5 + points: 6 + experience: 2 + diamond_ore: + income: 10 + points: 10 + experience: 10 + emerald_ore: + income: 15 + points: 15 + experience: 30 + nether_quartz_ore: + income: 2.5 + points: 2.5 + experience: 2.5 + obsidian: + income: 5 + points: 5 + experience: 5 + cobblestone_wall: + income: 2.5 + points: 2.5 + experience: 2.5 + mossy_cobblestone_wall: + income: 2.5 + points: 2.5 + experience: 2.5 + nether_bricks: + income: 1.0 + points: 1 + experience: 1.0 + nether_brick_stairs: + income: 3 + points: 3 + experience: 3 + nether_brick_fence: + income: 1 + points: 1 + experience: 1 + netherrack: + income: 0.1 + points: 0.1 + experience: 0.1 + prismarine: + income: 2.5 + points: 2.5 + experience: 2.5 + prismarine_bricks: + income: 2.5 + points: 2.5 + experience: 2.5 + dark_prismarine: + income: 2.5 + points: 2.5 + experience: 2.5 + Place: + rail: + income: 2.0 + points: 2.0 + experience: 2.0 + iron_ore: + income: -5.0 + points: -5 + experience: -5.0 + gold_ore: + income: -6.0 + points: -6 + experience: -6.0 + diamond_ore: + income: -10.0 + points: -10 + experience: -10.0 + emerald_ore: + income: -15 + points: -15 + experience: -30 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 diff --git a/src/main/resources/jobs/none.yml b/src/main/resources/jobs/none.yml new file mode 100644 index 00000000..f32b7dfa --- /dev/null +++ b/src/main/resources/jobs/none.yml @@ -0,0 +1,9 @@ +None: + fullname: None + shortname: N + ChatColour: WHITE + chat-display: none + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) diff --git a/src/main/resources/jobs/weaponsmith.yml b/src/main/resources/jobs/weaponsmith.yml new file mode 100644 index 00000000..3619ac8b --- /dev/null +++ b/src/main/resources/jobs/weaponsmith.yml @@ -0,0 +1,154 @@ +Weaponsmith: + fullname: Weaponsmith + shortname: W + description: Earns money from crafting and repairing weapons. + ChatColour: DARK_PURPLE + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: War never ends + Objectives: + - Craft;wooden_sword;2 + - Craft;iron_chestplate;2 + - Craft;gold_leggings;2 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Craft weapons and get money + - Get 100 for this! + Gui: + Id: 58 + Data: 0 + Craft: + wooden_sword: + income: 1.0 + points: 1.0 + experience: 2.0 + leather_boots: + income: 3.0 + points: 3.0 + experience: 4.0 + leather_chestplate: + income: 4.0 + points: 4.0 + experience: 8.0 + leather_helmet: + income: 2.5 + points: 2.5 + experience: 5.0 + leather_leggings: + income: 3.5 + points: 3.5 + experience: 7.0 + iron_sword: + income: 4.0 + points: 4.0 + experience: 8.0 + iron_boots: + income: 8.0 + points: 8.0 + experience: 16.0 + iron_chestplate: + income: 16.0 + points: 16.0 + experience: 32.0 + iron_helmet: + income: 10.0 + points: 10.0 + experience: 20.0 + iron_leggings: + income: 14.0 + points: 14.0 + experience: 28.0 + gold_sword: + income: 6.0 + points: 6.0 + experience: 12.0 + gold_boots: + income: 12.0 + points: 12.0 + experience: 24.0 + gold_chestplate: + income: 24.0 + points: 24.0 + experience: 48.0 + gold_helmet: + income: 15.0 + points: 15.0 + experience: 30.0 + gold_leggings: + income: 21.0 + points: 21.0 + experience: 42.0 + diamond_sword: + income: 8.0 + points: 8.0 + experience: 16.0 + diamond_pickaxe: + income: 12.0 + points: 12.0 + experience: 24.0 + diamond_axe: + income: 12.0 + points: 12.0 + experience: 24.0 + diamond_helmet: + income: 20.0 + points: 20.0 + experience: 40.0 + diamond_chestplate: + income: 32.0 + points: 32.0 + experience: 64.0 + diamond_leggings: + income: 28.0 + points: 28.0 + experience: 40.0 + diamond_boots: + income: 16.0 + points: 16.0 + experience: 32.0 + turtle_helmet: + income: 20.0 + points: 20.0 + experience: 40.0 + Repair: + wood_sword: + income: 1.0 + points: 1.0 + experience: 1.0 + iron_sword: + income: 2.0 + points: 2.0 + experience: 2.0 + gold_sword: + income: 3.0 + points: 3.0 + experience: 3.0 + diamond_sword: + income: 4.0 + points: 4.0 + experience: 4.0 + Smelt: + iron_ingot: + income: 1.3 + points: 1.3 + experience: 2.0 + gold_ingot: + income: 5.0 + points: 5.0 + experience: 10 + diamond: + income: 7.0 + points: 7.0 + experience: 20 diff --git a/src/main/resources/jobs/woodcutter.yml b/src/main/resources/jobs/woodcutter.yml new file mode 100644 index 00000000..f3956d9f --- /dev/null +++ b/src/main/resources/jobs/woodcutter.yml @@ -0,0 +1,55 @@ +Woodcutter: + fullname: Woodcutter + shortname: W + description: Earns money felling and planting trees + ChatColour: GREEN + chat-display: full + max-level: 200 + leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4) + income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) + * ((numjobs-1)*0.05)) + experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01)) + rejoinCooldown: 10 + maxDailyQuests: 1 + Quests: + '1': + Name: Woodpecker + Objectives: + - Break;oak_log;50 + - Break;birch_log;50 + - Break;jungle_log;50 + RewardCommands: + - eco give [playerName] 100 + - msg [playerName] Completed quest! + RewardDesc: + - Break logs and get money + - Get 100 for this! + Gui: + Id: 17 + Data: 2 + Break: + materials: + - oak_log;1.0;1.0;1.0 + - spruce_log;1.0;1.0;1.0 + - birch_log;1.0;1.0;1.0 + - jungle_log;1.0;1.0;1.0 + - acacia_log;1.0;1.0;1.0 + - dark_oak_log;1.0;1.0;1.0 + - stripped_oak_log;0.75;0.75;0.25 + - stripped_spruce_log;0.75;0.75;0.25 + - stripped_birch_log;0.75;0.75;0.25 + - stripped_jungle_log;0.75;0.75;0.25 + - stripped_acacia_log;0.75;0.75;0.25 + - stripped_dark_oak_log;0.75;0.75;0.25 + Kill: + Player: + income: 7.5 + points: 7.5 + experience: 7.5 + custom-kill: + Woodcutter: + income: 10.0 + points: 10.0 + experience: 10.0