Hi, I am trying to use skript on my server to create a fun game and while trying to do so the commands and actions that I am creating are creating errors.
My code:
command /start:
description: gives player the generator:
permission: spawn.cube:
permission message: "Hey! Sorry but you're not in the right area to perform that command! Try again in our anarchy cube!":
trigger: execute /give @p minecraft:lime_dye 1 0 {display:{Name:"Generator"}}:
if player right clicks on lime_dye give player 80% cobblestone, 10% dirt, 5% sand, 3% coal, 2% iron:
The error is saying:
Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon if you don't want this line to start a section. (customcommands.sk, line 1: command /start:')
it repeats that up to line 5; trigger: execute /give @p Minecraft:lime_dye 1 0 {display:{Name:"Generator"}}
then starts saying a different error which is:
Cant understand this event.
It also says that the required entry 'trigger' is missing in 'command /start'
I don't know if this is an easy fix or whether I just don't understand something but someone please help me with this.
My code:
command /start:
description: gives player the generator:
permission: spawn.cube:
permission message: "Hey! Sorry but you're not in the right area to perform that command! Try again in our anarchy cube!":
trigger: execute /give @p minecraft:lime_dye 1 0 {display:{Name:"Generator"}}:
if player right clicks on lime_dye give player 80% cobblestone, 10% dirt, 5% sand, 3% coal, 2% iron:
The error is saying:
Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon if you don't want this line to start a section. (customcommands.sk, line 1: command /start:')
it repeats that up to line 5; trigger: execute /give @p Minecraft:lime_dye 1 0 {display:{Name:"Generator"}}
then starts saying a different error which is:
Cant understand this event.
It also says that the required entry 'trigger' is missing in 'command /start'
I don't know if this is an easy fix or whether I just don't understand something but someone please help me with this.