Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Afficher les métiers


    Recommended Posts

    Bonjour,

    et oui encore moi....

    J’utilise simple préfix comme plug-in pour gérer le chat et quand j'essaye d'afficher le métier de jobs sa ne fonctionne pas.

    Comme indiquer dans le fichier generalConfig.yml de jobs:

    If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.modify-chat: false
    
    

    If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.
    modify-chat: true
    

    J'ai ajouté ceci à la config de SimplePrefix: {jobs}

    Comme ceci:

    Template:
     format: '<{jobs}[prefix][name][suffix]> '
    Worlds:
     world:
       nickname: '&e[RP]&f'
     CreativeWorld:
       nickname: '&e[CreativeWorld]&f'
     Survie:
       nickname: '&e[survie]&f'
    Group:
     default:
       prefix: '&f[Visiteur]&f'
       suffix: '&f'
     Membre:
       prefix: '&2[Membre]&f'
       suffix: '&f'
     Moderateur:
       prefix: '&1[Moderateur]&f'
       suffix: '&f'
     Admin:
       prefix: '&c[Admin]&f'
       suffix: '&f'
    User:
    
    
    

    Mais évidement rien ne se passe dans les deux cas:

    -Modify-chat sur: true

    -Modify-chat sur: false

     

    Dans le chat il y a juste {jobs}.

    Voila si vous avez une solution,

    merci d'avance.

    Link to post
    Share on other sites

    Sa na rien changer, j'ai même changer le chat-display sur true mais rien ne marche sa me met toujours {jobs} dans le chat.

    # Jobs configuration.# 
    # Stores information about each job.
    # 
    # For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.
    
    
    Jobs:
     Bucheron:
       fullname: Bucheron
       shortname: B
       ChatColour: GREEN
       chat-display: full
       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: full
       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: full
       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: full
       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: full
       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: full
       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: full
       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: full
       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
    
    
    

    :help:

    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...