The /custompopup command will let you create a server-like custom popup in the view point of the target that you specified.
Here are the parameters of the /custompopup command:
/custompopup <target selector> <uiRectHeight> <uiRectWidth> <title> <text> <json>
The <target selector> tag can be @p,@r,@a,@e,or @s.This chooses the target you want to Show the popup to.
The <uiRectHeight> tag describes the Height of the popup in pixels (from 600px to 5000px) that you want to display to the target that you chose.
The <uiRectWidth> tag describes the width of the popup in pixels (from 3000px to 7000px) that you want to display to the target that you chose.
the <title> tag specifies the title (which appears at the top of the popup) of the popup.(Replaces all underscores with spaces)
The <text> tag specifies the line of text at the Dialog Box of the popup.(Text can be squished if too long to fit in 1 line)
The <json> tag specifies any buttons with text in the popup.
Here is a sample of a /custompopup command:
/custompopup @a[tag=ChoseGameList] 4500 5000 Server_Games "Try These out!" {{"Button1":"Bedwars",onclickevent:"/tp @s 450 839 -90"}}
This Will Create a popup With Title "Server Games" (the underscores have been replaced by spaces) with text "Try These Out!".There Will be 1 button as specified in the json code.One of them will be named "Bedwars" and if you click on the button,you will get teleported to 450 839 -90.
Please Vote for this feature!
Please sign in to leave a comment.
1 Comments