LethalSnow
LethalSnow
This plugin makes snowballs do a configurable amount of damage.
- Let your snowmen help you fight! Or have a slightly more painful snowball fight with your friends.
- Add a tiny bit of realism to your server, making snow biomes require the player to eat more to sustain themselves.
- IMHO, snowmen should drop pumpkin seeds when they die.
Each of these are optional, and configurable.
Current version
- 0.54
- If you don't see a link to the current version on the right side of the page, the file is awaiting approval.
- built using bukkit-1.3.1-R1.0
Features
- Set snowballs minimum and maximum damage.
- Allow snowballs to damage players or mobs... or both.
- Configurable chance that snowballs will do damage at all.
- Option in the config file to set the maximum amount of pumpkin seeds dropped on snowman death.
- Option in the config file for increasing the exhaustion rate in snow biomes.
Commands
- /lsnow [min/max] [number]- to set the damage a snowball deals.
- /lsnow chance [number]- to set the chance (0-100) that a snowball will do damage.
- /lsnow seeds [number]-Max amount of seeds for snowmen to drop on death.
- /lsnow reload - reloads the config file.
- /lsnow biome- tells you what biome you are standing in.
- /lsnow damagePlayers true/false - Whether or not snowballs hurt Players.
- /lsnow damageMobs true/false - Whether or not snowballs hurt Mobs.
- /lsnow ex [number] - The exhaustion multiplier for snow biomes. Set to 0 to disable.
Permission
- lethalsnow.use - to allow usage of the command
- lethalsnow.exhaustion.exempt - Anyone with this node will not be included in exhaustion calculations.
config.yml
SnowBall: DamageMin: 1 #minimum damage snowballs will do. DamageMax: 10 #max damage snowballs will do. DamageChance: 100 #The chance that the snowball will do damage. 100 = 100% 0 = 0% etc. DamagePlayer: false #if its ok for snowballs to damage players DamageMobs: true #if its ok for snowballs to damage mobs SnowMan: MaxSeedDrop: 2 #Maximum seeds that will be dropped by snowmen on death. Set to 0 to disable. SnowBiome: ExhaustionMultiplier: 1 #The higher this number the faster players will become exhausted (and then hungry) in snow biomes. Set it to 0 to disable this. System: DebugMessages: false # - Warning! Enabling debug will spam your console and your players. Version: '#' # Version for the plugin to use, for updating this file.
@Bj101
That sounds like an interesting idea. At the moment I'm not sure how to do that aside from using a playerMove listener/event (which fires like a billion times a second) and checking the weather for the players position... then??/ not sure. I will revisit this idea when I have become more familiar with the bukkit plugin api. If possible, I'd like to do it in a way that doesn't require the server to run checks with such a high frequency.
I need that mod i cant find one
You should make it so when it snowes and rains it hurts