how to pass parameters to another inventory bukkit

Discussion in 'Plugin Development' started by IgorFR, Feb 27, 2024.

  1. Offline

    IgorFR

    When clicking on one of the 10 items in the inventory, I want to open a second inventory for confirmation. In this second inventory, I would like to receive the ID of the previously selected item.

    I wanted to find a way for the player not to see this parameter that was passed
     
  2. Offline

    KarimAKL

    @IgorFR Are you developing a plugin?
     
  3. Offline

    IgorFR

    Yes
     
  4. Offline

    KarimAKL

    @IgorFR You could map an id to each item or slot as well as a confirmation inventory, then open the corresponding confirmation inventory for that item or slot when clicking on it.
     
  5. Offline

    lecreep

Share This Page