#Synchronize the menus

1 messages · Page 1 of 1 (latest)

queen osprey
#

That the menu of all players updates when there is a change of priority (in this case with a click on a lock), even when someone else has opened the menu.
Everyone has the same menu in front of them and it updates for everyone

The menu works as follows: there are switches that have an on and off function. When this switch is clicked it will change to a different priority (on or off) and this change should be visible to everyone. In other words, the switch applies to everyone and can be switched on or off. The on and off function must be remembered for the other people so that the on and off function is the same for everyone.

proven saffron
#

alright so do you have a basic menu configuration already made?

#

do you want any action to be executed when the item (or switch) is clicked?

queen osprey
#

I have a menu with a button that can be switched on and off (whereby on and off an action is performed). Only I want when the switch is pressed to be adjusted for everyone, not just the person pressing the button.

proven saffron
#

though, you cant update the item in the menu for everyone

#

but you can update its lore

#

and display name

queen osprey
#

Currently the priority changes when clicking on the switch. But can I make this change visible to everyone in their menu, as if everyone is in one menu.

proven saffron
#

do you have different items set for switch on and off conditions?

#

what i know is you cant update the items in the menu unless the player closes or clicks on certain item in the menu