Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Items #102

Open
m4kii420 opened this issue Jul 4, 2022 · 2 comments
Open

Custom Items #102

m4kii420 opened this issue Jul 4, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@m4kii420
Copy link

m4kii420 commented Jul 4, 2022

sf.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: []

@m4kii420 m4kii420 added the enhancement New feature or request label Jul 4, 2022
@Islati
Copy link

Islati commented Jul 4, 2022

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
Copy link

Scrulius commented Jul 5, 2022

rlly cool!

Auxilor take a look 👌👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants