Can anyone please help i can't get the top right messages to work correct. I've tried to restart the plugin and the server still didn't work.
Here is a part of the coding:
Here is a part of the coding:
public static Settings CreateDefault()
{
var settings = new Settings();
var firstTab = new HelpTab
{
ButtonText = "Info",
HeaderText = "Info",
Pages =
{
new HelpTabPage
{
TextLines =
{
"Welcome to Tarnished Island 10x!",
"Enjoy your time here!",
"Join our discord for event info and stuff!",
"The server wipes every 2 weeks on mondays!",
"type <color=red> /info </color> to open this window",
},
ImageSettings =
{
new ImageSettings
{
Position = new Position
{
MinX = 0,
MaxX = 0.5f,
MinY = 0,
MaxY = 0.5f
},
Url = "https://cdn.discordapp.com/attachments/680339773512089641/680858228984512591/Tarnished_Island.png"
},
new ImageSettings
{
Position = new Position
{
MinX = 0.5f,
MaxX = 1f,
MinY = 0,
MaxY = 0.5f
},
Url = ""
},
new ImageSettings
{
Position = new Position
{
MinX = 0,
MaxX = 0.5f,
MinY = 0.5f,
MaxY = 1f
},
Url = ""
},
new ImageSettings
{
Position = new Position
{
MinX = 0.5f,
MaxX = 1f,
MinY = 0.5f,
MaxY = 1f
},
Url = ""
},
}
},
new HelpTabPage
{
TextLines =
{
"",
"",
"",
"",
"",
"",
""
}
}
,
new HelpTabPage
{
TextLines =
{
"",
"",
"",
"",
"",
}
}
}
},
{
ButtonText = "Commands",
HeaderText = "Commands",
Pages =
{
new HelpTabPage
{
TextLines =
{
"/tpr (player or steamID)",
"/home, /home add (home name), /home remove (home name), /home list",
"/kit",
"/outpost",
"/bgrade"
}
}
}
};
var thirdTab = new HelpTab
{
ButtonText = "Rules",
HeaderText = "Rules",
Pages =
{
new HelpTabPage
{
TextLines =
{
"1. Please only English in chat",
"2. No racism or general offensive stuff. It's okay to make jokes but there is a limit",
"3. Don't be way too toxic. We try to keep a friendly player base.",
"4. Absolutely no advertising/advertisement in any way. This will resault in a perm-ban",
"5. No use of glitches to build in places not supposed to be built in or in that way"
}
}
}
};
settings.Tabs.Add(firstTab);
settings.Tabs.Add(secondTab);
settings.Tabs.Add(thirdTab);
return settings;
}
}