Jump to content
  • 0

Message


Question

Posted

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.

4 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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 :)

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..