Command /murder bringing up the Unknown command message in console

Discussion in 'Plugin Development' started by ipwntnt, Feb 2, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    zRations

    ipwntnt

    Copy this. I am assuming you are using the wrong spacing.
    Code:
    name: Overpowered
    main: com.gmail.eugenelee456.Overpowered.Overpowered
    version: 0.1
    commands:
        murder:
              description: This is a command to kill the target player. Player has to be online.
              usage: /murder [player]
    permission: Overpowered.murder
    permission-message: You do not have the guts to perform this command.
    And to use this code box for future reference. Use a CODE box when you insert code. It will correctly space out your plugin.yml
     
  2. Offline

    ipwntnt

    So is that the answer to all my problems? because YAML doesn't like tabs? Also, does description and usasge have to have 10 spaces from the beginning of the line? I thought that it would be like in setting permissions, where there are only multiples of 4 spaces. But I will try it. Thanks.
     
Thread Status:
Not open for further replies.

Share This Page