Auxilor / EcoSkills

A skills plugin for minecraft, built for the latest version
GNU General Public License v3.0
116 stars 61 forks source link

Custom Items #102

Open m4kii420 opened 2 years ago

m4kii420 commented 2 years ago

https://user-images.githubusercontent.com/85348361/177104246-8bddef7e-e51f-4cfd-9971-9a73e2e69743.mp4

Can you make it possible to add custom items in the gui so I can connect skills menu with other GUIs like so. Every other plugin has that option, even the free ones.

custom-items:
  example:
    item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzAyN2UyYTNjNGJjNzU2MzgwNWVmOGNlMmEyZjczYzRiODMwNjNlZTRhMzNmMmQwY2U2ZDM5ZDc5YTg4ZmRiYSJ9fX0='
      name: example
      lore:
        - "&7Custom items are very needed"
        - "&7for new plugin generations."
      enchanted: true 
      location:
        column: 5
        row: 6
      left-click-command:
        - dmenu open main_menu (example)
      left-click-command: []
      middle-click-command: []
      left-click-console-command: []
Islati commented 2 years ago

Would be very awesome.

Dev Notes There's a slight delay when switching from one menu to another, so the current inventory view must be closed for the player. I found opening the menu 1 tick after our previous view is closed to be best.

Scrulius commented 2 years ago

rlly cool!

Auxilor take a look 👌👌