[ShopGUI+] Spawners.yml | Need Help

Status
This thread has been locked.

Ephrey

Premium
Feedback score
2
Posts
119
Reactions
31
Resources
0
Hello,

So, I'm trying to make spawners.yml but it seems not to work

Error:
Code:
org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
found character          '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
 in 'string', line 19, column 7:
                name: "&eZombie Spawner"
          ^


Code:
    1:
      type: command
      item:
          name: "&eZombie Spawner"
        material: MOB_SPAWNER
        quantity: 1
        rewards:
          commands:
            - 'give diamond 10 %player%'
      buyPrice: 300000
      sellPrice: -1
      slot: 10

As you can see, I'm trying to execute the command if the player bought it.
Any help would be appreciated thanks
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Unavailable

Inactive (Kinda)
Supreme
Feedback score
4
Posts
361
Reactions
188
Resources
0
You have name: "&eZombie Spawner" unaligned with the others. Make sure it's aligned like below ;)
Code:
    1:
      type: command
      item:
        name: "&eZombie Spawner"
        material: MOB_SPAWNER
        quantity: 1
        rewards:
          commands:
            - 'give diamond 10 %player%'
      buyPrice: 300000
      sellPrice: -1
      slot: 10
 
Last edited:
Status
This thread has been locked.
Top