Problem with commands.yml

Discussion in 'Bug Report' started by DayCraftMN, Nov 5, 2017.

Tags:
  1. DayCraftMN

    DayCraftMN New Member

    Joined:
    Nov 4, 2017
    Messages:
    1
    Likes Received:
    0
    I translated some commands and theirs descriptions in French, and it seems that there is no errors, but it don't works in game, can you help me to understand the error please ? There's the config :
    Code:
    mainCommand:
      command: pet
      noArgs: '&6Use the /mpet help '
      noPermission: '&7Commande inconnue.'
      noSuchCommand: '&7Commande inconnue.'
      playerOnly: This command is for players only&4
      help:
        command: help
        help: Use this command to see how to use all other commands
        noHelp: There is no help for this command at the moment
        helpFormat: ' &2%command%&a - %help%'
        title: '&b-------- &3%maincommand% page %currectPage%/%maxPage% &b--------'
        notANumber: '&c%input% is not a number'
        outOfBound: '&c%input% is bigger than %mapPage%'
      open:
        command: open
        help: Use this command to open the gui
      mpet:
        command: pet
        help: Spawn a specific pet
        noPet: '&cThe pet %name% doesn''t exists'
        noPermissionPet: '&cYou dont have permissions to spawn the pet %name%'
        missingArgs: '&cMissing args , currect usage : /%maincommand% %petcommand% (petName)'
      reload:
        command: reload
        help: Use this command to reload the pets
        message: '&aReloaded the pets'
      clear:
        command: clear
        help: Use this command to clear nearby pets (10 raduis)
        commandall: clearall
        helpall: Clear all pets in all worlds.
        consoleMessage: '&cCleared all pets'
        playerMessage: '&cCleared pets in a 10 block raduis'
      call:
        command: tp
        help: Utilisez cette commande pour téléporter votre monture vers vous
        teleportMessage: '&7&o¤ Votre monture a été téléporté vers vous.'
      setName:
        command: name
        help: Utilisez cette commande pour nommer votre monture - /pet name (nom)
      remove:
        command: remove
        help: Utilisez cette commande pour réinvoquer votre monture  - /pet remove
      hat:
        command: hat
        help: Utilisez cette commande pour utiliser votre monture comme chapeau
        disableHat: '&7&o¤ Votre monture a quitté votre tête'
        enableHat: '&7&o¤ Votre monture vous sert désormais de chapeau'
      ride:
        command: ride
        help: Utilisez cette commande pour monter votre monture
        disguiseInterrupt: '&7&oVous ne pouvez pas monter votre monture lorsque vous avez son apparence'
        ridingMessage: '&7&o¤ Vous avez monté votre monture'
        notRidingMessage: '&7&o¤ Vous êtes descendu de votre monture'
      disguise:
        command: disguise
        help: 'Utilisez cette commande pour prendre l''apparence de votre monture'
        rideInterrupt: '&7&o¤ Vous ne pouvez pas prendre l''apparence de votre monture si vous êtes dessus'
        toUndisguise: '&7&l¤ Pour reprendre votre apparence, refaites la commande /pet disguise'
        disguised: '&7&o¤ Vous avez désormais l''apparence de votre monture'
        notDisguised: '&7&o¤ Vous n''avec plus l''apparence de votre monture'
    
    And There is the original config, where all is in english :
    Code:
    mainCommand:
      command: mpet
      noArgs: '&6Use the /mpet help '
      noPermission: '&4You dont have permissions for this command'
      noSuchCommand: '&4This command doesnt exists'
      playerOnly: This command is for players only&4
      help:
        command: help
        help: Use this command to see how to use all other commands
        noHelp: There is no help for this command at the moment
        helpFormat: ' &2%command%&a - %help%'
        title: '&b-------- &3%maincommand% page %currectPage%/%maxPage% &b--------'
        notANumber: '&c%input% is not a number'
        outOfBound: '&c%input% is bigger than %mapPage%'
      open:
        command: open
        help: Use this command to open the gui
      pet:
        command: pet
        help: Spawn a specific pet
        noPet: '&cThe pet %name% doesn''t exists'
        noPermissionPet: '&cYou dont have permissions to spawn the pet %name%'
        missingArgs: '&cMissing args , currect usage : /%maincommand% %petcommand% (petName)'
      reload:
        command: reload
        help: Use this command to reload the pets
        message: '&aReloaded the pets'
      clear:
        command: clear
        help: Use this command to clear nearby pets (10 raduis)
        commandall: clearall
        helpall: Clear all pets in all worlds.
        consoleMessage: '&cCleared all pets'
        playerMessage: '&cCleared pets in a 10 block raduis'
      call:
        command: call
        help: Call your pet to you!
        teleportMessage: '&aYour pet has been teleported to you'
      setname:
        command: setName
        help: Use this command to name your pet - /mpet setName (Name)
      remove:
        command: remove
        help: Use this command to remove your pet - /mpet remove
      hat:
        command: hat
        help: Wear your pet as a hat!
        disableHat: '&cYou removed your mpet hat'
        enableHat: '&aYou are now wearing a mpet hat'
      ride:
        command: ride
        help: Use this command to ride your pet
        disguiseInterrupt: '&cYou can''t ride your pet while you''re disguised'
        ridingMessage: '&aYou are now riding your pet'
        notRidingMessage: '&cYou are now not riding your pet'
      disguise:
        command: disguise
        help: Use this command to disguise as your pet
        rideInterrupt: '&cYou can''t disguise as your pet while you''re riding it'
        toUndisguise: '&aTo undisguise use the disguise command agian'
        disguised: '&aYou are now disguised'
        notDisguised: '&cYou are now not disguised'
    
     
    #1 DayCraftMN, Nov 5, 2017
    Last edited: Nov 5, 2017
  2. NacOJerk

    NacOJerk Administrator
    Staff Member

    Joined:
    Oct 28, 2017
    Messages:
    3
    Likes Received:
    0
    Hey did you reload the mpet plugin or use /mpet reload ?
     

Share This Page