Hello,
So, I'm trying to make spawners.yml but it seems not to work
Error:
As you can see, I'm trying to execute the command if the player bought it.
Any help would be appreciated thanks
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
