Besoin d'aide: Plugin Jobs

Windari

Aventurier
2 Juin 2011
14
0
1
27
Bonjour,

Sur mon serveur (1.8, bukkit, avec essentials) j'ai installé Jobs. J'ai configuré les métiers, tout le bazar mais étant donné que je ne suis pas vraiment douée, ça ne marche pas.
Le problème c'est que quand on fait la commande /jobs browse le serveur dit: "There are no jobs you can join".
Ah oui et quand je lance le serveur, j'ai vu une petite erreur dedans mais je n'arrive pas à la corriger:
Code:
[SEVERE] Error occurred while enabling Jobs v2.6.0 (Is it up to date?): special characters are not allowed
unacceptable character '?' (0xFFFD) special characters are not allowed
in "<reader>", position 5897
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:145)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:958)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:235)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    at com.zford.jobs.config.JobConfig.loadJobSettings(JobConfig.java:88)
    at com.zford.jobs.config.JobConfig.reload(JobConfig.java:67)
    at com.zford.jobs.Jobs.reloadConfigurations(Jobs.java:292)
    at com.zford.jobs.Jobs.onEnable(Jobs.java:117)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

Voilà, si on a besoin d'un de mes fichiers du plugin je les mettrai.
 
Bûcheron, mineur, "digger", fermier, chasseur, pêcheur, forgeron (fait toutes les armes, outils et armures possibles) et netherien (il récupère les blocs du nether et tue les mobs du nether).
Merci =)

Ps: Tu ne veux pas plutôt que je te passe le fichier config?
 
Oui, tu a une erreur. Sinon pour te corriger va sur : http://yaml-online-parser.appspot.com/. Tu fais un copier-coller de ton job config.yml dans la premiere case. Cela va t'afficher des erreurs si tu cherche. Pour voir des erreurs, tu regarde dans la 2nde fenêtre. Lorsqu'il y aura des erreurs, tu les verra comme ceci : \u00e0
 
J'ai utilisé ton site et j'ai corrigé une petite erreur (un petit accent ^^) mais j'ai toujours le même problème.
 
Voilà:

Code:
Jobs:
    Bucheron:
        fullname: Bucheron
        shortname: B
        ChatColour: GREEN
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            17:
                income: 5.0
                experience: 5.0
            5:
                income: 1.25
                experience: 1.25
        Place:
            SAPLING:
                income: 1.0
                experience: 1.0
            17:
                income: 2.0
                experience: 2.0
            5:
                income: 0.5
                experience: 0.5
    Mineur:
        fullname: Mineur
        shortname: M
        ChatColour: DARK_GRAY
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            STONE:
                income: 1.5
                experience: 1.5
            COAL_ORE:
                income: 2.0
                experience: 3.0
            REDSTONE_ORE:
                income: 3.0
                experience: 3.0
            IRON_ORE:
                income: 4.0
                experience: 4.0
            GOLD_ORE:
                income: 5.0
                experience: 5.0
            LAPIS_ORE:
                income: 3.0
                experience: 3.0
            DIAMOND_ORE:
                income: 6.0
                experience: 6.0
            OBSIDIAN:
                income: 7.5
                experience: 7.5
            MOSSY_COBBLESTONE:
                income: 6.0
                experience: 6.0
        Place:
            RAILS:
                income: 2.0
                experience: 2.0
        Kill:
            Cave Spider:
                income: 7.0
                experience: 7.0
    Digger:
        fullname: Digger
        shortname: D
        ChatColour: GOLD
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            DIRT:
                income: 2.0
                experience: 2.0
            GRASS:
                income: 2.0
                experience: 2.0
            GRAVEL:
                income: 2.0
                experience: 2.0
            SAND:
                income: 2.0
                experience: 2.0
            CLAY:
                income: 2.0
                experience: 2.0
    Fermier:
        fullname: Fermier
        shortname: F
        ChatColour: BLUE
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            CROPS-7:
                income: 4.0
                experience: 4.0
            SUGAR_CANE_BLOCK:
                income: 4.0
                experience: 4.0
        Place:
            SEEDS:
                income: 3.0
                experience: 3.0
            SUGAR_CANE_BLOCK:
                income: 1.0
                experience: 1.0
            361:
                income: 4.0
                experience: 4.0
            362:
                income: 4.0
                experience: 4.0
        Craft:
            Bread:
                income: 0.5
                experience: 1.0
    Chasseur:
        fullname: Chasseur
        shortname: C
        ChatColour: RED
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Kill:
            Chicken:
                income: 2.5
                experience: 2.5
            Cow:
                income: 2.5
                experience: 2.5
            Pig:
                income: 2.5
                experience: 2.5
            Sheep:
                income: 2.5
                experience: 2.5
            Wolf:
                income: 5.0
                experience: 5.0
            Creeper:
                income: 10.0
                experience: 10.0
            Skeleton:
                income: 10.0
                experience: 10.0
            Spider:
                income: 10.0
                experience: 10.0
            Zombie:
                income: 10.0
                experience: 10.0
            Squid:
                income: 5.0
                experience: 5.0
            Enderman:
                income: 15.0
                experience: 15.0
            Mooshroom:
                income: 5.0
                experience: 5.0
            Cave_Spider:
                income: 11.0
                experience: 11.0
            Silverfish:
                income: 18.0
                experience: 18.0
            Slime:
                income: 10.0
                experience: 10.0
            Spider_Jokey:
                income: 20.0
                experience: 20.0
    Pecheur:
        fullname: Pecheur
        shortname: P
        ChatColour: AQUA
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Fish:
            RAW_FISH:
                income: 5.0
                experience: 5.0
        Kill:
            Squid:
                income: 6.0
                experience: 6.0
    Forgeron:
        fullname: Forgeron
        shortname: Fo
        ChatColour: DARK_PURPLE
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Craft:
            WOOD_SWORD:
                income: 1.0
                experience: 1.0
            IRON_SWORD:
                income: 2.5
                experience: 2.5
            GOLD_SWORD:
                income: 3.5
                experience: 3.5
            DIAMOND_SWORD:
                income: 5.0
                experience: 5.0
            WOOD_SHOVEL:
                income: 1.0
                experience: 1.0
            IRON_SHOVEL:
                income: 2.5
                experience: 2.5
            GOLD_SHOVEL:
                income: 3.5
                experience: 3.5
            DIAMOND_SHOVEL:
                income: 5.0
                experience: 5.0
            WOOD_PICKAXE:
                income: 1.0
                experience: 1.0
            IRON_PICKAXE:
                income: 2.5
                experience: 2.5
            GOLD_PICKAXE:
                income: 3.5
                experience: 3.5
            DIAMOND_PICKAXE:
                income: 5.0
                experience: 5.0
            WOOD_AXE:
                income: 1.0
                experience: 1.0
            IRON_AXE:
                income: 2.5
                experience: 2.5
            GOLD_AXE:
                income: 3.5
                experience: 3.5
            DIAMOND_AXE:
                income: 5.0
                experience: 5.0
            LEATHER_CAP:
                income: 2.0
                experience: 2.0
            LEATHER_TUNIC:
                income: 2.0
                experience: 2.0
            LEATHER_PANTS:
                income: 2.0
                experience: 2.0
            LEATHER_BOOTS:
                income: 2.0
                experience: 2.0
            IRON_HELMET:
                income: 3.5
                experience: 3.5
            IRON_CHESTPLATE:
                income: 3.5
                experience: 3.5
            IRON_LEGGINGS:
                income: 3.5
                experience: 3.5
            IRON_BOOTS:
                income: 3.5
                experience: 3.5
            GOLD_HELMET:
                income: 4.5
                experience: 4.5
            GOLD_CHESTPLATE:
                income: 4.5
                experience: 4.5
            GOLD_LEGGINGS:
                income: 4.5
                experience: 4.5
            GOLD_BOOTS:
                income: 4.5
                experience: 4.5
            DIAMOND_HELMET:
                income: 6.0
                experience: 6.0
            DIAMOND_CHESTPLATE:
                income: 6.0
                experience: 6.0
            DIAMOND_LEGGINGS:
                income: 6.0
                experience: 6.0
            DIAMOND_BOOTS:
                income: 6.0
                experience: 6.0
    Netherien:
        fullname: Netherien
        shortname: N
        ChatColour: Black
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            Glowstone_block:
                income: 5.0
                experience: 5.0
            Soul_Sand:
                income: 2.0
                experience: 2.0
            Netherrack:
                income: 1.0
                experience: 1.0
            Nether_wart:
                income: 5.0
                experience: 5.0
        Kill:
            Blaze:
                income: 15.0
                experience: 15.0
            Magma_cube:
                income: 10.0
                experience: 10.0
            Zombie_Pigman:
                income: 11.0
                experience: 11.0
            Ghast:
                income: 20.0
                experience: 20.0
 
Voila, j'ai corrigé ton fichier, tout est impecable.
Code:
Jobs:
    Bucheron:
        fullname: Bucheron
        shortname: B
        ChatColour: GREEN
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            LOG:
                income: 5.0
                experience: 5.0
            WOOD:
                income: 1.25
                experience: 1.25
        Place:
            SAPLING:
                income: 1.0
                experience: 1.0
            LOG:
                income: 2.0
                experience: 2.0
            WOOD:
                income: 0.5
                experience: 0.5
    Mineur:
        fullname: Mineur
        shortname: M
        ChatColour: DARK_GRAY
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            STONE:
                income: 1.5
                experience: 1.5
            COAL_ORE:
                income: 2.0
                experience: 3.0
            REDSTONE_ORE:
                income: 3.0
                experience: 3.0
            IRON_ORE:
                income: 4.0
                experience: 4.0
            GOLD_ORE:
                income: 5.0
                experience: 5.0
            LAPIS_ORE:
                income: 3.0
                experience: 3.0
            DIAMOND_ORE:
                income: 6.0
                experience: 6.0
            OBSIDIAN:
                income: 7.5
                experience: 7.5
            MOSSY_COBBLESTONE:
                income: 6.0
                experience: 6.0
        Place:
            RAILS:
                income: 2.0
                experience: 2.0
        Kill:
            CaveSpider:
                income: 7.0
                experience: 7.0
    Digger:
        fullname: Digger
        shortname: D
        ChatColour: GOLD
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            DIRT:
                income: 2.0
                experience: 2.0
            GRASS:
                income: 2.0
                experience: 2.0
            GRAVEL:
                income: 2.0
                experience: 2.0
            SAND:
                income: 2.0
                experience: 2.0
            CLAY:
                income: 2.0
                experience: 2.0
    Fermier:
        fullname: Fermier
        shortname: F
        ChatColour: BLUE
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            CROPS-7:
                income: 4.0
                experience: 4.0
            SUGAR_CANE_BLOCK:
                income: 4.0
                experience: 4.0
        Place:
            SEEDS:
                income: 3.0
                experience: 3.0
            SUGAR_CANE_BLOCK:
                income: 1.0
                experience: 1.0
            MELON_SEEDS:
                income: 4.0
                experience: 4.0
            PUMPKIN_SEEDS:
                income: 4.0
                experience: 4.0
        Craft:
            BREAD:
                income: 0.5
                experience: 1.0
    Chasseur:
        fullname: Chasseur
        shortname: C
        ChatColour: RED
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Kill:
            Chicken:
                income: 2.5
                experience: 2.5
            Cow:
                income: 2.5
                experience: 2.5
            Pig:
                income: 2.5
                experience: 2.5
            Sheep:
                income: 2.5
                experience: 2.5
            Wolf:
                income: 5.0
                experience: 5.0
            Creeper:
                income: 10.0
                experience: 10.0
            Skeleton:
                income: 10.0
                experience: 10.0
            Spider:
                income: 10.0
                experience: 10.0
            Zombie:
                income: 10.0
                experience: 10.0
            Squid:
                income: 5.0
                experience: 5.0
            Enderman:
                income: 15.0
                experience: 15.0
            MushroomCow:
                income: 5.0
                experience: 5.0
            CaveSpider:
                income: 11.0
                experience: 11.0
            Silverfish:
                income: 18.0
                experience: 18.0
            Slime:
                income: 10.0
                experience: 10.0
    Pecheur:
        fullname: Pecheur
        shortname: P
        ChatColour: AQUA
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Fish:
            RAW_FISH:
                income: 5.0
                experience: 5.0
        Kill:
            Squid:
                income: 6.0
                experience: 6.0
    Forgeron:
        fullname: Forgeron
        shortname: Fo
        ChatColour: DARK_PURPLE
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Craft:
            WOOD_SWORD:
                income: 1.0
                experience: 1.0
            IRON_SWORD:
                income: 2.5
                experience: 2.5
            GOLD_SWORD:
                income: 3.5
                experience: 3.5
            DIAMOND_SWORD:
                income: 5.0
                experience: 5.0
            WOOD_SPADE:
                income: 1.0
                experience: 1.0
            IRON_SPADE:
                income: 2.5
                experience: 2.5
            GOLD_SPADE:
                income: 3.5
                experience: 3.5
            DIAMOND_SPADE:
                income: 5.0
                experience: 5.0
            WOOD_PICKAXE:
                income: 1.0
                experience: 1.0
            IRON_PICKAXE:
                income: 2.5
                experience: 2.5
            GOLD_PICKAXE:
                income: 3.5
                experience: 3.5
            DIAMOND_PICKAXE:
                income: 5.0
                experience: 5.0
            WOOD_AXE:
                income: 1.0
                experience: 1.0
            IRON_AXE:
                income: 2.5
                experience: 2.5
            GOLD_AXE:
                income: 3.5
                experience: 3.5
            DIAMOND_AXE:
                income: 5.0
                experience: 5.0
            LEATHER_HELMET:
                income: 2.0
                experience: 2.0
            LEATHER_CHESTPLATE:
                income: 2.0
                experience: 2.0
            LEATHER_LEGGINGS:
                income: 2.0
                experience: 2.0
            LEATHER_BOOTS:
                income: 2.0
                experience: 2.0
            IRON_HELMET:
                income: 3.5
                experience: 3.5
            IRON_CHESTPLATE:
                income: 3.5
                experience: 3.5
            IRON_LEGGINGS:
                income: 3.5
                experience: 3.5
            IRON_BOOTS:
                income: 3.5
                experience: 3.5
            GOLD_HELMET:
                income: 4.5
                experience: 4.5
            GOLD_CHESTPLATE:
                income: 4.5
                experience: 4.5
            GOLD_LEGGINGS:
                income: 4.5
                experience: 4.5
            GOLD_BOOTS:
                income: 4.5
                experience: 4.5
            DIAMOND_HELMET:
                income: 6.0
                experience: 6.0
            DIAMOND_CHESTPLATE:
                income: 6.0
                experience: 6.0
            DIAMOND_LEGGINGS:
                income: 6.0
                experience: 6.0
            DIAMOND_BOOTS:
                income: 6.0
                experience: 6.0
    Netherien:
        fullname: Netherien
        shortname: N
        ChatColour: Black
        chat-display: none
        max-level: 100
        slots: 10
        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))
        Break:
            GLOWSTONE:
                income: 5.0
                experience: 5.0
            SOUL_SAND:
                income: 2.0
                experience: 2.0
            NETHERRACK:
                income: 1.0
                experience: 1.0
            NETHER_BRICK:
                income: 5.0
                experience: 5.0
        Kill:
            Blaze:
                income: 15.0
                experience: 15.0
            MagmaCube:
                income: 10.0
                experience: 10.0
            PigZombie:
                income: 11.0
                experience: 11.0
            Ghast:
                income: 20.0
                experience: 20.0
 
  • J'aime
Reactions: Weedz et Windari