Jump to content
  • 0

Global chat and Welcome message


Question

Posted

Hello there, as the title says, im looking for a global chat "fix" and by fix, i mean to make it functional again because it does not work, either with pvp limit or not. The pack is frozen. Plus, i was wondering if i can edit/add a "welcome message" when a character enters the game like the photo below. If anyone can help me i would be grateful.

 

"Welcome message photo https://imgur.com/a/bCjNeLe 

 

Thanks in advance.

3 answers to this question

Recommended Posts

  • 0
Posted

On CharacterCreate.java 

search for void initNewChar

inside this method you will add smth like

newChar.setTitle("Welcome to xxx");

now if you also want to throw an announcement when a new player logs you will add

Announcements.getInstance().announceToAll(newChar.getName() + "has created his first character, say hello");

 

  • 0
Posted
11 minutes ago, Zake said:

on EnterWorld.java send an ExShowScreenMessage packet to the player 

Indeed. Thanks a lot!

Guest
This topic is now closed to further replies.


×
×
  • Create New...