to run: not working and something else

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

dankmemes

Member
Jan 27, 2019
15
0
1
24
command /Dam:
trigger:
open virtual chest inventory with size 6 named "test" to player
format gui slot 0 of player with glass named "" to do nothing
format gui slot 1 of player with Gunpowder to run:
if player's inventory contains 30 coal:
remove 30 coal from player's inventory
add 5 Gunpowder named "&6&lGun Powder" to player's inventory

on rightclick with diamond:
make player execute "Dam"
upload_2019-1-27_15-34-40.png

^the skript not working
and the other problem
https://pastebin.com/iDyL2vVB
all the plugins im using
upload_2019-1-27_15-35-36.png

upload_2019-1-27_15-36-17.png
 

Attachments

  • upload_2019-1-27_15-34-35.png
    upload_2019-1-27_15-34-35.png
    35.9 KB · Views: 174
As your error states, "Empty configuration section" .... since you didnt bother to put your code in a code block I cant see the formatting, but Im almost certain you have your format done wrong
 
As your error states, "Empty configuration section" .... since you didnt bother to put your code in a code block I cant see the formatting, but Im almost certain you have your format done wrong
Code:
command /Dam:
    trigger:
        open virtual chest inventory with size 6 named "test" to player
        format gui slot 0 of player with glass named "" to do nothing
        format gui slot 1 of player with Gunpowder to run:
        if player's inventory contains 30 coal:
            remove 30 coal from player's inventory
            add 5 Gunpowder named "&6&lGun Powder" to player's inventory
 
on rightclick with diamond:
    make player execute "Dam"
 
yeah, your error tells you EXACTLY how to fix that
thx XD
[doublepost=1548656155,1548655598][/doublepost]
yeah, your error tells you EXACTLY how to fix that
now im getting this
upload_2019-1-27_22-13-14.png

Code:
command /Dam:
    trigger:
        open virtual chest inventory with size 6 named "test" to player
        format gui slot 0 of player with glass named "" to do nothing
        format gui slot 1 of player with Gunpowder to run:
            if player's inventory contains 30 coal:
                remove 30 coal from player's inventory
                add 5 Gunpowder named "&6&lGun Powder" to player's inventory
still getting this https://pastebin.com/GFwnD7UJ
 
Status
Not open for further replies.