Maxlego08 / zMenu

A plugin that will allow the creation of menu for minecraft, has a complete API for developers
GNU General Public License v3.0
58 stars 10 forks source link

[Suggestion] Add "delay" for the buttons actions #25

Closed NoltoxGit closed 11 months ago

NoltoxGit commented 11 months ago

Hello, Would it be possible to add a new type of action to the buttons: delay please?

For example :

          success:
          - type: delay
            delay: 0.1      #Delay in seconds, so for this example is 0.1 seconds
          - type: console_command
            commands:
            - "quests:quests admin opengui category %player% codex-abeille"
Maxlego08 commented 11 months ago

Already avaible: https://docs.zmenu.dev/v/fr/configurations/boutons/action