# KillReward Plugin Documentation
Discord Support: [Join our Discord Server]( https://discord.gg/8vVWy7j3Sf)
## Features
### 1. Reward on Kill
- **Function**: Awards players for killing enemies
- **Mechanism**: Checks player's rank and grants configured reward amount
- **Configuration**: Uses `earn_on_kill` value from config based on player's rank
- **Notification**: Sends message "You have earned {amount} for killing {player}!"
### 2. Loss on Death
- **Function**: Deducts money when players die
- **Mechanism**: Two options available:
- Fixed amount: Uses `lose_on_death` value
- Percentage-based: Uses `lose_on_death_percentage` of player's current balance
- **Notification**: Sends message "You lost {amount} for dying!"
### 3. Message System
The plugin includes customizable messages for different events:
- `kill_reward`: Displays reward amount after killing
- `death_penalty`: Shows amount lost on death
- `no_permission`: Appears when player lacks command permissions
### 4. Configuration Options
Key settings that can be toggled:
- `enable_earn_on_kill`: Toggle kill rewards
- `enable_lose_on_death`: Toggle death penalties
- `lose_on_death_everywhere`: Control where death penalties apply
## Commands
- `/chaliucore reload` - Reloads the configuration file
## Dependencies
This plugin requires:
- LuckPerms: For rank management
- CMI: For economy features
## Configuration Example
```yaml
settings:
enable_earn_on_kill: true
enable_lose_on_death: true
lose_on_death_everywhere: false
log_transactions: true
ranks:
default:
earn_on_kill: 100
lose_on_death_percentage: 5
vip:
earn_on_kill: 200
lose_on_death_percentage: 3
messages:
kill_reward: "You earned {amount} for killing {player}"
death_penalty: "You lost {amount} for dying!"
no_permission: "You don't have permission to use this command!"
```
## Support
For support, questions, or suggestions, join our [Discord Server]( https://discord.gg/8vVWy7j3Sf)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta