KitsuneLab-Development / K4-System

K4-Systems is a plugin that enhances the server with features such as a playtime tracker, statistical records, and player ranks. Additionally, it includes VIP functions and admin commands for added functionality.
GNU General Public License v3.0
104 stars 35 forks source link

[ENHANCEMENT] How to post victim points in chat? #202

Open Magic8Ballin opened 1 month ago

Magic8Ballin commented 1 month ago

Using the points system, is there a way to post the victim's points in chat?

In the lang file I haven't found a way to insert the vicitim's points when a player gets a kill.

Example:

+1 Point you killed John [1,281]

How would I setup the lang file to grab John's points?

K4ryuu commented 1 month ago

Greetings, You cannot achieve that by just modifying the localisation itself. It needs the code to be changed in one line at rank module's player death event.