#Trying to give myself a item

1 messages · Page 1 of 1 (latest)

junior cedar
#

I have this but when it is ran, I get an error in console

    material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFlODM3YTE0MTFiOGZhMDU0MTFjNGQ3ZjE4ZGEyOTFiMTA1ZGUxMDc4MWYxMDhjNDU4Y2NkZGZhNjNiYjJmZSJ9fX0=
    slot: 13
    display_name: "&aStuffed Mushroom"
    lore:
      - " "
      - "&eCost: 120⛁"
      - "&eLeft click to purchase 12"
    amount: 12
    left_click_requirement:
      requirements:
        has_money:
          type: has money
          amount: 120
    left_click_commands:
      - '[console] minecraft:give %player_name% minecraft:player_head[minecraft:custom_name={"text":"Stuffed Brown Mushroom","italic":false},minecraft:profile={id:[I;572304973,-584497122,-1520405357,-2088155905],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFlODM3YTE0MTFiOGZhMDU0MTFjNGQ3ZjE4ZGEyOTFiMTA1ZGUxMDc4MWYxMDhjNDU4Y2NkZGZhNjNiYjJmZSJ9fX0="}]},minecraft:food={nutrition: 15,saturation: 15,can_always_eat: true},minecraft:consumable={}] 12'
      - '[takemoney] 120'```
verbal hawk
#

you need to elaborate more, what us a stuffshroom? What are you trying to do? Like hello???? @junior cedar

full kindle
junior cedar
junior cedar
#

thanks, that worked

#

another question: is there a way show player's balance on an item?

#
    material: GOLD_NUGGET
    slot: 4
    display_name: "&aInformation"
    lore:
      - " "
      - "&eBalance: %player's balance%"```
full kindle
junior cedar
#

yay got it

#

thanks

full kindle
junior cedar
#

now i wonder if i can display the other balances

#

liteeco

#

i don't see it in the placeholder list

#

is there any way to do other Liteeco currencies?

full kindle
#

they seem to be listed on the plugin's page