Karma icon

Karma -----

All-kind Reputation plugin



Code improvement, added custom eventhandlers and new config possibilities
PLEASE UPDATE YOUR CONFIG.YML FILE BEFORE INSTALLING THIS PLUGIN VERSION. CHECK THE WIKI FOR MORE INFORMATIONS

ADDED :
  • Four Custom Events Handlers, useful for devs (Before I did not used them, sorry):
    • `OnPlayerKarmaChangeEvent(Player player, double karma)` [CANCELLABLE]: Happens before the player karma is changed.
    • `OnPlayerKarmaHasChanged(Player player, double karma)` : Happens after the player karma is changed.
    • `OnPlayerTierChangeEvent(Player player, Tier tier)`: Before the player tier changes
    • `OnPlayerTierHasChanged(Player player, Tier tier)` : Happens after ther player tier is changed.
  • Commands on overtime system for decrease and increase.
    • `overtime.values.decrease/increase.commands`
  • Commands on kills between tiers that launch if a player with tier X kills another player with a tier that has X in the killed-commands list. It is possible to use both attacker and victim placeholders
    • Example:
      • `tiers.list.tier1.commands.killed-commands.tier2` will send commands when a tier2 kills a tier1
      • `tiers.list.tier3.commands.killed-commands.tier1` will send commands when a tier1 kills a tier3
CHANGES :
  • Every commands in tiers are now under `tiers.list.[tier].commands` section
  • `tiers.list.[tier].commands.killed-commands` in config.yml is now a section.
  • `tiers.list.[tier].commands.killed-commands.commands` in config.yml is now the command list for when a player dies in this tier.
FIXES :
  • World time system that wasn't working properly

P reviously, my versions numbers weren't really useful. From this version, I want to make my code better, by providing an API to developpers. This will be avaiable soon.

X.Y.Z versions number will be:

X - Complete rewrite of the code, even if the config.yml doesn't need to be updated.
Y - Added or highly changed an entire feature. It can need an update in the config.yml
Z - Only for code optimizations, fixes or some little changes without impact on the config.yml
----------, Aug 28, 2021
Resource Information
Author:
----------
Total Downloads: 4,889
First Release: Mar 15, 2020
Last Update: Nov 9, 2024
Category: ---------------
All-Time Rating:
7 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings