LogoutPenalty

LogoutPenalty

658 Downloads

Overview

For survival servers: This is a small plugin to discourage players from abusing logging out and logging back in to avoid dying. Each time a player logs in, a set amount of health, stamina, exhaustion, and saturation will be deducted from the amount they had upon the previous log out If a player logs out with less than a set amount of health, health will be set to zero and the player will die upon log in.

Features

- Server admins can configure how much health, stamina, exhaustion, and saturation a player will be penalized for logging out.

Permissions

No permissions. Will possibly add in future updates.

Configuration

#The amount of exhaustion the player will gain upon login.  Values are from 0 to 4
#with 4 being equal to -1 food level (if there's no saturation).
exhaustion-level: 4

#The amount of food/stamina the player will lose upon login.  Values are from 0 to 20.
food-level: 2

#The amount of health the player will lose upon login.  Values are from 0 to 20.
#Note that reaching 0 health will cause instant death upon login.
health-level: 2

#The amount of saturation the player will lose upon login.  Values are from 0 to 20.
saturation-level: 20

Current Version

3/02/13 Version 1.1
- Admins can now configure exhaustion and saturation, as well as health and stamina.