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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock