Hello, everyone. What I would want someone to do is the following:
A plugin that lets the player asign numbers to items (if possible limit what kind of items will have this function). This should function by pressing a number key while selecting the items or by pressing the ok key while the item is highlighted and then select "assign" command or something like that and then press the number key. Then, when outside the menus, a hotbar would appear showing the numbers and their corresponding items (something like the one in the pic). If the player presses, let's say the number 1, then that item would be selected. There should also be a way for a conditional branch to know if certain item is being selected.
I think this could be useful for making a variery of games or for implementing many interesting mechanics. Hope someone could do it. Thanks for reading!!!
PS: Just in case, I'm not asking for a way to use items directly from the hotbar. I just want people to use the hotbar kinda like the "select item" function so events can check what item is being selected without the need to enter the "select item" menu.
A plugin that lets the player asign numbers to items (if possible limit what kind of items will have this function). This should function by pressing a number key while selecting the items or by pressing the ok key while the item is highlighted and then select "assign" command or something like that and then press the number key. Then, when outside the menus, a hotbar would appear showing the numbers and their corresponding items (something like the one in the pic). If the player presses, let's say the number 1, then that item would be selected. There should also be a way for a conditional branch to know if certain item is being selected.
I think this could be useful for making a variery of games or for implementing many interesting mechanics. Hope someone could do it. Thanks for reading!!!
PS: Just in case, I'm not asking for a way to use items directly from the hotbar. I just want people to use the hotbar kinda like the "select item" function so events can check what item is being selected without the need to enter the "select item" menu.