Here is my shop config
killpoint:
name: "&3&lKillPoints (page %page%)"
size: 45
fillItem:
material: BLACK_STAINED_GLASS_PANE
name: " "
buttons:
goBack:
slot:
previousPage:
slot:
nextPage:
slot:
items:
1:
type: command
item:
material: WITHER_ROSE
name: '&a&lWither Rose'
quantity: 1
buyPrice: 0
commands:
- "execute unless score %PLAYER% killing matches ..0 run give %PLAYER% wither_rose 1"
- "execute if score %PLAYER% killing matches 1.. run scoreboard players remove %PLAYER% killing 1"
slot: 21
2:
type: command
item:
material: WITHER_ROSE
name: '&a&lRefund Kills'
quantity: 1
buyPrice: 0
commands:
- "execute at %PLAYER% run execute if entity @p[nbt={Inventory:[{id:"minecraft:wither_rose"}]}] run scoreboard players add %PLAYER%
killing 1"
- "execute unless score %PLAYER% killing matches ..0 run clear %PLAYER% wither_rose 1"
slot: 23
And whenever I run /shop killpoint it says the shop killpoint wasn't found, the change I made is highlighted in bold. Does anyone know why? (I'm sure it's because i used two lines. but idk, and how do I fix this?
killpoint:
name: "&3&lKillPoints (page %page%)"
size: 45
fillItem:
material: BLACK_STAINED_GLASS_PANE
name: " "
buttons:
goBack:
slot:
previousPage:
slot:
nextPage:
slot:
items:
1:
type: command
item:
material: WITHER_ROSE
name: '&a&lWither Rose'
quantity: 1
buyPrice: 0
commands:
- "execute unless score %PLAYER% killing matches ..0 run give %PLAYER% wither_rose 1"
- "execute if score %PLAYER% killing matches 1.. run scoreboard players remove %PLAYER% killing 1"
slot: 21
2:
type: command
item:
material: WITHER_ROSE
name: '&a&lRefund Kills'
quantity: 1
buyPrice: 0
commands:
- "execute at %PLAYER% run execute if entity @p[nbt={Inventory:[{id:"minecraft:wither_rose"}]}] run scoreboard players add %PLAYER%
killing 1"
- "execute unless score %PLAYER% killing matches ..0 run clear %PLAYER% wither_rose 1"
slot: 23
And whenever I run /shop killpoint it says the shop killpoint wasn't found, the change I made is highlighted in bold. Does anyone know why? (I'm sure it's because i used two lines. but idk, and how do I fix this?
