#How to add a button to the Pause Screen that triggers a ActionFormData to be opened?

1 messages · Page 1 of 1 (latest)

torpid rampart
#

I've been going through all the tutorials and haven't find this yet and wondering if UI is just too locked down to do any server side event processing.

I want to add a button to the pause screen that will open a ActionFormData for the user so they can perform some administration on the backend. Thus far I haven't found anything on how to do that.

craggy ledge
#

it's not possible.

#

everything you can do is custom screen that won't be dynamic?

#

I mean everything inside this screen will be static, you won't be able to edit it by server, especially custom forms

torpid rampart
#

I don't need the server to edit the screen. I'm more looking to create a way for a button in a JSON UI to trigger something serverside. ActionFormData is the new serverside UI

#

I'm coming from spigot / java

craggy ledge
torpid rampart
#

and we create custom commands like /admin set to send things serverside

#

I thought bedrock was better at allowing custom GUI's to do that

#

All I really need is a way for a Player to send an event to the server and I can handle it from there

#

I was hoping it would be a GUI but if there's another way

#

That's not some hackish form of item hit dtection

#

I've looked on YT and all I see are things describing to use a carrot on the stick and such

craggy ledge
#

or by command, item event etc. basically everything based on serverside

torpid rampart
#

I guess a command will be needed

#

That's the way it works on Java

#

I don't think item event will work

clear light
#

It's posible. I found an addon where add a custom button to the pause menu, but I don't understand the codde that the autor use. He use an Unicode text (decoded it says things which I assume are the position and texture of the button) followed to a large text of random letters, finishing with an true or false.

#

the important is the random letters that I think dictate the function of the button, but I can't decipher them, if someone knows what I'm talking about, we could collaborate to understand how the addon is made