1. Reward on Kill: - Function: When a player kills an enemy, the plugin awards a reward based on the configured rank settings.
- How It Works: The plugin checks the player's rank (e.g., `default`, `vip`, `elite`) and grants the amount specified under `earn_on_kill` in the configuration.
- Message: Sends a message to the player stating "You have earned {amount} for killing {player}!"
2. Loss on Death: - Function: When a player dies, the plugin deducts an amount from the player’s balance based on their rank.
- How It Works: The plugin checks the player's rank and deducts the amount specified under `lose_on_death` from the player's balance.
- Message: Sends a message to the player stating "You lost {amount} for dying!"
3. Message Management: - Function: The plugin sends appropriate messages based on the situation (killing enemies or dying).
- Messages:
- `kill_reward` shows the reward received
- `death_penalty` shows the loss incurred from dying
- `no_permission` shows when the player does not have permission to use the command
4. Configuration Settings: - Function: Allows enabling or disabling the reward and loss features as needed.
- How It Works:
- `enable_earn_on_kill` controls whether rewards for killing enemies are enabled
- `enable_lose_on_death` controls whether losses from dying are enabled
**Note:** This plugin requires the LuckPerms and CMI plugins to function correctly, as it relies on LuckPerms for handling player ranks and CMI for additional features.