Jump to content
  • 0

Message


emylus

Question

Hello,

I`ve see on a server some white and green message of on the center of the game or in right side ( like Shutdown count )

Who knows how can i make it such announcemnts or from what pack they are ?

Thx.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hahha nice post

i don`t need how to write a announcent :|

Btw i`ve find what i want but now i don`t know how to change the text :)

ex

SystemMessage sm = new SystemMessage(SystemMessageId.THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS);

sm.addString(Integer.toString(_seconds));

Announcements.getInstance().announceToAll(sm);

 

This message will post the 1 THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS ( data/lang )

When THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS will be executed my `magic` text will apear

 

Like in this image :

textzl3.th.jpg

 

Now my question how can i change that white text ?  :o I think is from the system but don`t know where

Link to comment
Share on other sites

  • 0

yep here it is  ;D

 

1 1 The server will be coming down in $s1 second(s).  Please find a safe place to log out. 2 B09B79 8 0 3 1 0 Exit Game: $s1 second(s) server

 

I will post a tutorial soon with a new type of announcemnts :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...