How can i make the "Welcome.htm" to start from Community Board
I Chance the: final String Welcome_Path = "data/html/welcome.htm"; to > final String Welcome_Path = "data/html/CommunityBoard/index.htm";
but still open HTML Boarn not "the large board (of Community) :S
if (Config.WELCOME_HTM && isValidName(activeChar.getName()))
{
final String Welcome_Path = "data/html/welcome.htm";
final File mainText = new File(Config.DATAPACK_ROOT, Welcome_Path);
if (mainText.exists())
{
final NpcHtmlMessage html = new NpcHtmlMessage(1);
html.setFile(Welcome_Path);
html.replace("%name%", activeChar.getName());
sendPacket(html);
}
}
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
StinkyMadness
How can i make the "Welcome.htm" to start from Community Board
I Chance the: final String Welcome_Path = "data/html/welcome.htm"; to > final String Welcome_Path = "data/html/CommunityBoard/index.htm";
but still open HTML Boarn not "the large board (of Community) :S
2 answers to this question
Recommended Posts