EcoItems icon indicating copy to clipboard operation
EcoItems copied to clipboard

Run_command and Run_player_command dont work

Open iSeitan opened this issue 2 years ago • 1 comments

We tested different item, different command but we cant make it work heres our config

  • id: parapluie baseDamage: 1 baseAttackSpeed: 1 effect:
    • id: run_command args: command: pweather %player% sun triggers:
      • toggle_sneak conditions: [] fuels: [] item: item: iron_pickaxe unbreaking:1 hide_enchants hide_attributes displayName: '&aParapluie' lore:
    • '&fTrès utile pour ne plus voir'
    • '&fLa pluie'
    • ''
    • '&7Rareté: &9Commun' craftable: true recipe:
    • leather:64
    • iron_ingot:64
    • leather:64
    • leather:64
    • iron_ingot:64
    • leather:64
    • ''
    • iron_ingot:64
    • ''

iSeitan avatar Apr 18 '22 02:04 iSeitan

Does work just tested it here is what i used

  effects:
    - id: run_player_command
      args:
        command: "say hello %player%"
        as_op: true
      triggers:
      - alt_click

Sedri05 avatar Jun 09 '22 20:06 Sedri05