Open Patosalvaje1212 opened 3 years ago
"connect":
{
"text" : "options.language",
"texture" : "your texture",
"posX" : 97,
"posY" : 50,
"width" : 196,
"height" : 20,
imageWidth : 100,
imageHeight : 50,
"alignment" : "left_center",
"action" :
{
"type" : "ip",
"ip" : "your ip"
}
},
"connect":
{
"text" : "Connect to Server",
"texture" : "your texture",
"posX" : 97,
"posY" : 50,
"width" : 196,
"height" : 20,
imageWidth : 100,
imageHeight : 50,
"alignment" : "left_center",
"action" :
{
"type" : "connectToServer",
"ip" : "your ip"
}
},
I'm making a modpack for a server, and I want to add a button to connects you to the server directly.