HygienePlus
Version: v1.5
See my Plugin in action!
Hygiene is what Notch forgot to implement in Minecraft!
Hard work makes you perspiring and smell like an old sock if you don't take a bath.
So it's time to care for your body and take a daily shower!
Features:
- A hygiene-bar about your current hygiene-status!
- Take a bath by standing in a with water filled cauldron!
- Take a bath by creating a "[Take a bath]" sign [video]!
- Particles coming out of you, if you're stinking!
- Working hard with the hoe as a "farmer" decreases your hygien-status!
- Butchering all kinds of animals[cows, pigs, etc.] decreases your hygien-status!
- Breaking/placing dirt/grass makes you loose hygiene-points too!
- Shows your hygiene-bar only if its status changed!
- Poison player if he's dirty and doesn't take a bath!
- Fully configurable messages!
- ChatColor-Support!
- Permission-Support!
- Vault-Support
To-do list:
- Waiting for your suggestions!
Commands:
- /hyg - Shows your actual hygiene-status!
Permission:
hygiene.hyg - Permission for the command /hyg
hygiene.bypass - Permission for bypassing the water disappearing
hygiene.createSign - Permission for creating a "[Take a bath]"- sign
Changelog:
v1.5 - added feature to take a bath in normal water [configurable] || optimized code a bit [was one of my first plugins..]
v1.4 - Fixed the invisibility-glitch!
v1.3 - Updated/Compiled with 1.4.7
v1.2 - creating a normal sign without [take a bath] won't throw any permission errors out
- only wall signs are used as bath signs
v1.1 -showing the hygiene bar in chat only if it's status changes!
-poison player if dirty and doesn't take a bath
v1.0 -added Vault-Support (download Vault)
v0.4 -fixed some bugs listed by fazaro below
v0.3 -added configurable chat-prefix
v0.2 -added permission to bypass water disappearing
-fixed the command bug
v0.1: Already implemented a lot functions!
Known bugs:
- None at this time!
- Fixing them as fast as possible, same day!
I'm waiting for your suggestions and ready to implement them as fast as I can!
Sorry, could only add:
Me and another developer [almost pro in java] tested out the features with attracting mobs etc. in different ways.. Sadly it caused HUGE lags and the server [ dual core 2,4ghz 6gb ram, dedicated root server ] crashed immediately. I'm sorry for this and I don't think it'll be possible to add this idea in future.
The file is waiting for approval, you can download it here <==
Implementing 3 features at once, will take another hour:
@Ahmet094
You can add the poison potion to It, but hope You add configurable poison time :3
@fazaro
Could make the the thing with hyg.nosee easily. ATM I have to add the damage-option and the suggestion from portapipe^^
Maybe I'll make it with potions [poison], beceause it's much easier and otherwise I'd have to work with sheduledasyncrepeatingtasks and if for example 5 players are dirty, I don't know how this would affect the RAM-Usage, because I can't stop these tasks and they're working al l the time in the background.
Sorry for my bad english :D
@portapipe
Yes well explained ;) I know, that it would be better, if the bar would only appear if its status changes, but it'd veeery difficult and complex [for me] to make this happen. ATM the bar appears every minute and every 6th minute, because the hygiene bar is decreasing every 6mins 10%. Anyways, I'll try to make this today!
How's with the damage?
@
Can You add that, when player is Admin he doesn't see the Hygiene bar? You can add perms; hyg.nosee
Very cool! Immediately uploaded to my server! The only thing: the messages! It's cool if the Hygiene bar popup only if changed. Example: I have 10 green and I'm creating potions or chatting. I don't need to know every minute that I'm fresh, even 10 minutes. I use the hyg command for that. But when I work I see the Hygiene bar decrease. I've explain it well? Great plugin ;D
@Ahmet094
dont sweat spout... its a beast to get the thing to compile right anyhow....
And I'm sorry guys.. I can't add spout-options. Looked at the code and there are soo many thing I don't know from Spout and it's behaviour. Maybe if you find someone, who has already make spout-plugins, just ask him if he can do this and I'll give him the source code^^
Okay, seem's like you have an ultra-hyper-mega hardcore server? :D I'll add the feature and make it toggleable in the config^^
@Ahmet094
yes hygiene resetting on death is fine i mean come on you died. normally that's a loss of stuff and exp and much much more. i just want to have the infection factor as another thing that can kill them if they don't upkeep their cleanilness if that makes sense
On my server i set it to max diff and 250 mobs per person Also hunger plus plus which makes the hunger bar deplete 3 times faster Adding the Hygiene means they'll have to clean themselves from time to time as well or die
@Q2Lummox
maybe using the achie bar or something like that doesnt use spout would be nice
here is a link to the plugin you can try and pull a part that uses spout http://dev.bukkit.org/server-mods/heroeshud/images/1-heroes-hud-v1-1-standard-hud/
but spout options are nice just not spout dependent
@CoffeeNutz So you mean it's good how it is? => on respawn the hygiene resets
@Ahmet094
the respawn reset would be fine... death is death and ppl on my server hate dying cause of the consequences and i love making my server hard as hell for people to thrive and survive on. This is just one more thing i'd install if it carried my repricussion to the hygiene bar other then you smell bad.
Thanks :) Sadly I don't how to make this possible with spout.. I'm even new at Bukkit, but maybe someone else knows how to make this? I'll search for someone who could maybe do this for you^^
I love this plugin, great idea!.
Only one request .... is possible to create a bar that is always visible (or pressing a key), for use with spout?
Working on player attracting/distracting mobs/animals right now^^
The thingy with the damage should be done fast and will be in the next update too :)
@Ahmet094
works fine now! Thanks!
Still waiting for the damage if the player is dirty
Added Vault-Support. Your server has to have vault now! [download Vault]
It's waiting for approval, download it here till then <==
@ColtonGriswold
Thanks! :D But why wouldn't you use it for a while?