Problème avec plugin Jobs

jobouille

Youtuber
3 Novembre 2011
283
10
130
26
Bonjour à tous ! J'ai voulu mettre le plugin Jobs mais j'ai un problème avec :
une fois le plugin installé lorsque je suis en jeux et que je tape la commande /jobs info des métiers apparaîssent malgré que le jobconfig.yml est vide ; j'ai donc quand même pris un exemple de jobconfig.yml ici :
https://github.com/phrstbrn/Jobs/blob/master/sample-config/jobConfig.yml
Et j'ai modifié les métiers comme je le voulais, comme vous pouvez voir ici (excusez-moi pour la longueur du fichier :/ ) :
Code:
# Jobs configuration.
#
# Stores information about each job.
#
# For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.
 
Jobs: {# Jobs configuration.
#
# Stores information about each job.
#
# NOTE: When having multiple jobs, both jobs will give the income payout to the player
# even if they give the pay for one action (make the configurations with this in mind)
# and each job will get the respective experience.
#
# e.g If player has 2 jobs where job1 gives 10 income and experience for killing a player
# and job2 gives 5 income and experience for killing a player. When the user kills a player
# they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience.
 
Jobs:
  # must be one word
  Bucheron:
    # 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.
    #
    # NOTE: Must be 1 word
    fullname: Bucheron
    # Shortened version of the name of the job. Used as a prefix when the user has more
    # than 1 job
    shortname: W
    description: Gagne des écus en coupant du bois.
    # The colour of the name, for a full list of supported colours, go to the message config.
    ChatColour: GREEN
    # Option to let you choose what kind of prefix this job adds to your name.
    # options are: full, title, job, shortfull, shorttitle, shortjob and none
    chat-display: full
    # [OPTIONAL] - the maximum level of this class
    #max-level: 10
    # [OPTIONAL] - the maximum number of users on the server that can have this job at
    # any one time (includes offline players).
    #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
    #  joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    # Equation used for calculating how much income is given per action for the job level.
    # Available parameters:
    #  baseincome - the income for the action at level 1 (as set in the configuration).
    #  joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    # Equation used for calculating how much experience is given per action for the job level.
    # Available parameters:
    #  baseexperience - the experience for the action at level 1 (as set in the configuration).
    #  joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    ########################################################################
    # Section used to configure what items the job gets paid for, how much
    # they get paid and how much experience they gain.
    #
    # For break and place, the block name or id is used.
    # You can select a sub-type by using a '-' between the id and the bit
    # value for the sub-type. e.g LOG-0 = usual log, LOG-2 = birch log
    # 17-2 = birch log.
    #
    # If no sub-type is give, the payout will be for all sub-types.
    #
    # To get a list of all available block types, check the
    # bukkit JavaDocs for a complete list of block types
    # http://jd.bukkit.org/apidocs/org/bukkit/Material.html
    #
    # For kill tags (Kill and custom-kill), the name is the name of the
    # mob.
    # Available mobs:
    #  Chicken
    #  Cow
    #  Pig
    #  Sheep
    #  Wolf
    #  Creeper
    #  Giant
    #  Skeleton
    #  Spider
    #  Zombie
    #  PigZombie
    #  Squid
    #  Ghast
    #  Player
    #  Slime
    #
    # NOTE: mob names are case sensitive.
    #
    # For custom-kill, it is the name of the job (also case sensitive).
    #
    # NOTE: If a job has both the pay for killing a player and for killing a
    # specific class, they will get both payments.
    ########################################################################
    # payment for breaking a block
    Break:
      # block name/id (with optional sub-type)
      LOG:
        # base income
        income: 0.1
        # base experience
        experience: 5.0
    # payment for placing a block
    Place:
      SAPLING:
        income: 0.05
        experience: 1.0
    # killing a mob
    custom-kill:
      # full name of the jobs class
      Woodcutter:
        # base income
        income: 10.0
        # base experience
        experience: 10.0
    # permissions granted for joining class
    permissions:
      # example node
      aaaaaatest.node:
        # true to give, false to revoke
        value: true
        # minimum level needed to grant permission.  Use 0 for all levels
        level: 0
      aaaaaatest.node2:
        value: true
        # Permission granted when reaching level 10
        level: 10
  Mineur:
    fullname: Mineur
    shortname: M
    description: Gagne des écus en minant.
    ChatColour: DARK_GRAY
    chat-display: full
    #max-level: 10
    #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: 0.1
        experience: 2.0
      COBBLESTONE:
        income: 0.1
        experience: 2.0
      GRAVEL:
        income: 0.1
        experience: 2.0
      DIRT:
        income: 0.1
        experience: 2.0
      COAL_ORE:
        income: 0.11
        experience: 3.0
      GLOWING_REDSTONE_ORE:
        income: 0.12
        experience: 3.0
      IRON_ORE:
        income: 0.13
        experience: 4.0
      GOLD_ORE:
        income: 0.15
        experience: 5.0
      LAPIS_ORE:
        income: 0.12
        experience: 5.0
      DIAMOND_ORE:
        income: 0.23
        experience: 6.0
      OBSIDIAN:
        income: 0.18
        experience: 7.5
    custom-kill:
      Miner:
        income: 10.0
        experience: 10.0
  Terraformer:
    fullname: Terraformer
    shortname: D
    description: Gagne des écus en terraformant.
    ChatColour: GOLD
    chat-display: full
    #max-level: 10
    #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: 0.1
        experience: 2.0
      GRASS:
        income: 0.1
        experience: 2.0
      GRAVEL:
        income: 0.1
        experience: 2.0
      SAND:
        income: 0.1
        experience: 2.0
      CLAY:
        income: 0.1
        experience: 2.0
  Fermier:
    fullname: Fermier
    shortname: Fa
    description: Gagne des écus en faisant de l'agriculture.
    ChatColour: BLUE
    chat-display: full
    #max-level: 10
    #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: 0.1
        experience: 4.0
      SUGAR_CANE_BLOCK:
        income: 0.1
        experience: 4.0
    Place:
      CROPS-0:
        income: 0.1
        experience: 3.0
      SUGAR_CANE_BLOCK:
        income: 0.1
        experience: 1.0
  Chasseur:
    fullname: Chasseur
    shortname: C
    description: Gagne des écus en tuant des mobs.
    ChatColour: RED
    chat-display: full
    #max-level: 10
    #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: 0.1
        experience: 2.5
      Cow:
        income: 0.1
        experience: 2.5
      Pig:
        income: 0.1
        experience: 2.5
      Sheep:
        income: 0.1
        experience: 2.5
      Wolf:
        income: 0.11
        experience: 5.0
      Creeper:
        income: 0.13
        experience: 10.0
      Skeleton:
        income: 0.13
        experience: 10.0
      Spider:
        income: 0.13
        experience: 10.0
      Zombie:
        income: 0.13
        experience: 10.0
  Pêcheur:
    fullname: Pêcheur
    shortname: P
    description: Gagne des écus en pêchant
    ChatColour: AQUA
    chat-display: full
    #max-level: 10
    #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: 0.13
        experience: 4.0
  Forgeron:
    fullname: Forgeron
    shortname: W
    description: Gagne des écus en craftant et réparant des armes et outils.
    ChatColour: DARK_PURPLE
    chat-display: full
    #max-level: 10
    #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: 0.05
        experience: 1.0
      IRON_SWORD:
        income: 0.12
        experience: 2.0
      GOLD_SWORD:
        income: 0.1
        experience: 3.0
      DIAMOND_SWORD:
        income: 0.15
        experience: 4.0
    Repair:
      WOOD_SWORD:
        income: 0.055
        experience: 1.0
      IRON_SWORD:
        income: 0.125
        experience: 2.0
      GOLD_SWORD:
        income: 0.105
        experience: 3.0
      DIAMOND_SWORD:
        income: 0.155
        experience: 4.0
    Smelt:
      IRON_INGOT:
        income: 0.1
        experience: 2.0
      GOLD_INGOT:
        income: 0.1
        experience: 2.0
  Alchimiste:
    fullname: Alchimiste
    shortname: A
    description: Gagne des écus en créant des potions.
    ChatColour: LIGHT_PURPLE
    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))
    Brew:
      NETHER_STALK:
        income: 0.1
        experience: 1.0
      REDSTONE:
        income: 0.1
        experience: 2.0
      GLOWSTONE_DUST:
        income: 0.1
        experience: 2.0
      SPIDER_EYE:
        income: 0.1
        experience: 2.0
      FERMENTED_SPIDER_EYE:
        income: 0.1
        experience: 2.0
      BLAZE_POWDER:
        income: 0.1
        experience: 2.0
      SUGAR:
        income: 0.1
        experience: 2.0
      SPECKLED_MELON:
        income: 0.1
        experience: 4.0
      MAGMA_CREAM:
        income: 0.1
        experience: 4.0
      GHAST_TEAR:
        income: 0.1
        experience: 4.0
  Enchanteur:
    fullname: Enchanteur
    shortname: E
    description: Gagne des écus en enchantant des armes, outils et armures.
    ChatColour: DARK_BLUE
    chat-display: full
    #max-level: 10
    #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))
    Enchant:
      WOOD_SWORD:
        income: 0.12
        experience: 4.0
      IRON_SWORD:
        income: 0.15
        experience: 6.0
      GOLD_SWORD:
        income: 0.12
        experience: 8.0
      DIAMOND_SWORD:
        income: 0.18
        experience: 10.0
  Clochard:
    fullname: Clochard
    shortname: N
    ChatColour: WHITE
    chat-display: none
    #max-level: 10
    #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))

Mais lorsque que je redémarre le serveur ces métiers ne sont pas pris en compte et il y a toujours les anciens métiers (ceux qui n’apparaissent nulle part dans le fichier avec modification.)

J'espère que vous saurez m'aider :)

Merci et bonne journée

jobouille
 

Weedz

PsykédélikoCanabique
13 Juin 2012
90
16
3
oise 60 beauvais
Les Accent mon ami commence par les supprimer et ensuite vérifie la version de ton plugins puis si tout et bon supprime tout les fichier de ton plugins et le plugins et réinstalle le.
tien moi au courant =)