ItemJoin

ItemJoin

157k Downloads

HELP

ImSmoch opened this issue ยท 3 comments

commented

How can I make the item change by left-clicking so that the text changes and the command to be executed changes as shown in the following images?

I used ItemJoin v5.2.5-RELEASE-b850

Spigot 1.8.8

2023-04-01_10 31 25

2023-04-01_10 31 29

2023-04-01_10 31 30

commented

As per the wiki the swap-item command feature will do this.
Example;

  example-1:
    id: DIAMOND_SWORD
    interact:
      - 'console: say command1'
      - 'console: say command2'
      - 'swap-item: example-2'
    enabled-worlds: world
  example-2:
    id: STONE_SWORD
    interact:
      - 'console: say command3'
      - 'console: say command4'
      - 'swap-item: example-1'
    enabled-worlds: world
commented

How can I make it so that only the left-click changes the item and the right-click opens the menu? I'm getting this error as shown in the video.

https://imgur.com/a/qGhAFhO

commented

As per the wiki; https://github.com/RockinChaos/ItemJoin/wiki/Creating-Items#establishing-itemcommands

interact-left for left
and interact-right for right.