bCombatLog
Features
- When a player combat logs, their items are dropped on the ground and they are sentenced to death their next login.
- Make a certain command, or all commands unusable while a player is in combat.
- Configurable commands for previous feature.
- No permissions necessary.
Permissions
- bcombatlog.ignore - Make a player ignored by the plugin.
How it works
Each time a player is harmed by a player, or a player's arrow, they are 'tagged'. When a player is tagged, they remain tagged for atleast 7 seconds (configurable). If they are hit again, the time is renewed. If the 7 seconds expires, and the player is not still online, they are considered to have combat logged. When a player combat logs, their items are dropped where they log out, and their username is sent to the config. The config is then saved and the next time they log in, it checks the config to see if they have combat logged, and then it clears their inventory (Seeing how it was already dropped), and kills them. Their name is then removed from the list.
Todo
- Improve RAM usage.