Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.

 

You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here: https://t.co/4A50m6IKen

1 year ago

November 15, 2018, 01:26:16 am

Author Topic: How to get player country / How to change "Has unlocked the achievement"?  (Read 1028 times)

MrQWERTYU

  • Newbie
  • *
  • Posts: 24
    • View Profile
Hi, I have a few questions. How to get the player's region and change the notification of unlocking achievements? For example, move this notification from the chat to the killfeed or simply change the text.

Lord_Farquaad

  • Full Member
  • ***
  • Posts: 216
    • View Profile
You can probably use a player's IP address to determine their country.

As for moving achievements, you can use this event to block them from going to chat and make them appear elsewhere.

MrQWERTYU

  • Newbie
  • *
  • Posts: 24
    • View Profile
It's strange that I could not find this event. In any case, thank you very much!