Skip to content

Help Adapte the code

Featured Replies

Hi guys, I am a beginner in java and I am having problems adapting this code to aCis

below a demo with colors that I want to make equal.

Grateful for the attention.

 

http://i.imgur.com/HKu0Q3t.jpg

 

http://pastebin.com/rUATUF3m

unknown.png

Edited by MadaraWTF

  • MadaraWTF changed the title to Help Adapte the code
  • Author
On 6/5/2022 at 1:08 PM, haskovo said:

 

 

Yes, I saw that but I mean in the matter of changing the default color to new colors.
 

 

+                    if(Config.ENABLE_ENCHANT_ANNOUNCE && Config.ENCHANT_ANNOUNCE_LEVEL <= item.getEnchantLevel())
+                        Broadcast.announceToOnlinePlayers("Congratulations to " + activeChar.getName() + "! Your " + item.getItemName() + " has been successfully enchanted to +" + nextEnchantLevel);

unknown.png.b11846163674b83c37f616d23f86b443.png

Edited by MadaraWTF

If you want to change the color of the message in chat or the color of the weapon, it's client side and not server side. Check Env.int and Systemmsg-e.dat.

Create an account or sign in to comment

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.