Added compatibility with new mobs (wardens, allays, axolotles, bees, piglins, brute_piglins and zombified_piglins).
This is possible thanks to the refactor of the plugin in the last plugin's version, because the plugin natively uses 1.8, but the new mobkills system management that i've used makes it possible to detect newer version mobs even with the 1.8 jar.
This update doesn't actually add any features, it's just that i've refactorized
ALMOST the whole plugin code so now it's a lot better than before, so, i'm not sure, but probably it comes with a performance improvement.
ADDED: - A new reward system that allows you to add multiple commands for each kill! Now you can make various commands run when a player reaches a specific number of kills on a mob!
IMPORTANT NOTE If you have updated the plugin from version 1.x to 2.0, and you have some rewards configured, you will have to modify the config so that the rewards you had are adapted to the new format. All you have to do is, next to each reward number, make a line break and add a "-" and a space. And so it would be with each reward.
Example:
Before:
Rewards: villagers: 10: tell% player% & cYou killed 10 villagers!
ADDED - Added config colors to MobKillsList join message.
Apart from that, I have also recoded the plugin. Since the structure of the plugin is made a long time ago, and at that time I knew much less about programming. So I decided to recode the plugin with the knowledge that I have been acquiring. It may not be the best code that exists to make a plugin of this style, but I assure you that the current code of the plugin is MUCH better than before, and without any special changes! Recode does not affect any of the above features, in fact, recode has greatly improved the performance of the plugin! For any bug reports, contact me in Discord / Twitter.
Added - Added configuration colors format to the MobKillsList to the Send-MobKills-On-Join message.
Apart from that, I have also recoded the plugin. Since the structure of the plugin is made a long time ago, and at that time I knew much less about programming. So I decided to recode the plugin with the knowledge that I have been acquiring. It may not be the best code that exists to make a plugin of this style, but I assure you that the current code of the plugin is MUCH better than before, and without any special changes! Recode does not affect any of the above features, in fact, recode has greatly improved the performance of the plugin!
For any bug reports, tell me in my Discord / Twitter! Thanks!
Added: - New option in the config (Send-Messages-instanceof-Commands) to send messages instance of commands if a command reward is /msg or /tell. This is because some plugins like ChatManager blocks the sending of messages with /msg or /tell with console. With this option also you can add colors to the messages. - NEW PLACEHOLDERS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! More info in plugin description. - New commands like /mkc placeholders. Or /mkc page (to see the link of the plugin page and get info about it). Fixed: Nothing because idk about any bug in my plugin . (Any bug report me in my Twitter or Discord).
ADDED Added an option to send a player's mobkills when he enters the server (you can activate it in the config by setting the "SendMobkills-On-Join" path to true (by default it is true)).
Added option to send Op's and players with the "mkc.updatecheck" permission a message if there is a new plugin update every time they enter the server.
ADDED AN ARGUMENT TO THE /MOBKILLS COMMAND (/mobkills <player>) TO BE ABLE TO SEE THE KILLS OF ANOTHER SPECIFIC PLAYER. (ALSO WORKS WITH OFFLINE PLAYERS).