
LogoutPenalty
Discourages players from abusing logging out and logging back in to avoid dying.
- 941
- October 31, 2011

LogoutPenalty
Discourages players from abusing logging out and logging back in to avoid dying.
- 941
- October 31, 2011
Overview
A must-have for survival servers: The current hunger system has it so that a player does not lose stamina while standing still. This is a small plugin that decreases the player's stamina level at a constant rate, even while standing, and is compatible with the current stamina system. For example, if a player is sprinting, s/he will lose stamina from sprinting as well as from the StaminaDrain plugin. The reason for this plugin is to increase the difficulty on server, as well as to put a greater strain on the food supply.
Configuration
drain-rate: The rate at which stamina is drained in seconds.
water-benefit: The amount of saturation a player will regain after drinking water from a water bottle.
exhaustion-enabled: Whether or not the following exhaustion modifiers will take effect.
walking-exhaustion: The amount of exhaustion a player gains while walking.
sneaking-exhaustion: The amount of exhaustion a player gains while sneaking.
sprinting-exhaustion: The amount of exhaustion a player gains while sprinting.
swimming-exhaustion The amount of exhaustion a player gains while swimming.
jumpng-exhaustion: The amount of exhaustion a player gains while jumping.
sprintjump-exhaustion: The amount of exhaustion a player gains while sprinting and jumping simultaneously.
breakblock-exhaustion: The amount of exhaustion a player gains when they break a block.
attack-exhaustion: The amount of exhaustion a player gains when they attack an enemy.
damage-exhaustion: The amount of exhaustion a player gains when they receive damage.
Note that the exhaustion modifiers are in ADDITION to Minecraft's default exhaustion system. Therefore, if you set walking-exhaustion to 0.01, the result in game will be 0.02 exhaustion gained per meter of walking (default = 0.01).
Example config:
#Customize the rate at which stamina is drained in seconds. #Example: # #drain-rate: 120 # #This will make it so a player loses .5 stamina (food level) every 2 minutes. #Default is set at 2 minutes. Set drain-rate to 0 if you wish to disable stamina draining. drain-rate: 120 #Customize the amount of saturation a player will receive when drinking water. #Example: # #water-benefit: 10 # #This will allow the player to regain 10 saturation when they drink water from a water bottle. #Set water-benefit to 0 if you wish to disable this effect. water-benefit: 10 #Customize the amount of exhaustion a player accumulates while performing actions. #These values are in ADDITION to the Minecraft default values. For example, walking normally takes 0.01 exhaustion per meter. #If walking-exhaustion is set to 0.01, the new exhaustion level for walking will be 0.02 per meter. #To turn off individual modifiers, either set them to 0 or delete the line. #To toggle all the exhaustion modifiers at once, set exhaustion-enabed to true or false. #If exhaustion-enabled is false, none of the exhaustion modifiers will take effect. #Example: # #exhaustion-enabled: false #walking-exhaustion: 0.01 #sneaking-exhaustion: 0.01 #sprinting-exhaustion: 0.1 #swimming-exhaustion: 0.015 #jumping-exhaustion: 0.2 #sprintjump-exhaustion:0.8 #breakblock-exhaustion: 0.025 #attack-exhaustion: 0.3 #damage-exhaustion: 0.3 # #This will make every action take twice the amount of the normal exhaustion. #For more information on exhaustion levels, see http://www.minecraftwiki.net/wiki/Hunger#Exhaustion_level_increase exhaustion-enabled: true walking-exhaustion: 0.01 sneaking-exhaustion: 0.01 sprinting-exhaustion: 0.1 swimming-exhaustion: 0.015 jumping-exhaustion: 0.2 sprintjump-exhaustion: 0.8 breakblock-exhaustion: 0.025 attack-exhaustion: 0.3 damage-exhaustion: 0.3
Current Version
3/10/13 Version 1.4
- Drinking water from water bottles restores a configurable amount of saturation.
- Added configurable modifiers for exhaustion levels for walking (per meter), sneaking (per meter), sprinting (per meter), swimming (per meter), jumping, sprint-jumping, breaking blocks, attacking enemies, and receiving damage.
Discourages players from abusing logging out and logging back in to avoid dying.
Discourages players from abusing logging out and logging back in to avoid dying.