Skip to content

Message

Featured Replies

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.

  • Author

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

  • Author

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.