Jump to content

Question

Posted (edited)

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

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
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
  • 0
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...